You can try running this script.
macroScript StartVantageLink
category:"Corona 12 Update 1 Vantage Live Link"
buttonText:"Start VLink"
toolTip:"Start Corona Vantage Live Link"
(
on execute do (
Corona.CoronaFp.vantageLiveLink()
messageBox "Vantage Live Link Started" title:"Corona Vantage"
)
)
macroScript StopVantageLink
category:"Corona 12 Update 1 Vantage Live Link"
buttonText:"Stop VLink"
toolTip:"Stop Corona Vantage Live Link"
(
on execute do (
Corona.CoronaFp.vantageLiveLink()
messageBox "Vantage Live Link Stopped" title:"Corona Vantage"
)
)
fn printMessages = (
print "Corona Vantage macroscripts created successfully!"
print "To add buttons to interface:"
print "1. Right-click on any toolbar/ribbon"
print "2. Choose 'Customize'"
print "3. In Category dropdown, select 'Corona 12 Update 1 Vantage Live Link'"
print "4. Drag StartVantageLink and StopVantageLink to desired toolbar location"
)
printMessages()
Here's how to use it:
1. Run the above script in MAXScript editor (press F11)
2. Paste the script and click the Execute button (or press Ctrl+E)
Now to add the buttons to your interface:
1. Right-click on any toolbar in 3ds Max
2. Click "Customize"
3. In the dropdown menu labeled "Categories", scroll down and select "Corona 12 Update 1 Vantage Live Link"
4. You'll see two new buttons: "Start Corona Vantage Live Link" and "Stop Corona Vantage Live Link"
Just drag these buttons onto any toolbar you want
I hope this helps.