Macros Gone

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
fightcancer
Macro Veteran
Posts: 260
Joined: Fri Apr 15, 2005 8:32 am

Macros Gone

Post by fightcancer » Tue Jan 20, 2015 7:00 am

I opened MS 14.2.02 and noticed that all my macros are missing. What happened??

Now I must import them all and re-assign KB shortcuts.

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

Re: Macros Gone

Post by Marcus Tettmar » Tue Jan 20, 2015 9:41 am

Don't know. Maybe something shredded the data file. Data files are automatically backed up so you should be able to restore. Look in My Documents\Macro Scheduler 14.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

fightcancer
Macro Veteran
Posts: 260
Joined: Fri Apr 15, 2005 8:32 am

Re: Macros Gone

Post by fightcancer » Fri Oct 13, 2017 1:38 am

Same issue in 14.3.11. My PC just had a stop error (BSOD). After the restart, all macros and groups are gone. Ugh! Why does this happen??

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

Re: Macros Gone

Post by Marcus Tettmar » Fri Oct 13, 2017 6:36 am

I don't know but if your PC is crashing so suddenly like that then any files being opened/closed/updated at the exact same time of the crash are very likely to get corrupted and there may well be other corrupt files on your system. I'd want to know why your PC is stopping like that.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

fightcancer
Macro Veteran
Posts: 260
Joined: Fri Apr 15, 2005 8:32 am

Re: Macros Gone

Post by fightcancer » Fri Oct 13, 2017 1:45 pm

An Android emulator called Bluestacks, since uninstalled.

fightcancer
Macro Veteran
Posts: 260
Joined: Fri Apr 15, 2005 8:32 am

Re: Macros Gone

Post by fightcancer » Sat Oct 14, 2017 8:31 pm

I look forward to the day when other software, however poorly written it may be, doesn't endanger my MS setup.

fightcancer
Macro Veteran
Posts: 260
Joined: Fri Apr 15, 2005 8:32 am

Re: Macros Gone

Post by fightcancer » Tue Feb 18, 2025 11:13 pm

Same issue with MS 15.0.25. My PC just crashed and now all my MS macros are gone. I have to import and assign KB shortcuts one by one.

Is there any way to backup some setting in MS so when a PC crashes I don't lose all my macros?

PLEASE fix this issue! I don't know of any other software in the world that loses its setup so often.

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

Re: Macros Gone

Post by Dorian (MJT support) » Wed Feb 19, 2025 10:39 am

fightcancer wrote:
Tue Feb 18, 2025 11:13 pm
PLEASE fix this issue! I don't know of any other software in the world that loses its setup so often.
Marcus Tettmar wrote:
Fri Oct 13, 2017 6:36 am
I don't know but if your PC is crashing so suddenly like that then any files being opened/closed/updated at the exact same time of the crash are very likely to get corrupted and there may well be other corrupt files on your system. I'd want to know why your PC is stopping like that.
As suggested by Marcus, this isn't a specific Macro Scheduler problem - if Windows crashes, files that are in use often get corrupted. We touched on this in 2017, and here was my response.

However, I appreciate this scenario is slightly different and can offer you a little more than just "restore macros12.dat"...

fightcancer wrote:
Tue Feb 18, 2025 11:13 pm
Is there any way to backup some setting in MS so when a PC crashes I don't lose all my macros?
Yes!

At 11.59pm every night I have a ZipAddFiles script which backs up groups12.dat, groups12.ini, and macros12.dat.

I do this because I'm sometimes required to force crashes/hangs, which by their nature may corrupt those files and lose settings/folders/scripts/hotkeys. Exiting Macro Scheduler and restoring those three files will bring them back again.

Code: Select all

day>theday
mon>themon
year>theyear

Let>zippath=C:\Users\xb360\OneDrive\Documents\MSbackups
Let>zipname=MJTdatfiles-%theyear%-%themon%-%theday%.zip

let>f1=%script_dir%\groups12.dat
let>f2=%script_dir%\groups12.ini
let>f3=%script_dir%\macros12.dat

ZipAddFiles>%zippath%\%zipname%,%f1%,9,0,zipres
ZipAddFiles>%zippath%\%zipname%,%f2%,9,0,zipres
ZipAddFiles>%zippath%\%zipname%,%f3%,9,0,zipres
Of course if you don't have backups of those files on this occasion, you can try restoring the Macro Scheduler generated 001,002,003 backup files.

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