Peter thanks for the great tip and Evan thanks for posting the question, however I am having trouble getting it to work. I created a menu called drawing shortcut and included your hotkey like so: Create Menu "DrawingShortcut" ID 56 As "Select\tCtrl+space/W^%32" HelpMsg "Select one or more map/layout objects or browser records.\nSelect" calling 1701
Nothing seems to happen when I use the key combo. What am I doing wrong? Do you need to create a menu? Thanks, Alan -----Original Message----- From: Peter Horsbøll Møller [mailto:[EMAIL PROTECTED] Sent: Monday, September 12, 2005 1:13 AM To: Evan MacDougall; MapInfo-L (E-mail) Subject: RE: MI-L Creating hotkeys for pushbuttons Evan, You are right on. That is actually the way to create hotkeys for tools. Have a look at my hotkeys for the Selector: "Select\tCtrl+SPACE/W^%32" HelpMsg "Select one or more map/layout objects or browser records." Calling 1701, This means that I can use CTRL + SPACE to activate the Selector tool Peter Horsbøll Møller GIS Developer, MTM Geographical Information & IT COWI A/S Odensevej 95 DK-5260 Odense S. Denmark Tel +45 6311 4900 Direct +45 6311 4908 Mob +45 5156 1045 Fax +45 6311 4949 E-mail [EMAIL PROTECTED] http://www.cowi.dk/gis COWI har fået ny hjemmeside. Ydelserne GIS og IT, kort, kortlægning, 3D visualisering og arealforvaltning ligger under SAMFUND. Se mere her : www.cowi.dk COWI has changed its homepage. Our services within cadastre and landadministration, geodataproducts, mapping and GIS can be seen under SOCIETY. See our services here: www.cowi.com -----Original Message----- From: Evan MacDougall [mailto:[EMAIL PROTECTED] Sent: Friday, September 09, 2005 7:17 PM To: MapInfo-L (E-mail) Subject: MI-L Creating hotkeys for pushbuttons Hello all MapInfo programmer type people... I've been working with the mapinfow.mnu file to add HotKeys for various functions we use all the time (split, combine, select update table, etc). That all works nicely. *pats self on back* However, what i'd like to do, but haven't had enough time to figure out is how to create HotKeys for some of the functions that are only available as pushbuttons, such as the polygon draw tool and the select tool and the info tool. I'm thinking i could create a new "Drawing Tools" menu option with those functions in it and then create hotkeys there, but i could be horribly wrong with that assumption. Any suggestions or examples would be helpful. Thanks in advance! -Evan MacDougall - GIS Dept Manager [EMAIL PROTECTED] (800)736-3109/(310)342-3600 - ext. 3681 Nationwide Totalflood Services Inc. (formerly DPSI) (a wholly owned subsidiary of Capital Title Group) --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 17827 --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 17831
