list of file/path references?

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

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

Post by Marcus Tettmar » Fri Aug 17, 2007 2:34 pm

Nice. Thanks. Much better than my suggestion. :oops:
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

Snickers
Macro Veteran
Posts: 150
Joined: Thu Dec 09, 2004 3:01 pm
Location: Somewhere in TX

Post by Snickers » Fri Aug 17, 2007 2:40 pm

Me_again wrote:Better:

GetEnvVar>USERPROFILE,profile
Let>%desktop%=%profile%\desktop
MDL>%desktop%
before:

Code: Select all

Let>datafile=example text to be typed into file saved on desktop
GetEnvVar>SystemDrive,sysd
let>textfile=SavedDocument
WriteLn>%sysd%\Documents and Settings\%USER_NAME%\Desktop\%textfile%.txt,r,%datafile%
after:

Code: Select all

Let>datafile=example text to be typed into file saved on desktop
GetEnvVar>USERPROFILE,profile
Let>%desktop%=%profile%\desktop
WriteLn>%desktop%\%textfile%.txt,r,%datafile%
very nice! This will certainly make less work for me in the future. Thank you.

If this script comes through for me, I might have to upgrade to enterprise. I have a few more questions I'll be posting shortly. But I should be done with this script by next week. Bad thing is, I have to mess with SQL on the next script. We'll see. Thank you for your help.

You guys really know Macro Scheduler. Great product! People have no idea how powerful this product can be.

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

Post by Marcus Tettmar » Fri Aug 17, 2007 2:47 pm

Great product! People have no idea how powerful this product can be.
We do. But more people should, so please tell everyone you know!

Why not post a comment about Macro Scheduler here:
http://www.lockergnome.com/nexus/window ... oly-macro/

Spread the word! :-)
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

Snickers
Macro Veteran
Posts: 150
Joined: Thu Dec 09, 2004 3:01 pm
Location: Somewhere in TX

Post by Snickers » Fri Aug 17, 2007 2:52 pm

You guys should write a bound book that has more detail than the help files. I would certainly purchase it.

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

Post by Me_again » Fri Aug 17, 2007 2:56 pm

mtettmar wrote:Nice. Thanks. Much better than my suggestion. :oops:
No no, thank you for such a fine product with apparently unlimited possibilities :D

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