Jump to content
Sign in to follow this  
Squirrely1

SciTe Macros config

Recommended Posts

I want to be able to use Alt+1, Alt+2, Alt+3 etc., to enter text I use all the time for .html and .au3.

Below is what I thought of so far, but it does not work. I am editing my User Options File in SciTe.

user.shortcuts=\
Alt+1|"<!-- "|\
Alt+2|" -->"|\
Alt+3|"#cs "|\
Alt+4|"#ce"|\

:D

Share this post


Link to post
Share on other sites

I want to be able to use Alt+1, Alt+2, Alt+3 etc., to enter text I use all the time for .html and .au3.

Below is what I thought of so far, but it does not work. I am editing my User Options File in SciTe.

user.shortcuts=\
Alt+1|"<!-- "|\
Alt+2|" -->"|\
Alt+3|"#cs "|\
Alt+4|"#ce"|\

:D

User.Shortcuts perform SciTE commands, not sending keystrokes so this won't work.

You could create an AutoIt3 script to do this for you....

:D

Share this post


Link to post
Share on other sites

User.Shortcuts perform SciTE commands, not sending keystrokes so this won't work.

You could create an AutoIt3 script to do this for you....

:D

Thanks JdeB. I have been looking for an easier way to get some macros to work with just simple keystrokes. I couldn't find much useful documentation to get User.Shortcuts to work for me.

Share this post


Link to post
Share on other sites

What you want is to take a look at abbrevations usage in SciTe.

Ex: type cw and hit CTRL+B or how about setupgui and CTRL+B

You can add your own through tools->open abbrevations file. Or look at the globalabbrev.properties in your scite folder.

abbrevations are a real timesaver for the common code you enter all the time. :D

Share this post


Link to post
Share on other sites

What you want is to take a look at abbrevations usage in SciTe.

Ex: type cw and hit CTRL+B or how about setupgui and CTRL+B

You can add your own through tools->open abbrevations file. Or look at the globalabbrev.properties in your scite folder.

abbrevations are a real timesaver for the common code you enter all the time. :D

Just CW + SpaceBar will do .... :D

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  

×
×
  • Create New...