scheduled script to run at different date

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

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

Post by Marcus Tettmar » Tue May 22, 2007 5:52 pm

VBSTART
VBEND
VBEval>MsgBox(WeekdayName(WeekDay(Now))),nul
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

Aaron
Pro Scripter
Posts: 113
Joined: Mon Apr 09, 2007 1:35 am
Location: Wyoming

This has been very helpful,

Post by Aaron » Tue May 22, 2007 7:17 pm

How many line can you do months.

As a beginner I have somewhere around 30

It would be nice to see three
Aaron

User avatar
JRL
Automation Wizard
Posts: 3532
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Tue May 22, 2007 8:33 pm

Best I can do using the same pure Macro Scheduler method as before is 5.

Code: Select all

Let>mo_list=Jan;Feb;Mar;Apr;May;Jun:Jul;Aug;Sep;Oct;Nov;Dec
month>mm
Let>mm=mm/1
Separate>mo_list,;,mo_var
MDL>mo_var_%mm%

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Tue May 22, 2007 9:07 pm

Fullname of month

VBSTART
VBEND
VBeval>MonthName(Month(Now)),mofy
MDL>mofy

3 letter abbreviation

VBSTART
VBEND
VBeval>MonthName(Month(Now),true),mofy
MDL>mofy

:D

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 » Tue May 22, 2007 10:33 pm

you can do it in a one line macro that calls the longer macro with the multiple lines. :wink:
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

User avatar
jpuziano
Automation Wizard
Posts: 1085
Joined: Sat Oct 30, 2004 12:00 am

Post by jpuziano » Wed May 23, 2007 10:39 pm

Thanks All... for the great solutions and snippets. :D
jpuziano

Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post - :-)

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