Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

DW8 and Shortcutlist

Guest
Jun 19, 2006 Jun 19, 2006
I've been looking for maybe an hour now. I did a search of the entire directory for shortcut. I cannot find where the XML for the shortcut commands go anywhere!

They only exist in the DW8 folders menus.xml file, but that is overridden by the user specific menus.

I'm trying to make the VB Comment in the coding toolbar a shortcut of Cmd+R

I already commented out the live data, and that worked, but now i cant get the shortcut to work for cmd+r
TOPICS
Extensions
349
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 19, 2006 Jun 19, 2006
LATEST
I am now able to edit other shortcuts. I found the accelerators folder, which allows me edit the shortcuts there. But the commentcodepopup window doesnt have shortcuts so no file is there. So I created one with the same naming convention, and then copied data from another file in here and edited it appropriately. I believe my syntax is correct.. but..

When I hit ctrl+R nothing happens. But I can change something such as undo to ctrl+R and it works fine.

here is my code

Accelerators/DWCommentCodePopup.xml
<menus xmlns:MMString=" http://www.macromedia.com/schemes/data/string/">
<shortcut key="Cmd+R" command="if (dw.getFocus(true) != 'document') dw.getDocumentDOM().source.applyComment('\'', '')" id="DWShortcuts_CommentCodePopup_ApplyVBComment" />


And a sidenote.. does anyone know how to freaking turn off the retarded multiple user crap? DW is consistantly overriding my changes that I made in the user-config folder. Since there is no f'ing toolbar.xml I change it and then it gets reverted every now and then! Why cant it just be in one spot, I mean if you're a developer I sure as hell hope you're not sharing your PC with other people anyway.

Anyways, cooling down, I seem to be having a problem because I have to comment out livedata shortcut. In menus.xml in the DW config folder it has a shortcut of Cmd+R, but it was CHANGED in the user-config folder to be cmd+shift+r.. yet DW still lets BOTH be used.

Whats the deal!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines