desktop shortcuts. possible solution.

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

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

desktop shortcuts. possible solution.

Post by Dorian (MJT support) » Fri Feb 27, 2004 6:34 pm

I think there was some discussion about this quite some time ago, but I'm not sure a solution was found. I think I made some headway with this, so here it is and I hope it helps someone.

Objective.
To use a hotkey or shortcut key to run a macro on a computer without macro scheduler installed.

Method.
Setting up.....
1. Create your macro as normal, and compile an exe.
2. Save the exe to wherever you want to run it from, in this case, c:\
3. Right-drag the .exe from c:\ on to your windows desktop, creating a windows desktop shortcut.
4. Right click on the shortcut icon, click properties, then assign a keyboard shortcut.

Transferring to other machine.....
5. In windows explorer, copy your macro from c:\, and your shortcut from c:\windows\desktop, and transfer them to c:\ and c:\windows\desktop on your target computer.
6. Reboot the target computer, and the shortcut key should now operate the macro you copied.

This worked in Win ME, but i haven't tried it on other operating systems. Apparently windows stores the shortcut "hotkey" in the desktop shortcut itself, and it is not stored in the registry anywhere.

I haven't put anything nice together which will copy the files into the right place yet, but I'm sure it will be possible.

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