I screwed something up in my install...
Moderators: JRL, Dorian (MJT support)
-
- Macro Veteran
- Posts: 267
- Joined: Mon Sep 27, 2010 8:57 pm
- Location: Seattle, WA
I screwed something up in my install...
I was trying to change the default location for scripts that I create in the editor under File/New.
I went into Options /Advanced and changed the Path to the new location and lost everything that had been listed before. So I changed it back and apparently put the wrong location because the UAC stuff fires when I launch MS (14) and then it fails:
Exception EInFileException in msched.exe
Unable to write to c:\program files (x86)\Macro Scheduler 14\groups12.ini
I have looked for but cant find the ini file to change it.
I have uninstalled / reinstalled but the setting stays as is (as expected).
What file do I need to change?
I went into Options /Advanced and changed the Path to the new location and lost everything that had been listed before. So I changed it back and apparently put the wrong location because the UAC stuff fires when I launch MS (14) and then it fails:
Exception EInFileException in msched.exe
Unable to write to c:\program files (x86)\Macro Scheduler 14\groups12.ini
I have looked for but cant find the ini file to change it.
I have uninstalled / reinstalled but the setting stays as is (as expected).
What file do I need to change?
Jerry,
I don't "know" the answer but since I have good install to look at we might be able to figure this out.
The groups12.ini file should reside in your scripts folder which in Win7 is usually under C:\users\name\Documents\Macro Scheduler 14. I wonder if your registry entry for "datadir" got changed from that to c:\program files (x86)\Macro Scheduler 14.
If you can, look in the registry and see if
HKCU\Software\MJTNET\Msched14\datadir points at teh folder that contains all of your scripts or does it point to c:\program files (x86)\Macro Scheduler 14?
I don't "know" the answer but since I have good install to look at we might be able to figure this out.
The groups12.ini file should reside in your scripts folder which in Win7 is usually under C:\users\name\Documents\Macro Scheduler 14. I wonder if your registry entry for "datadir" got changed from that to c:\program files (x86)\Macro Scheduler 14.
If you can, look in the registry and see if
HKCU\Software\MJTNET\Msched14\datadir points at teh folder that contains all of your scripts or does it point to c:\program files (x86)\Macro Scheduler 14?
-
- Macro Veteran
- Posts: 267
- Joined: Mon Sep 27, 2010 8:57 pm
- Location: Seattle, WA
Registry entry for "datadir" points to c:\program files (x86)\Macro Scheduler 14.
I changed to the script folder and now MS launches with no problems.
But there are no scripts listed.
Is it possible to go back to the default setting (whatever that might be) and then switch again and this time say to take settings.
Or can I just reimport? (I dont want to mess anything up by importing again)
I changed to the script folder and now MS launches with no problems.
But there are no scripts listed.
Is it possible to go back to the default setting (whatever that might be) and then switch again and this time say to take settings.
Or can I just reimport? (I dont want to mess anything up by importing again)
Assuming your scripts and Macros12.dat and Groups12.dat and Groups12.ini are all in the scripts folder?
Macros12.dat, Groups12.dat and Groups12.ini are the files that tell Macro Scheduler what and how to display in the main menu. If none of your scripts are displayed than I'd guess Macros12.dat is empty. Do you have backup copies of the dat and ini files? With version 14 these files are automatically backed up. Look for Macros12.dat.00x. you can look in these files using notepad. If you have Macros12.dat.00x and it has data in it. then you can:
- Shut down Macro Scheduler.
- Replace Macros12.dat, Groups12.dat and Groups12.ini with Macros12.dat.00x, Groups12.dat.00x and Groups12.ini.oox (make sure x is the same number)
- Restart Macro Scheduler.
Let us know how it goes.
Macros12.dat, Groups12.dat and Groups12.ini are the files that tell Macro Scheduler what and how to display in the main menu. If none of your scripts are displayed than I'd guess Macros12.dat is empty. Do you have backup copies of the dat and ini files? With version 14 these files are automatically backed up. Look for Macros12.dat.00x. you can look in these files using notepad. If you have Macros12.dat.00x and it has data in it. then you can:
- Shut down Macro Scheduler.
- Replace Macros12.dat, Groups12.dat and Groups12.ini with Macros12.dat.00x, Groups12.dat.00x and Groups12.ini.oox (make sure x is the same number)
- Restart Macro Scheduler.
Let us know how it goes.
-
- Macro Veteran
- Posts: 267
- Joined: Mon Sep 27, 2010 8:57 pm
- Location: Seattle, WA
-
- Macro Veteran
- Posts: 267
- Joined: Mon Sep 27, 2010 8:57 pm
- Location: Seattle, WA
-
- Macro Veteran
- Posts: 267
- Joined: Mon Sep 27, 2010 8:57 pm
- Location: Seattle, WA
Something is still not right...
I had a new empty folder.
I created a group and set the Macro Path to that folder
File / New, then Save As (I verified the new file exists in that folder)
I created a dialog, Saved and tried to run. (Nothing added or changed, just default dialog)
"Error in: Dialog1
Line 22 - Cannot Show Dialog Dialog1. Not Found"
Close the script (No prompt for saving because I already saved)
Reopen the script and it runs fine
Edit the dialog (change the Caption)
Save (I see the timestamp change on the file)
Run
"Error in: Dialog1
Line 22 - Cannot Show Dialog Dialog1. Not Found"
Close the script (No prompt for saving because I already saved)
Reopen the script and it runs fine with edited caption showing
I had a new empty folder.
I created a group and set the Macro Path to that folder
File / New, then Save As (I verified the new file exists in that folder)
I created a dialog, Saved and tried to run. (Nothing added or changed, just default dialog)
"Error in: Dialog1
Line 22 - Cannot Show Dialog Dialog1. Not Found"
Close the script (No prompt for saving because I already saved)
Reopen the script and it runs fine
Edit the dialog (change the Caption)
Save (I see the timestamp change on the file)
Run
"Error in: Dialog1
Line 22 - Cannot Show Dialog Dialog1. Not Found"
Close the script (No prompt for saving because I already saved)
Reopen the script and it runs fine with edited caption showing
- Dorian (MJT support)
- Automation Wizard
- Posts: 1414
- Joined: Sun Nov 03, 2002 3:19 am
I'd try a complete uninstall and reinstall. Back up your scripts first just as a precaution, then follow these steps :
1. Uninstall Macro Scheduler
2. Delete the Macro Scheduler 14 folder in My Documents
3. Delete any files called Macro Scheduler 14 in My Documents
4. Delete the registry key: HKEY_CURRENT_USER\Software\MJTNET\MSched14
5. Reinstall using the full installer
6. Import your macros using File/Import (or just drag and drop). Create groups first if necessary.
1. Uninstall Macro Scheduler
2. Delete the Macro Scheduler 14 folder in My Documents
3. Delete any files called Macro Scheduler 14 in My Documents
4. Delete the registry key: HKEY_CURRENT_USER\Software\MJTNET\MSched14
5. Reinstall using the full installer
6. Import your macros using File/Import (or just drag and drop). Create groups first if necessary.
-
- Macro Veteran
- Posts: 267
- Joined: Mon Sep 27, 2010 8:57 pm
- Location: Seattle, WA
- Dorian (MJT support)
- Automation Wizard
- Posts: 1414
- Joined: Sun Nov 03, 2002 3:19 am
- Dorian (MJT support)
- Automation Wizard
- Posts: 1414
- Joined: Sun Nov 03, 2002 3:19 am
I was just asked how to remove the registry keys, so I made this quick screencast. Be careful, and back up your registry first. We're not responsible for disasters!
You can also start the registry editor with >start >run >regedit
http://www.screencast.com/t/OIzBHmwq6D1

You can also start the registry editor with >start >run >regedit
http://www.screencast.com/t/OIzBHmwq6D1