• Intro to AutoHotkey HotStrings with AutoHotkey Intermediate AutoHotkey GUIs are Easy with AutoHotkey Intro to DOS & AutoHotkey

send text to SciTE Output Pane | Use this #1 Awesome AutoHotkey function to display tons of text

SciTE Output paneWhile I predominately view text with Message boxes in AutoHotkey, sometimes they are not the right tool for the job.  I wrote a short function to automate sending text to the SciTE Output pane.

SciTE is a great editor however the Output pane is greatly underutilized.  Below is the function I wrote to manipulate it.  You can download the SciTE Output Function here

Short video walking through how to send text to the SciTE Output Pane

 

How to Customize SciTE Status bar: Create your own to your liking with this simple hack in 2021

scite status barHere I show you how to customize SciTE status bar.  This  is a great, easy, way to add more relevant information to your needs.

In the below video I walk through how you can make minor tweaks to your status bar by editing your user.properties file.  Further down the page I’ve provided some of the built-in variables however there are a ton of additional ones you can check out the defined variables here.

Here is the syntax I walked through in the below video.  The first SciTE statusbar.text.1 that is commented out is one I use by default.

SciTE4AutoHotkey Status Bar customization video

Built-in variables for SciTE status bar

Variable Name Meaning
FilePath full path of the current file
FileDir directory of the current file without a trailing slash
FileName base name of the current file
FileExt extension of the current file
FileNameExt $(FileName).$(FileExt)
Language name of the lexer used for the current file
SessionPath full path of the current session
CurrentSelection value of the currently selected text
CurrentWord value of word which the caret is within or near
Replacements number of replacements made by last Replace command
SelectionStartColumn column where selection starts
SelectionStartLine line where selection starts
SelectionEndColumn column where selection ends
SelectionEndLine line where selection ends
CurrentMessage most recently selected output pane message
SciteDefaultHome directory in which the Global Options file is found
SciteUserHome directory in which the User Options file is found
SciteDirectoryHome directory in which the Directory Options file is found
APIPath list of full paths of API files from api.filepattern
AbbrevPath full path of abbreviations file
ScaleFactor the screen’s scaling factor with a default value of 100

How to open SciTE multiple times with a cool hack to your SciTE user.properties file

open SciTE multiple timesHow to open SciTE multiple times

Typically I like having one SciTE window with multiple tabs however, at times, it is very handy to have a Second SciTE window.

Making a minor tweak to your user.properties file is an easy way to achieve this.

Just open your current user.properties file and add the below code to it.  You can find out more about SciTE4Autohotkey here
For a quick review of how it works and how to add it you can check out this video

How to open SciTE multiple times

 

How to Run selected text in SciTE- Great tip for long AutoHotkey scripts

Running selected text in SciTE

How to Run selected text in SciTE

When working on longer AutoHotkey scripts, I love being able to just highlight some text and run only it.  This is possible from making some tweaks to your User.Properties file and using this file by JoeDF.

Here is the text you’ll add to your User.Properties file:
Use the following for a webpage post:

Or you can download this AutoHotkey script

In the below video I walk through how to make updates to the User.Properties file as well as demonstrate Running selected text in SciTE.

  • Intro to AutoHotkey HotStrings with AutoHotkey Intermediate AutoHotkey GUIs are Easy with AutoHotkey Intro to DOS & AutoHotkey