Squirrely1 Posted June 27, 2006 Posted June 27, 2006 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"|\ Das Häschen benutzt Radar
Developers Jos Posted June 27, 2006 Developers Posted June 27, 2006 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"|\ User.Shortcuts perform SciTE commands, not sending keystrokes so this won't work. You could create an AutoIt3 script to do this for you.... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Squirrely1 Posted June 27, 2006 Author Posted June 27, 2006 User.Shortcuts perform SciTE commands, not sending keystrokes so this won't work.You could create an AutoIt3 script to do this for you....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
Bert Posted June 27, 2006 Posted June 27, 2006 You can also use the SciTE toolbar found in my Sig to make things easier. Enjoy! The Vollatran project My blog: http://www.vollysinterestingshit.com/
Squirrely1 Posted June 27, 2006 Author Posted June 27, 2006 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
Uten Posted June 27, 2006 Posted June 27, 2006 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+BYou 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. Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling
Developers Jos Posted June 27, 2006 Developers Posted June 27, 2006 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+BYou 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. Just CW + SpaceBar will do .... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now