Press/Send not working?

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Korsare

Press/Send not working?

Post by Korsare » Sun May 25, 2003 11:03 am

I'm trying to use Macro Scheduler to repeat pressing "/" in an online game that I play. It sends the "/" key fine if you have the chat box open, but as far as the hotkey goes, it doesn't work. Does anyone know how to get the key to press as a hotkey, and not as just text?

Lumumba

Post by Lumumba » Mon May 26, 2003 1:09 pm

As long as a "hotkey" is the equivalent to a keyboard shortcut you've to use an additional key (standard would be "ALT" or "CTRL").
Therefore,

Code: Select all

Press ALT
Send>/
Release ALT

or

Press CTRL
Send>/
Release CTRL
should work.
This sample script should handover the character "/" 10 times,

Code: Select all

Let>numchar=10
Let>lc=0

Label>Loop
Add>lc,1
If>lc>%numchar%,End
Press ALT
Send>/
Release ALT
Goto>Loop

Label>End
Message>Done

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