Trailing spaces after a PRESS function

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
CiscoMike
Newbie
Posts: 3
Joined: Thu Apr 03, 2003 2:40 pm
Location: California
Contact:

Trailing spaces after a PRESS function

Post by CiscoMike » Thu Apr 03, 2003 8:14 pm

After writing my second fairly intense macro, I came to realize that it can be difficult to identify when you have trailing spaces after a PRESS command such as PRESS TAB. I would recommend in the next release that the developers add an RTRIM statement to press commands, possibly also multi commands in one PRESS statement (IE PRESS TAB;CTRL), executing them in susquential order to reduce the amount of PRESS statements. This would reduce the size of macro's that use the Press command by quite a bit.
I found the only way to ensure that your doc is not full of trailing spaces was to click my mouse beyond the end of each line to see of spaces or tabs showed up. This is painstaking on an 800 line macro.

CiscoMike
Newbie
Posts: 3
Joined: Thu Apr 03, 2003 2:40 pm
Location: California
Contact:

A little sarcasm

Post by CiscoMike » Thu Apr 03, 2003 8:17 pm

Then again, I guess one could write a macro to remove the trailing spaces from a macro script. :lol:

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Thu Apr 03, 2003 8:46 pm

I had requested an Edit function to remove trailing spaces.

And they have included it in version 7.2

Works great! :D
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

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