Text Overlay icon Text Overlay — Overlay a variable on a processed camera image at X/Y coordinates; name the variable and attach to a specific or any available camera Try it →
Asked — Edited
1 Participant
Key Control Not Cueing Scripts

Key Control Not Cueing Scripts

when you type

controlcommand(scriptstart, "left")

it comes up with an error in the debug. when i type

controlcommand("left", scriptstart)

it doesnt do anything. and the quotation marks mess up, when i tried

controlcommand("left", scriptstart, "left")

still nothing.

has the script cue changed?


ARC Pro

Upgrade to ARC Pro

Stay at the forefront of robot programming innovation with ARC Pro, ensuring your robot is always equipped with the latest advancements.

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#1  

Use the click & paste option. Click on Cheat Sheet in the script dialogue and click one of the available options below and it pastes it in for you.

The syntax is

Quote:

ContolCommand(WindowName, ControlCommandParameter, [value])

User-inserted image

You must have a script named "Left" for that to work.

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#2  

A quick video example of click & paste and that ControlCommand works just fine...

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#4  

What's the error? It will tell you where the error in the script is and why its an error.