• Become a Power user Intro to AutoHotkey Intermediate AutoHotkey Intermediate Objects GUIs are Easy w/AutoHotkey Painlessly switch from V1 to V2

Excellent SciTE editor video documenting powerful features

SciTE editor

SciTE Editor demonstration

If you frequently use tools like Notepad, Notepad++,  Textpad, etc. I highly recommend you give the SciTE editor a try! Here is a great video demonstrating it’s powerful features and how it can save you a ton of time!  It is highly customizable (but there is a learning curve to making the tweaks to your user settings.  I love it because I have the property files (which provide IntelliSense & syntax highlighting for ~80 languages)

scite editor

The editor is free and can be downloaded from here.  If you’re using AutoHotKey you can get SciTE4AutoHotkey built by fincs here.

 

 

Text file explorer-Determine file headers & delimiters without opening file

Text file explorer

Text File ExplorerText file explorer

I often work with large text files in which the file extension (.txt, .dat, .csv, .tab) doesn’t always indicate what type of delimiter is used in the file.  When the file is small, I’ll typically just “pop” it open in SciTE / Notepad.  Large files (anything over 20 megs) often take a fair amount of time to read and very large files ( a gig or more) will often run into out of memory issues.

On top of wanting to know the delimiter, I also frequently want to know what fields / Headers are in the file.   This normally means I have to open it in a text editor or Excel and review.  I wrote the below Text File Explorer in AutoHotkey script to simplify the above.  I can highlight a file from Windows Explorer and quickly detect the type of delimiter plus display headers if I care to.

Text file explorer AutoHotkey code:


Here’s a video demonstrating the usage of the Text file Explorer

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 create your own Custom SciTE Hotkeys by hacking your SciTE user.properties file

Custom SciTE Hotkeys

Creating custom SciTE Hotkeys are a great way to speed-up working in SciTE!

I highly recommend you download and print out these built-in SciTE4AutoHotkey hotkeys

Hotkeys are a great way to be more efficient!  AutoHotkey makes it easy to create a hotkey for nearly anything however you can easily create your own custom SciTE Hotkeys by making a tweak to your user.properties file.

Below is the text I have in my user.properties file which builds in hotkeys without needing AutoHotkey.  You can find additional commands by going here.  Just don’t forget you are not limited to these.  In the video I show how you can create your own!  Make sure you do not have any comments within your list.  In my video I have them but I realized, later, that this causes issues.

btw- To be able to highlight text and move it up or down you can add
Ctrl+Shift+Up|2620|\
Ctrl+Shift+Down|2621|\

This video walks through creating your own Custom SciTE Hotkeys