Jump to content

SciTe hotkey for "Toggle All Folds"


careca
 Share

Recommended Posts

Hello, so that's what im wondering, can i set such a key?

Some time ago, i asked for a way to stop the script from a hotkey, and a notorious dev, sugested this code:

user.shortcuts=\
F4|IDM_STOPEXECUTE|

to be placed in the file SciTE.properties, and it worked wonders!

So im looking for the same type of thing, but another unused key, like F10 to Toggle all folds in SciTe.

Or a pointer as to where i can find those internal commands like IDM_STOPEXECUTE.

Best Regards.

EDIT: Found "SciTE menu commands" in SciTe Help file, set to F9. Solved.

user.shortcuts=\
F4|IDM_STOPEXECUTE|
user.shortcuts=\
F9|IDM_TOGGLE_FOLDALL|

Got a related question: How do i set this globally on SciTe?

Is there a way for this to work without having the properties file in the same dir as the script?

Tried adding to the files at the windows user directory, both SciTEUser.properties and SciTE.properties,

but has no effect.

EDIT2: Adding that to the code in the file: SciTEUser.properties In: C:UsersUSERAppDataLocalAutoIt v3SciTE Did the trick.

Edited by careca
Spoiler

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Inconspicuous - Hide files in plain sight, not fully encrypted.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

Link to comment
Share on other sites

Thanks for sharing. :thumbsup:

But there is a little bug::

user.shortcuts=\
F4|IDM_STOPEXECUTE|
user.shortcuts=\
F9|IDM_TOGGLE_FOLDALL|

should be:

user.shortcuts=\
F4|IDM_STOPEXECUTE|\
F9|IDM_TOGGLE_FOLDALL|

Where to discover those IDM_??? constants ?

IDM_??? constants can be found here: http://www.scintilla.org/CommandValues.html

Edited by Exit

App: Au3toCmd              UDF: _SingleScript()                             

Link to comment
Share on other sites

Ah, i tried the same but without the slash. Like this.

F4|IDM_STOPEXECUTE|
F9|IDM_TOGGLE_FOLDALL|

Thank you.

Edited by careca
Spoiler

Renamer - Rename files and folders, remove portions of text from the filename etc.

GPO Tool - Export/Import Group policy settings.

MirrorDir - Synchronize/Backup/Mirror Folders

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

String Trigger - Triggers pasting text or applications or internet links on specific strings.

Inconspicuous - Hide files in plain sight, not fully encrypted.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples

Au3Record.exe

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...