Sign in to follow this  
Followers 0
xircon

Set F12 key in Scite to "save as"

4 posts in this topic

Hi Guys,

I wan't to set F12 to "save as", I have been using ultraedit for to long!!! I have checked all the configuration files, I can see a section for defining keys, but have no idea what to put there.

Steve :ph34r:

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Add this to the "User Options file" which is a copy of the stuff in the SciteGlobal.properties plus the F12 definition:

# User defined key commands
user.shortcuts=\
Ctrl+Shift+V|IDM_PASTEANDDOWN|\
Ctrl+PageUp|IDM_PREVFILE|\
Ctrl+PageDown|IDM_NEXTFILE|\
KeypadPlus|IDM_EXPAND|\
KeypadMinus|IDM_BLOCK_COMMENT|\
F12|IDM_SAVEAS|

Also this line in the SciteGlobal.properties from :

#H&ypertext|html|F12|\

to

#H&ypertext|html||\

Or else it won't work.... guest this is some sort of bug since that line is commented.

Edited by JdeB

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Doesn't work here. My keyboard is a Logitech ITouch cordless (the one with all the useless extra keys - the ones everyone programs up then never use :ph34r: )

But that shouldn't casuse a problem. Hmmmm

Steve

Got it I missed a \ out on the line above :(

Is there a list of other possible key substitutions?

Thanks Steve

Edited by xircon

Share this post


Link to post
Share on other sites

Got it I missed a \ out on the line above  :ph34r:

Is there a list of other possible key substitutions?

Thanks Steve

<{POST_SNAPBACK}>

Yes... they are in the Scite.h file which is part of the Source.

here's the list:

// Menu IDs.
// These are located 100 apart. No one will want more than 100 in each menu;)
#define IDM_MRUFILE         1000
#define IDM_TOOLS           1100
#define IDM_BUFFER          1200
#define IDM_IMPORT          1300
#define IDM_LANGUAGE            1400

// File
#define IDM_NEW         101
#define IDM_OPEN            102
#define IDM_OPENSELECTED        103
#define IDM_REVERT          104
#define IDM_CLOSE           105
#define IDM_SAVE            106
#define IDM_SAVEAS          110
#define IDM_SAVEASHTML      111
#define IDM_SAVEASRTF       112
#define IDM_SAVEASPDF       113
#define IDM_FILER           114
#define IDM_SAVEASTEX       115
#define IDM_SAVEACOPY       116
#define IDM_SAVEASXML       117
#define IDM_MRU_SEP         120
#define IDM_PRINTSETUP      130
#define IDM_PRINT           131
#define IDM_LOADSESSION     132
#define IDM_SAVESESSION     133
#define IDM_QUIT            140
#define IDM_ENCODING_DEFAULT    150
#define IDM_ENCODING_UCS2BE 151
#define IDM_ENCODING_UCS2LE 152
#define IDM_ENCODING_UTF8   153
#define IDM_ENCODING_UCOOKIE    154

#define MRU_START   16
#define IMPORT_START 19
#define TOOLS_START 3

// Edit
#define IDM_UNDO            201
#define IDM_REDO            202
#define IDM_CUT             203
#define IDM_COPY            204
#define IDM_PASTE           205
#define IDM_CLEAR           206
#define IDM_SELECTALL       207
#define IDM_PASTEANDDOWN    208
#define IDM_FIND            210
#define IDM_FINDNEXT            211
#define IDM_FINDNEXTBACK        212
#define IDM_FINDNEXTSEL     213
#define IDM_FINDNEXTBACKSEL 214
#define IDM_FINDINFILES     215
#define IDM_REPLACE         216
#define IDM_GOTO            220
#define IDM_BOOKMARK_NEXT   221
#define IDM_BOOKMARK_TOGGLE 222
#define IDM_BOOKMARK_PREV   223
#define IDM_BOOKMARK_CLEARALL   224
#define IDM_BOOKMARK_NEXT_SELECT    225
#define IDM_BOOKMARK_PREV_SELECT    226
#define IDM_MATCHBRACE      230
#define IDM_SELECTTOBRACE   231
#define IDM_SHOWCALLTIP     232
#define IDM_COMPLETE        233
#define IDM_COMPLETEWORD    234
#define IDM_EXPAND          235
#define IDM_TOGGLE_FOLDALL  236
#define IDM_UPRCASE         240
#define IDM_LWRCASE         241
#define IDM_ABBREV          242
#define IDM_BLOCK_COMMENT   243
#define IDM_STREAM_COMMENT  244
#define IDM_COPYASRTF       245
#define IDM_BOX_COMMENT     246
#define IDM_INS_ABBREV      247
#define IDM_JOIN        248
#define IDM_SPLIT       249
#define IDM_INCSEARCH       252
#define IDC_INCFINDTEXT  253
#define IDC_INCFINDBTNOK    254
#define IDD_FIND2          255
#define IDM_ENTERSELECTION  256
#define IDC_EDIT1          1000
#define IDC_STATIC        -1


#define IDM_PREVMATCHPPC    260
#define IDM_SELECTTOPREVMATCHPPC    261
#define IDM_NEXTMATCHPPC    262
#define IDM_SELECTTONEXTMATCHPPC    263

// Tools
#define IDM_COMPILE         301
#define IDM_BUILD           302
#define IDM_GO              303
#define IDM_STOPEXECUTE     304
#define IDM_FINISHEDEXECUTE 305
#define IDM_NEXTMSG         306
#define IDM_PREVMSG         307

#define IDM_MACRO_SEP       310
#define IDM_MACRORECORD     311
#define IDM_MACROSTOPRECORD 312
#define IDM_MACROPLAY       313
#define IDM_MACROLIST       314

#define IDM_ACTIVATE            320

#define IDM_SRCWIN          350
#define IDM_RUNWIN          351
#define IDM_TOOLWIN         352
#define IDM_STATUSWIN       353
#define IDM_TABWIN          354

// Options
#define IDM_SPLITVERTICAL       401
#define IDM_VIEWSPACE       402
#define IDM_VIEWEOL         403
#define IDM_VIEWGUIDES      404
#define IDM_SELMARGIN       405
#define IDM_FOLDMARGIN      406
#define IDM_LINENUMBERMARGIN    407
#define IDM_VIEWTOOLBAR     408
#define IDM_TOGGLEOUTPUT        409
#define IDM_VIEWTABBAR      410
#define IDM_VIEWSTATUSBAR   411
#define IDM_TOGGLEPARAMETERS    412
#define IDM_OPENFILESHERE       413
#define IDM_WRAP            414
#define IDM_WRAPOUTPUT      415
#define IDM_READONLY            416

#define IDM_CLEAROUTPUT     420
#define IDM_SWITCHPANE          421

#define IDM_EOL_CRLF            430
#define IDM_EOL_CR          431
#define IDM_EOL_LF          432
#define IDM_EOL_CONVERT     433

#define IDM_TABSIZE         440

#define IDM_MONOFONT        450

#define IDM_OPENLOCALPROPERTIES 460
#define IDM_OPENUSERPROPERTIES  461
#define IDM_OPENGLOBALPROPERTIES    462
#define IDM_OPENABBREVPROPERTIES    463
#define IDM_OPENLUAEXTERNALFILE 464

//#define IDM_SELECTIONMARGIN   490
//#define IDM_BUFFEREDDRAW  491
//#define IDM_USEPALETTE        492

// Buffers
#define IDM_PREVFILE            501
#define IDM_NEXTFILE            502
#define IDM_CLOSEALL            503
#define IDM_SAVEALL         504
#define IDM_BUFFERSEP       505

// Help
#define IDM_HELP            901
#define IDM_ABOUT           902
#define IDM_HELP_SCITE      903

// Windows specific windowing options
#define IDM_ONTOP           960
#define IDM_FULLSCREEN      961

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
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
Sign in to follow this  
Followers 0