FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   Add to FavoritesAdd to Favorites
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    RSS Get RSS Feed  


TextPad Syntax file

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Macro Scheduler and Windows Automation Forum Index -> Macro Scheduler Beta
View previous topic :: View next topic  
Author Message
Bob Hansen
Automation Wizard


Joined: 24 Sep 2002
Posts: 2448
Location: Salem, New Hampshire, US
Reputation: 300
votes: 17

PostPosted: Tue Apr 01, 2003 6:26 am    Post subject: TextPad Syntax file Reply with quote

Reference 7.2.029

I was updating my syntax file for TextPad and wondered if you would make the changes for me. I do this every time there is an upgrade. A few minor changes when you update the file would be helpful.

After the Section heading for the keywords, add a line, prefixed with a semicolon to indicate the Macro Scheduler color, and type of grouping. Then when a MS class is defined, it is real easy to see what colors should be set up for each section. Included here are the sections that I include.

[Keywords 1]
;Green - Commands

[Keywords 2]
;Lt Blue - PRESS KEY/MOUSE functions

[Keywords 3]
;Navy - Conditionals

[Keywords 4]
;Red - Navigation

[Keywords 5]
;Lt Green - Visual Basic

[Keywords 6]
;Black - Variables

[Keyword 7]
;Purple - Dialogs

Other notes:
1. Missing from latest syntax file (7.1) are the left and right window keys and the menu key
2. Also missing are references to MSCHED_VER, SCRIPT_DIR, SCRIPT_FILE, COMMAND_LINE, MACRO_PARMS, CWD.
3. ADD and DEL are listed in both sections 1 and 2. I believe they both belong in section 1.
4. END is in sections 2 and 4. I believe it belongs in section 4.

5. If you add the syntax end /operator character ">" to each of the commands/functions in sections 1,3,4,5,7 then that will stop the key words from being colored in the middle of lines when they are actually part of normal text, like Add, Subtract, Day, Year,,etc. normal every day words.

6. I know the sections really only control the color designations. but I notices that MouseMove>, Mou>, MouseMoveRel>, MMR>, MouseOver>, MVR> are all Green and in section 1. All other "mouse" functions are LT BLUE and in section 2. I realize that section 1 items are functions, and section 2 items are more like commands, but it would seem natural to change the color of those 6 functions to light blue, the same as the other "mouse" tools. (Just a thought, should not affect backwards compatibility).

7. It would also be nice to be able to add this download to the Macro Scheduler page directly vs. having to use the link to go to the Helios TextPad web site.

==============================
These changes would be a one time effort to set the basis for the future. As a matter of fact, I think I have completed the updates for 7.2.029 and would be glad to send it to you for its finish.
_________________
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Did this message help you? If so please reward the poster with Reputation Points? Reward Points
Back to top
View user's profile Send private message Visit poster's website
support
Automation Wizard


Joined: 19 Oct 2002
Posts: 1453
Location: London
Reputation: 100

PostPosted: Tue Apr 01, 2003 5:37 pm    Post subject: Reply with quote

Hi,

Thanks for all this. It would indeed be very helpful if you could send your syntax file to support@mjtnet.com and we will add it to the download page and send to Helios and ask them to update their download.
_________________
MJT Net Support
support@mjtnet.com

Did this message help you? If so please reward the poster with Reputation Points? Reward Points
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Bob Hansen
Automation Wizard


Joined: 24 Sep 2002
Posts: 2448
Location: Salem, New Hampshire, US
Reputation: 300
votes: 17

PostPosted: Tue Apr 08, 2003 7:31 am    Post subject: Reply with quote

I was working to finish up the TextPad syntax file to upload.

While doing that I found 5 commands left in an earlier version. They are not referenced in the Help sections of Macro Scheduller 7.2.029. A list of those commands and shortcuts follows:
Quote:
TransactionStart>
TRS>
TransactionEnd>
TRE>
Rendezvous>
Ren>
LRError>
LRE>
LRStatus>
LRS>

I tried the commands in Macro Scheduler and they are highlighted in Green like the other commands, so I am inclined to think they are valid commands.

Are these new commands to be added to Help?
Are these old commands that should be deleted?
Are these "back door" commands that we would not normally have access to?
_________________
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Did this message help you? If so please reward the poster with Reputation Points? Reward Points
Back to top
View user's profile Send private message Visit poster's website
support
Automation Wizard


Joined: 19 Oct 2002
Posts: 1453
Location: London
Reputation: 100

PostPosted: Tue Apr 08, 2003 12:44 pm    Post subject: Reply with quote

These commands are relevent only in the LoadRunner edition which interfaces with Mercury LoadRunner Controller and facilitate communication between the controller and scripts. They are used in scripts used for load testing when run via the LoadRunner controller.
_________________
MJT Net Support
support@mjtnet.com

Did this message help you? If so please reward the poster with Reputation Points? Reward Points
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Bob Hansen
Automation Wizard


Joined: 24 Sep 2002
Posts: 2448
Location: Salem, New Hampshire, US
Reputation: 300
votes: 17

PostPosted: Tue Apr 08, 2003 2:38 pm    Post subject: Reply with quote

Ah ha! Thank you very much......will make sure I do not delete them.......
_________________
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Did this message help you? If so please reward the poster with Reputation Points? Reward Points
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:    View previous topic :: View next topic  
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Macro Scheduler and Windows Automation Forum Index -> Macro Scheduler Beta All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group