Groups.ini, Groups.ini, macros.dat

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

Groups.ini, Groups.ini, macros.dat

Post by armsys » Sun Dec 21, 2008 12:02 am

Are these files supposed to be located in the InstallPath, ie, C:\Program Files\Macro Scheduler 11? Or, should they reside in the Datapath? Which folder is more proper?

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 » Sun Dec 21, 2008 4:52 am

My files are located here:
C:\Documents and Settings\Bob\My Documents\Macro Scheduler 11\groups.dat

I already had version 10.x installed so I installed 11 in a new folder, accepted the defaults. I installed as Bob, not as Administrator.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

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

Post by armsys » Sun Dec 21, 2008 8:38 am

The default %useprofile% folder is exactly the one I dislike. Instead, I prefer to store in a folder, say, C:\Bob\Macro Scheduler.

My problem in relation to such configuration is: Macro Scheduler often fails to locate the called macros. None of my called macros is hard coded with any path.

I discover a workaround by specifying, say, "C:\Bob\Macro Scheduler" in Start in the Macro Scheduler Properties dialog box, for both C:\Program Files\Macro Scheduler 11\msched.exe and its links. Thereafter, the above-mentioned problem vanished.

The setting HKEY_USERS\S-1-5-21-xxxxxxxxxxxxxxxxx\Software\MJTNET\MSched11\DataDir is useless. Macro Scheduler v11 actually wont' pay attention to the key as far as locating the called macros is concerned.

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

Post by armsys » Sun Dec 21, 2008 8:58 am

Hi Marcus,

Apparently MS11 provides no facility to allow users to alter their preferred script files storage other than %userprofile%\My Documents\Macro Scheduler 11.

HKEY_USERS\S-1-5-21-xxxxxxxxxxxxxxxxx\Software\MJTNET\MSched11\DataDir only tells the location of the Macros.dat, not script files.

Suggestions:
1. Allow users to alter the default macros/scripts location in their script by changing the value of SCRIPT_DIR.
2. MS11 will look up the HKEY_USERS\S-1-5-21-xxxxxxxxxxxxxxxxx\Software\MJTNET\MSched11\DataDir key to search for the called macro.
3. Add a new Windows registry key, say, ScriptDir.

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

Post by Marcus Tettmar » Sun Dec 21, 2008 1:40 pm

You can set any macro path you like in group properties. Right click on a macro group and select group properties and see/set the path there. If you create a new group you can point it at any folder you like.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

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

Post by armsys » Sun Dec 21, 2008 2:15 pm

Thanks a lot.

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