I know many people complain about this, so, since I tried to cover the issue in the past, I summarized everything in a single post. I hope it could be help to fellow developers. Please be free to share this everywhere and post it on blogs as you see fit (if possible include the whole post, no editing please)
Adding keyboard shortcuts to snippets is possible with DW MX as well, it's just a painful process... Here it is: 1) Go in Design View (in order to enable the History Panel) 2) Insert a Snippet 3) Now inside the History Panel you should have an entry for the snippets insertion 4) Select the entry in the panel and, from the contextual menu, choose "Copy Steps" 5) Open an external text editor (Notepad would be fine) and paste 6) Inside the text editor you should now see the API call to the snippet, something like this: dw.snippetPalette.insertSnippet('MyFolder\\MySnippet.csn'); 7) Quit DW 8) Open the monster menus.xml file inside you local configuration, typically: C:\Documents and Settings\<username>\Application Data\Macromedia\Dreamweaver MX\Configuration\Menus\Menus.xml For more details read: http://www.macromedia.com/support/dreamweaver/ts/documents/multiuser.htm 9) At the very top of the monster menus.xml you can find many entries for keyboard shortcuts, add something along these lines: <shortcut key="your key combination here" command="dw.snippetPalette.insertSnippet('MyFolder\\MySnippet.csn')" name="My powerful snippet" id="anUniqueID" /> 10) Restart DW, you are done Final notes: - Be careful editing menus.xml, never open it in DW! - Always back up the menus file, DW does it automatically (see Menus.xbk) - Be careful identifying keyboard combination not already in use - Each id inside menus.xml must be unique, valid JavaScript variable name My considerations: Q: Is it worth? A: It depends, for me it isn't, but I am definitely a mouse user Q: Is it a painstaking process? A: Yes, it is Q: Shouldn't be easier? A: Yes, sure, anything is better than this Q: Shouldn't DW expose this capability from a GUI? A: Sure, I vote for it! Q: What we can do? A: Ask MM, send them hundreds of requests: http://www.macromedia.com/support/email/wishform/ ---------------------------- Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ ---------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4