Clicking time with alpha-numeric symbols (sen> function)

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Josellis
Newbie
Posts: 1
Joined: Tue May 30, 2006 10:02 am

Clicking time with alpha-numeric symbols (sen> function)

Post by Josellis » Tue May 30, 2006 10:14 am

Hello everyone, I developpe macros for video games, and would like to know how can I make my macro press the key "A", or any other aloha-numerical letters, for a certain amount of time ?

I tried that, and the game doesn't record it:

Code: Select all

...
wait>.1
sen>a
...
I also tried that, and the game doesn't record it:

Code: Select all

...
wait>.1
sen>aaaaaaaaaaaaaaaaaaaaaa
...
and the last thing I tried is :

I also tried that, and the game doesn't record it:

Code: Select all

...
wait>.1
sen>a
wait>.1
sen>a
wait>.1
sen>a
wait>.1
sen>a
wait>.1
sen>a
wait>.1
sen>a
...
Finally, the last thing I tried (which also doesn't work):

Code: Select all

...
Let>SK_DELAY=500
wait>.1
sen>aaaaaaaaaaaaaaaaaaaa
...



What would be the best for me is to have both function "Sen>whatever the text is" and "press A" with "release A"




Thank you for taking this into consideration

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

Post by Marcus Tettmar » Tue May 30, 2006 11:24 am

Search this forum for "KeybdEvent" You will find a couple of posts with examples of how to press a key using this low level message, and release it, allowing you to press, wait, release.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

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