Where is the HotKey data stored?

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
melmitts707
Newbie
Posts: 10
Joined: Sun Sep 12, 2004 5:31 am
Location: Harrisonville, MO

Where is the HotKey data stored?

Post by melmitts707 » Tue Jan 10, 2012 1:49 pm

I assigned a HotKey (Ctrl-Alt-P) to my macro. After which I realized it was not the key sequence I wanted to use so I deleted it and entered the desired sequence. All seemed to work fine. However, I can't assign any new macros to the original Ctrl-Alt-P. It doesn't show up as being assigned but if I try to assign it I get the message that it is already in use. Where is the data stored? Can I manually delete it?
Thanks
Mel

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

Post by JRL » Tue Jan 10, 2012 2:49 pm

Have you tried exiting from Macro Scheduler and restarting?

As far as I know the hot key information is stored in the macros.dat file. You can display the contents of macros.dat using notepad. The file is located in your scripts folder. I would make sure I had a backup copy before messing with the file. Also you need to exit out of Macro Scheduler before any changes you make can be permanent. Macro Scheduler reads the file when it starts and rewrites the file when it ends so if you make a change while Macro Scheduler is open, the change will be overwritten when Macro Scheduler closes. Each line begins with the name of the macro then continues with script parameter settings all delimited by colons. The hot key information is the eleventh item. Ctrl+Alt+P will be displayed as 1P.

As I said at the start, I would try exiting Macro Scheduler first. Each macro has its own line in macros.dat and it doesn't make sense that the hotkey information there would be duplicated, especially since you have assigned a new hot key combination to your script. Its more likely there is some vestige information in memory that is preventing you from reassigning the key combination. Exiting and restarting should clear that.

melmitts707
Newbie
Posts: 10
Joined: Sun Sep 12, 2004 5:31 am
Location: Harrisonville, MO

Been there, done that!

Post by melmitts707 » Tue Jan 10, 2012 7:55 pm

I have exited/restarted, uninstalled/reinstalled, deleted macro information from .dat file with no success. OK, it beat me. Next step uninstall, delete all files and macros and start over from square one. Thanks for the attempt.
Mel

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