Sign in to follow this  
Followers 0
Squirrely1

SciTe Macros config

7 posts in this topic

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


Das Häschen benutzt Radar

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


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

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.


Das Häschen benutzt Radar

Share this post


Link to post
Share on other sites

You can also use the SciTE toolbar found in my Sig to make things easier. Enjoy!

Thanks Vollyman, I'll probably have so much use for your icon browser and RBG color chooser that I won't be bothered about not having such macros.


Das Häschen benutzt Radar

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


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