Press Right *10 DOES NOT RESPECT SK_DELAY TIMING

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
adroege
Automation Wizard
Posts: 438
Joined: Tue Dec 07, 2004 7:39 pm

Press Right *10 DOES NOT RESPECT SK_DELAY TIMING

Post by adroege » Thu May 26, 2005 7:15 pm

I have noticed that when using the asterisk(*) to indicate a particular key press should be repeated, that the repeated keystrokes do NOT obey the SK_DELAY variable for timing. In my example I would expect the right arrow key to get pressed only once per second, for a total of 10 times. But it instead fires off the keystrokes almost instantaneously.

I believe this to be bug. (Or is this a feature for a reason I don't understand?)

Note: I am well aware of using SK_DELAY in combination with the Send> command. I am specifically addressing the "Press" commands in this issue.



Let>SK_DELAY=1000
SetFocus>Untitled - Notepad*
Press Right *10

miles.williams
Newbie
Posts: 14
Joined: Fri May 13, 2005 8:51 am

Just an idea.

Post by miles.williams » Fri Jun 03, 2005 6:14 pm

looks like you are trying to get text from a file ? If so whynot get MS to read specific characters from the file, saving your computer from opening notepad and moving etc...

I noticed what you are talking about when trying to slow a macro down to allow other apps to keep up, I just put "presses" in multiples of 3 with waits all over the place.

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