Jump to content

User defined shortcut keys do not work


AndyS01
 Share

Recommended Posts

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 commands

user.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.properties

C:\Users\<username>\SciTEGlobal.properties

C:\Program Files\AutoIt3\SciTE\SciTEUser.properties

C:\Program Files\AutoIt3\SciTE\SciTEGlobal.properties

When 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?

Link to comment
Share on other sites

  • Developers

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 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.
  :)

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...