Something I thought I would share to help the next fellow is a rather unique solution to a unique problem.
One of my automation sequences required me to send about 2,000 words of text into a text block of an application. No matter the time delays or different ideas on using a standard SENDTEXT> command, it would continuously get messed up. I"m sure I could have instituted a time delay between keys sent, but in the end, it would severely increase the time to complete the automation sequence.
A quick and easy solution kind of hit me. What I did is Performed a copy to the clipboard of the variable holding the text to be sent. Then I selected the field to be populated and did a simple CNTRL+v! Voila! The text as a whole is inserted almost instantly and completely error free!
So hopefully this will help someone down the road.
Frank
Resolving Large SENDTEXT Issues
Moderators: JRL, Dorian (MJT support), Phil Pendlebury
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Resolving Large SENDTEXT Issues
To insert a delay between keys set SK_DELAY. E.g.
Let>SK_DELAY=50
Sendtext>textblock
That would insert a delay of 50ms between each character.
See help file topic for sendtext command.
Let>SK_DELAY=50
Sendtext>textblock
That would insert a delay of 50ms between each character.
See help file topic for sendtext command.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?