Linked Group - Possible Bug

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
kh_kevin
Junior Coder
Posts: 34
Joined: Mon Nov 12, 2012 8:30 am

Linked Group - Possible Bug

Post by kh_kevin » Thu Nov 22, 2012 4:15 am

Hello,

I'm currently using a linked group for my macros. I have no problems creating macros and seeing them. The problem appears when I delete a macro in windows explorer.

After a refresh, the file disappears from my linked group, which was made as a subgroup under "All Macros". Unfortunately, the macro still appears under "All Macros" somehow. In this group, the macro shows up and refuses to be deleted. I can hit "Del" to delete it, but it still comes back after I click to another group and back. If I try to do anything else like edit it, it'll say file cannot be found (because I deleted it in windows explorer already, of course).

It's as if the scheduler doesn't know how to update its internal list of macros. Any thoughts?

Oh, so to recap, two problems:
- Big list of deleted, linked macros in "All Macros" group
- Cannot save new macro w/same name as previously deleted macro

kh_kevin
Junior Coder
Posts: 34
Joined: Mon Nov 12, 2012 8:30 am

Post by kh_kevin » Thu Nov 22, 2012 10:12 am

Have another issue:

We have a networked directory, "H:\". Let's say I have a folder of macros (which I link to using a Linked Group):
H:\Automation\Macro Scheduler 13\*.scp

All is working fine except for the the problem I had above. I just created a new folder and macro:
H:\Automation\Macro Scheduler 13\Functions\error handler.scp

Again, linked group. I can see the macro fine in the scheduler, but when I try to open it, I get the following error:
Cannot open file "H:\Automation\Macro Scheduler\error handler.scp." The system cannot find the specified file."

The group seems to be linked fine but then the actual macro is looked for one level up...

Edit: Oh you know what, this is related to my first post. I created Functions\error handler on PC #2, and that can open it fine. When I try to open it on PC #1 (which I had made error handler.scp on earlier and deleted), it gives me that error. So again I think it's MS's "internal list" that isn't getting updated.

kh_kevin
Junior Coder
Posts: 34
Joined: Mon Nov 12, 2012 8:30 am

Update

Post by kh_kevin » Fri Nov 23, 2012 2:13 am

Have a temporary workaround:

- make sure Macro Scheduler is closed (completely, not just minimized)
- go into macros12.dat in your installation folder, and delete out the entries you don't want
- save file
- open Macro Scheduler, once you navigate to your linked group, they should show up again, and the links should work

Warnings:

- pretty sure this is where the scheduling data is kept, so if you delete it the entry will have to be rescheduled after the list is rebuilt (upon run)
- make sure Macro Scheduler is closed! macros12.dat is updated upon close so it will overwrite any deletions you've made if you didn't exit first

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

Post by Marcus Tettmar » Fri Nov 23, 2012 1:55 pm

We've got this fixed in dev. It'll be in the next maintenance release.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

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