Sign in to follow this  
Followers 0
careca

SciTe hotkey for "Toggle All Folds"

3 posts in this topic

#1 ·  Posted (edited)

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

Paster - Main function is to paste text, but has more functions.

OpenW - Open With... alternative, Open any file with any application, set it's icon, set application as default.

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

BeatsPlayer - Music player.

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

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.

Firefox Profile Backup - Backup/restore previously saved profile.

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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

My UDFs, Abbrevs and Snippets
If you like my post, just click the like button :) 

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

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

F4|IDM_STOPEXECUTE|
F9|IDM_TOGGLE_FOLDALL|

Thank you.

Edited by careca

Spoiler

Paster - Main function is to paste text, but has more functions.

OpenW - Open With... alternative, Open any file with any application, set it's icon, set application as default.

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

BeatsPlayer - Music player.

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

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.

Firefox Profile Backup - Backup/restore previously saved profile.

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

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