How to send arrow key message to a window

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
Kant

How to send arrow key message to a window

Post by Kant » Wed Dec 11, 2002 10:40 am

Hi,

I would like know how to send a arrow key to a window. I have no idea to do that since the send/ascii command just send string or ascii code.

Thanks,

- Kant.

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Dec 11, 2002 11:11 am

Hi,

What do you mean by 'Arrow Key'. Do you mean the cursor keys? If so, one of the following is what you want:

Press Right
Press Left
Press Up
Press Down

See the 'Press' command in the help file/command reference.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Kant

Thanks a lot

Post by Kant » Wed Dec 11, 2002 11:36 am

Hi mtettmar,

Thanks for the quick response. The 'press' command really work.
Thanks again.
:D

- Kant.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts