HighDots Forums  

Assign keystroke to commands

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Assign keystroke to commands in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
robertsK
 
Posts: n/a

Default Assign keystroke to commands - 07-07-2004 , 02:32 PM






I have assigned a keystroke to the 'Play Recorded Command', but would like to
be able to assign keystrokes to the commands that are created from the history
list that appear at the bottom of the command dropdown. When i try to create a
keystroke the new commands that i've created are not avalible.

Is there any way to attache keystrokes to these commands?
Thanks


Reply With Quote
  #2  
Old   
~Angela, TMM
 
Posts: n/a

Default Re: Assign keystroke to commands - 07-08-2004 , 02:14 PM






Hi Robert,

This tutorial should help.

http://www.dwfaq.com/go/15619

~Angela
--
Angela C. Buraglia, Founder:
~FAQs, Tutorials & Resources~ http://www.DreamweaverFAQ.com
~My Extensions~ http://www.dwfaq.com/go.asp?ID=AngelaX10
DWfaq Support Newsgroup: news://support.dwfaq.com/support

Co-Author with Joseph Lowery, Dreamweaver MX 2004 Killer Tips:
http://www.dwkillertips.com

Extension Developer for Cartweaver 2:
http://www.cartweaver.com/extensionsuite.cfm

Remove the CAPS in my E-mail to reply off list.

"robertsK" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I have assigned a keystroke to the 'Play Recorded Command', but would like
to
be able to assign keystrokes to the commands that are created from the
history
list that appear at the bottom of the command dropdown. When i try to
create a
keystroke the new commands that i've created are not avalible.

Is there any way to attache keystrokes to these commands?
Thanks




Reply With Quote
  #3  
Old   
Mick White
 
Posts: n/a

Default Re: Assign keystroke to commands - 07-08-2004 , 10:40 PM



<menuitem name="Null Link" key="Cmd+Alt+N"
.../>

Typo?

Should it be the following?

<menuitem name="Null Link" key="Ctrl+Alt+N"
..." />

Mick

Reply With Quote
  #4  
Old   
~Angela, TMM
 
Posts: n/a

Default Re: Assign keystroke to commands - 07-08-2004 , 10:51 PM



Good question Mick. :-)

In menus.xml Cmd seems to be used in place of Ctrl. Even when they declare
PC shortcuts and Mac shortcuts, Cmd is used.

<shortcut key="Cmd+Shift+N" platform="win" command="dw.createDocument(true)"
name="New In Same Window" id="DWShortcuts_Main_NewInWindow" />
<shortcut key="Cmd+Shift+N" platform="mac" command="if (dw.getFocus() ==
'site') { if (site.getFocus() == 'site map' && site.canAddLink()) {
site.addLinkToNewFile() } else if (site.getFocus() != 'site map' &&
site.canMakeNewFile()) { site.makeNewDreamweaverFile() } }" name="New In
Same Window" id="DWShortcuts_Main_AddLinkOrNewFile" />

It's goofy like that. I also noticed Alt is used but never Option.

~Angela
--
Angela C. Buraglia, Founder:
~FAQs, Tutorials & Resources~ http://www.DreamweaverFAQ.com
~My Extensions~ http://www.dwfaq.com/go.asp?ID=AngelaX10
DWfaq Support Newsgroup: news://support.dwfaq.com/support

Co-Author with Joseph Lowery, Dreamweaver MX 2004 Killer Tips:
http://www.dwkillertips.com

Extension Developer for Cartweaver 2:
http://www.cartweaver.com/extensionsuite.cfm

Remove the CAPS in my E-mail to reply off list.



"Mick White" <mwhite13 (AT) BOGUSrochester (DOT) rr.com> wrote

Quote:
menuitem name="Null Link" key="Cmd+Alt+N"
.../

Typo?

Should it be the following?

menuitem name="Null Link" key="Ctrl+Alt+N"
..." /

Mick



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.