AndyS01 Posted October 21, 2012 Posted October 21, 2012 I'm trying to add a user shortcut key to display the calltip for the word I'm on, but nothing works.Here's what I did:I added these lines:# User defined key commandsuser.shortcuts=\Alt+F1|IDM_SHOWCALLTIP\Ctrl+Shift+V|IDM_PASTEANDDOWN|\Ctrl+PageUp|IDM_PREVFILE|\Ctrl+PageDown|IDM_NEXTFILE|\KeypadPlus|IDM_EXPAND|\KeypadMinus|IDM_BLOCK_COMMENT|\Ctrl+F1|IDM_HELP_SCITE|to these files:C:\Users\<username>\SciTEUser.propertiesC:\Users\<username>\SciTEGlobal.propertiesC:\Program Files\AutoIt3\SciTE\SciTEUser.propertiesC:\Program Files\AutoIt3\SciTE\SciTEGlobal.propertiesWhen I restart the editor and try again, the Alt+F1 doesn't do anything. I've tried other shortcut key combinations (Ctrl+B, etc.), but none of them worked.I've searched this forum, and I Googled it, but none of the suggestions worked.Is there something else I need to change?
Developers Jos Posted October 21, 2012 Developers Posted October 21, 2012 (edited) You are missing a verticalbar. This works for me when added to SciTEUser.properties: user.shortcuts= Ctrl+B|IDM_SHOWCALLTIP| Ctrl+Shift+V|IDM_PASTEANDDOWN| Ctrl+PageUp|IDM_PREVFILE| Ctrl+PageDown|IDM_NEXTFILE| Ctrl+Alt+f|IDM_TOGGLE_FOLDALL| Ctrl+Alt+x|IDM_TOGGLE_FOLDRECURSIVE| Ctrl+F1|IDM_HELP_SCITE| Jos Edited October 21, 2012 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
AndyS01 Posted October 21, 2012 Author Posted October 21, 2012 Thanks. I fixed that, but it still didn't work.I'm in the editor and the caret is on the "M" of MsgBox(, $title, $str) and I press Ctrl-B and nothing happens.Perhaps you could set it up like I have it. I moved the "user.shortcuts" lines to the END of the 2 properties files, with a blank line following them. Also, I wasn't sure where to put the properties files, so I copied both files to both directories. Could this make a difference?
Developers Jos Posted October 22, 2012 Developers Posted October 22, 2012 Caret needs to be on one of the parameters of the function, not the function name. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
AndyS01 Posted October 25, 2012 Author Posted October 25, 2012 That's what was wrong. Thank you very much!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now