Re: How to add shortcuts to snippets in DW MX
"Mark W. Breneman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Can I assign the Alt key to snippets with this method? Sure. But you first of all need to be sure the same combination isn't used elsewhere. You can do this both editing menus.xml and using: Edit > Keyboard Shortcuts -- 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 Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How to add shortcuts to snippets in DW MX
> Does the feature exist in Dreamweaver? Ie theres a menu option somewhere > that does this? No, it doesn't, that's why my answer is negative. Assigning a shortcut to an existing command isn't a problem, but in this case the command isn't available. It could be emulated with a dedicated extension, but it's not a piece of cake 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 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How to add shortcuts to snippets in DW MX
Can I assign the Alt key to snippets with this method? I really really want to use the alt+3 for ##. I have a series of snippets mapped to alt keystrokes. Not being able to assign the snippets to the keyboard shortcuts I use in studio is one of the main reasons that I have not moved to DW. And I WILL NOT until this is fixed. Yes, I know that I could learn new shortcuts but, my big meaty hands hurt trying to contort to use ctrl+shift+3 for ##. Mark W. Breneman -Macromedia Certified ColdFusion Developer -Network / Web Server Administrator Vivid Media [EMAIL PROTECTED] www.vividmedia.com 608.270.9770 -Original Message- From: DURETTE, STEVEN J (AIT) [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 7:50 AM To: CF-Talk Subject: RE: How to add shortcuts to snippets in DW MX Massimo, Since you seem to know a lot about some pretty complicated issues in dreamweaver maybe you can provide an answer. Do you know of any way to add the Ctrl-M feature of CFStudio and Homesite (when in a tag, jump to it's closing tag)? I have to review and maintain a LOT of code created by contractors and this feature is critical. It's the only reason why I haven't moved to dreamweaver mx (it's installed, just not used). I'm using homesite+ instead. Thanks, Steve -Original Message- From: Massimo, Tiziana e Federica [mailto:[EMAIL PROTECTED] Sent: Sunday, June 08, 2003 10:37 AM To: CF-Talk Subject: How to add shortcuts to snippets in DW MX 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\\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: 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 Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How to add shortcuts to snippets in DW MX
Control M would be a nice feature. You may already know about this feature which is similar. Beneath the file name tabs and above the properties window is a list of tags in the document. If you click one of these tags, it will highlight everything between the tags. -Original Message- From: DURETTE, STEVEN J (AIT) [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 8:50 AM To: CF-Talk Subject: RE: How to add shortcuts to snippets in DW MX Massimo, Since you seem to know a lot about some pretty complicated issues in dreamweaver maybe you can provide an answer. Do you know of any way to add the Ctrl-M feature of CFStudio and Homesite (when in a tag, jump to it's closing tag)? I have to review and maintain a LOT of code created by contractors and this feature is critical. It's the only reason why I haven't moved to dreamweaver mx (it's installed, just not used). I'm using homesite+ instead. Thanks, Steve -Original Message- From: Massimo, Tiziana e Federica [mailto:[EMAIL PROTECTED] Sent: Sunday, June 08, 2003 10:37 AM To: CF-Talk Subject: How to add shortcuts to snippets in DW MX 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\\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: 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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How to add shortcuts to snippets in DW MX
You can graphically emulate it using the code inspector. What's nice about that is, you can tell at a glance, which tags aren't closed. -Original Message- From: Mike Townend [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 9:39 AM To: CF-Talk Subject: RE: How to add shortcuts to snippets in DW MX Does the feature exist in Dreamweaver? Ie theres a menu option somewhere that does this? -Original Message- From: Massimo, Tiziana e Federica [mailto:[EMAIL PROTECTED] Sent: Monday, June 9, 2003 15:32 To: CF-Talk Subject: Re: How to add shortcuts to snippets in DW MX > Do you know of any way to add the Ctrl-M feature of CFStudio and > Homesite (when in a tag, jump to it's closing tag)? > I don't know a way to do it, sorry 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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How to add shortcuts to snippets in DW MX
Does the feature exist in Dreamweaver? Ie theres a menu option somewhere that does this? -Original Message- From: Massimo, Tiziana e Federica [mailto:[EMAIL PROTECTED] Sent: Monday, June 9, 2003 15:32 To: CF-Talk Subject: Re: How to add shortcuts to snippets in DW MX > Do you know of any way to add the Ctrl-M feature of CFStudio and > Homesite (when in a tag, jump to it's closing tag)? > I don't know a way to do it, sorry 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 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How to add shortcuts to snippets in DW MX
> Do you know of any way to add the Ctrl-M feature of CFStudio and Homesite > (when in a tag, jump to it's closing tag)? > I don't know a way to do it, sorry 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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How to add shortcuts to snippets in DW MX
Massimo, Since you seem to know a lot about some pretty complicated issues in dreamweaver maybe you can provide an answer. Do you know of any way to add the Ctrl-M feature of CFStudio and Homesite (when in a tag, jump to it's closing tag)? I have to review and maintain a LOT of code created by contractors and this feature is critical. It's the only reason why I haven't moved to dreamweaver mx (it's installed, just not used). I'm using homesite+ instead. Thanks, Steve -Original Message- From: Massimo, Tiziana e Federica [mailto:[EMAIL PROTECTED] Sent: Sunday, June 08, 2003 10:37 AM To: CF-Talk Subject: How to add shortcuts to snippets in DW MX 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\\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: 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 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4