WIN_REGEX=1

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
armsys
Automation Wizard
Posts: 1108
Joined: Wed Dec 04, 2002 10:28 am
Location: Hong Kong

WIN_REGEX=1

Post by armsys » Sun Jun 09, 2013 1:22 am

After repetitious tests, I discover Macro Scheduler supports partial Regex match in most Window commands.
For example, SetFocus>{"(- )?Mozilla Firefox"}
A complete match, as I previously assumed, is not required.
Please confirm my observation. Thanks.
BTW, Regex operations for all Window commands in Macro Scheduler is amazingly faster.
Thanks, Marcus.

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1417
Joined: Sun Nov 03, 2002 3:19 am

Post by Dorian (MJT support) » Fri Jun 14, 2013 11:30 pm

Ingenious!!

I'll make sure I include this little snippet in the Script of the Month competition.

armsys
Automation Wizard
Posts: 1108
Joined: Wed Dec 04, 2002 10:28 am
Location: Hong Kong

Post by armsys » Sat Jun 15, 2013 1:08 am

Parsnipnose3000 wrote:I'll make sure I include this little snippet in the Script of the Month competition.
Are you serious? But appreicate your humor.
ArmSys wrote:...Regex operations for all Window commands in Macro Scheduler is amazingly faster.
Actually I regret my statemet. My further tests show it isn't true. Non-regex SetFocus> is still faster. Correct me if I'm wrong. Thanks.

BTW I haven't heard of MJT USA Support. Where are you located geographically? London?

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