Send Problem in Step Debug

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
Danerob
Newbie
Posts: 2
Joined: Mon Oct 17, 2005 4:49 pm

Send Problem in Step Debug

Post by Danerob » Thu Jan 05, 2006 10:55 pm

SetFocus>Untitled - Notepad
wait>.5
Send>abcdefgh

Works Ok when run, but not in F8 debug.

I get only “abcâ€Â

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

Post by Marcus Tettmar » Thu Jan 05, 2006 11:02 pm

Maybe the focus is moving too quick. Try slowing down the send rate. Try this:

SetFocus>Untitled - Notepad
wait>.5
Let>SK_DELAY=10
Send>abcdefgh
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

User avatar
JRL
Automation Wizard
Posts: 3526
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Thu Jan 05, 2006 11:04 pm

Using version 7.4.009 on Win XP it works OK for me. I put in the entire alphabet then set SK_DELAY for 100 and it still works.

Is there more to your code or another program that might be stealing focus?

Danerob
Newbie
Posts: 2
Joined: Mon Oct 17, 2005 4:49 pm

Post by Danerob » Thu Jan 05, 2006 11:22 pm

Let>SK_DELAY=10

This solved the problem.

Thanks!

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