PDA

View Full Version : Customize Keyboard Accelerators



a.wu
2009-10-05, 04:46 PM
Hello All,

Is there a way to customize the Keyboard Accelerators like "CTRL + C" in Revit? Thanks for any reply.

Albert

Munkholm
2009-10-05, 05:57 PM
Shortcut Keys like CTRL-C is not Revit Shortcuts, but build-in Windows shortcuts - which i´m not sure how to edit (if even possible)

The Revit shortcuts like CC (Copy) etc, is however editable, thru the "keyboardShortcuts.txt" located in C:\Program Files\Autodesk Revit Architecture 2010\Program\

a.wu
2009-10-05, 06:11 PM
Or if I want to assign "CTRL + W" to CLOSE. If there a way to do that in Revit?

Munkholm
2009-10-05, 06:24 PM
Not sure what you want to close, but "close" is not in the KeyboardShortcuts.txt, so the answer must be no.

(OK, Close is in there, but under snap settings, Close=SZ)

truevis
2009-10-05, 08:10 PM
Or if I want to assign "CTRL + W" to CLOSE. If there a way to do that in Revit?

Of course, Ctrl+F4 is close sub-window. However, AutoHotKey is a good way to program even multiple keystrokes. This one does Close and Enter upon Ctrl+w in the classic UI:

#IfWinActive, Revit
^w:: ; hotkey to close revit rvt or rfa
WinWait, Revit
WinWaitActive, Revit
Send, {ALTDOWN}f{ALTUP}c
Sleep, 100
Send, {ENTER}
return

rsavola
2009-10-05, 10:15 PM
We use CW for close windows. You have to add it the the Project and Family shortcuts.
"CW" ribbon:"View-Windows-Close Hidden"