Assign shortcut keys to buttons on Dialog

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

Assign shortcut keys to buttons on Dialog

Post by kpassaur » Fri Mar 03, 2006 5:13 pm

I was unable to find any help on this in the manual and I was wondering if there is a way to assign shortcut keys on a button in a compiled macro. For instance in Word if you look at Exit there is a line under the x so that it is a know shortcut.

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

Post by Marcus Tettmar » Fri Mar 03, 2006 5:25 pm

You do this by putting a & character before the character that should be the hotkey. E.g. if you want this:

Cancel

Then you enter

&Cancel
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