I screwed something up in my install...

General Macro Scheduler discussion

Moderators: Dorian (MJT support), JRL

Post Reply
Jerry Thomas
Macro Veteran
Posts: 267
Joined: Mon Sep 27, 2010 8:57 pm
Location: Seattle, WA

I screwed something up in my install...

Post by Jerry Thomas » Thu Aug 15, 2013 5:45 pm

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?
Thanks,
Jerry

[email protected]

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

Post by JRL » Thu Aug 15, 2013 6:45 pm

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?

Jerry Thomas
Macro Veteran
Posts: 267
Joined: Mon Sep 27, 2010 8:57 pm
Location: Seattle, WA

Post by Jerry Thomas » Thu Aug 15, 2013 7:32 pm

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)
Thanks,
Jerry

[email protected]

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

Post by JRL » Thu Aug 15, 2013 7:53 pm

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.

Jerry Thomas
Macro Veteran
Posts: 267
Joined: Mon Sep 27, 2010 8:57 pm
Location: Seattle, WA

Post by Jerry Thomas » Thu Aug 15, 2013 8:07 pm

The files are not empty and I didnt see anything wrong in them.
(Groups12.dat, Groups12.ini and Macros12.dat)

There are no backups.

I am thinking just delete (or rename) these and re-import will be the easiest way to recover?
Thanks,
Jerry

[email protected]

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

Post by JRL » Thu Aug 15, 2013 8:10 pm

Safest any way...

Jerry Thomas
Macro Veteran
Posts: 267
Joined: Mon Sep 27, 2010 8:57 pm
Location: Seattle, WA

Post by Jerry Thomas » Thu Aug 15, 2013 8:41 pm

Many thanks for help JRL!
Thanks,
Jerry

[email protected]

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

Post by JRL » Thu Aug 15, 2013 8:53 pm

The residents of Seattle can sleep again...

You're probably tired of those jokes. Sorry for the drollery. Glad you're back up and running.

Jerry Thomas
Macro Veteran
Posts: 267
Joined: Mon Sep 27, 2010 8:57 pm
Location: Seattle, WA

Post by Jerry Thomas » Thu Aug 15, 2013 9:29 pm

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
Thanks,
Jerry

[email protected]

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

Post by Dorian (MJT support) » Thu Aug 15, 2013 10:43 pm

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.
Yes, we have a Custom Scripting Service. Message me or go here

Jerry Thomas
Macro Veteran
Posts: 267
Joined: Mon Sep 27, 2010 8:57 pm
Location: Seattle, WA

Post by Jerry Thomas » Tue Aug 20, 2013 1:37 am

Finally had time to get back to this mess...

Parsnipnose, it seems your scorched earth approach is what I needed to do.
Things seem to be working now.

Thanks to both you and JRL!
Thanks,
Jerry

[email protected]

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

Post by Dorian (MJT support) » Thu Aug 22, 2013 11:53 pm

Lol, I'm glad you fixed it. Personally, I always hated it when support departments told me to reinstall. But with Macro Scheduler, it seems that when "something really weird happens", the steps above will fix it 99% of the time.
Yes, we have a Custom Scripting Service. Message me or go here

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

Post by Dorian (MJT support) » Fri Sep 13, 2013 11:37 pm

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! :o

You can also start the registry editor with >start >run >regedit

http://www.screencast.com/t/OIzBHmwq6D1
Yes, we have a Custom Scripting Service. Message me or go here

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