Asked — Edited
Resolved Resolved by VGosine!

Script Help - Give Key Control Foreground

I have a "Key Control" in my project to provide shortcuts to numerous actions and scripts. Upon connection, I would like to give the "Key Control" focus so that I can control the robot from a BT keyboard without necessarily seeing the computer or using a mouse to select the control the first time.

I thought adding this line to my init script would do what I want:

ControlCommand("Key Control",ShowControl)

but it displays an error in the debug window and doesn't perform the requested action:

"11/29/2014 11:13 AM - Error on line 1: Unknown Window Control Command: ShowControl"

Am I missing something? Is there another way to do this>

Alan


ARC Pro

Upgrade to ARC Pro

ARC Pro is your gateway to a community of like-minded robot enthusiasts and professionals, all united by a passion for advanced robot programming.

#9  

Keep up the good work Alan. AHK is one thing I want to use soon. Thanks for the ground breaking. :)