With > or without > ?

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
lebrocoli
Pro Scripter
Posts: 53
Joined: Tue Sep 06, 2005 9:28 pm

With > or without > ?

Post by lebrocoli » Tue Oct 09, 2007 2:48 pm

Ok. I have another dumb question:

I have read the manual and most of the time, the commands are written with a > at the end of the command. That said, it does not seem to always be the case.


Example: Here is the script at page 73:

-----------------------------------------------------
SetFocus>Notepad*
Ascii>77
Ascii>65
Ascii>82
Ascii>67
Ascii>85
Ascii>83
Press Enter
Ascii>77,65,82,67,85,83
Press Enter
Send>MARCUS
-------------------------------------------------------


Why all the commands have > except for Press enter ?

Whgat is the rule ? Can you shed some light on this?

Thanks

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

Post by Marcus Tettmar » Tue Oct 09, 2007 3:46 pm

"Press Enter" is one command. It has no parameters. So you don't need the >
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

lebrocoli
Pro Scripter
Posts: 53
Joined: Tue Sep 06, 2005 9:28 pm

Post by lebrocoli » Tue Oct 09, 2007 4:08 pm

Ok. Makes sense.

Thanks!

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