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!