Intro to SPSS Macro call; The lifesavers of redundant code

SPSS macro
Using SPSS Macros can save an incredible amount of time.  They have a somewhat-steep learning curve but are definitely worth it!  This is a short overview of the strength of using a macro to run the descriptives command.

Word of warning, make sure you re-define your macro before calling it.  This is an easy step to forget and you can waste a lot of time.

SPSS Macro Code

Video tutorials demonstrating the usage of the SPSS Macro

Intro to SPSS Macros

Additional SPSS macro links

A great resource to use and learn macros is Raynald Levesque’s site.  This page is his intro to macros page and this one walks through writing one.  He also has a great library of them located here.

Learning Macros | Raynald’s SPSS Tools

This page is a simple introduction to SPSS macros. There are several fully (line- by-line) commented examples of macro. Overview of several macro-related …

Quick Intro to SPSS progams | Glenn Thompson’s Homepage

Feb 13, 2010 Free Power Calculation Resources · automation program for  · Quick Intro to SPSS Working with SPSS …

Replacing missing data A lot of online vendor tools provide a data value on a multi-select question however they leave the value missing if the respondent didn’t select it. Most of the analysis I want to do needs to have a zero (or some other value) present in order to calculate the …

Customizing your SciTE Status bars: Create your own to your liking!

scite status barCustomizing SciTE status bars 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 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 statusbar.text.1 that is commented out is one I use by default.

SciTE Status Bar customization video

Customize yor SciTE Status Bars

Built-in variables for SciTE status bar

Variable NameMeaning
FilePathfull path of the current file
FileDirdirectory of the current file without a trailing slash
FileNamebase name of the current file
FileExtextension of the current file
Languagename of the lexer used for the current file
SessionPathfull path of the current session
CurrentSelectionvalue of the currently selected text
CurrentWordvalue of word which the caret is within or near
Replacementsnumber of replacements made by last Replace command
SelectionStartColumncolumn where selection starts
SelectionStartLineline where selection starts
SelectionEndColumncolumn where selection ends
SelectionEndLineline where selection ends
CurrentMessagemost recently selected output pane message
SciteDefaultHomedirectory in which the Global Options file is found
SciteUserHomedirectory in which the User Options file is found
SciteDirectoryHomedirectory in which the Directory Options file is found
APIPathlist of full paths of API files from api.filepattern
AbbrevPathfull path of abbreviations file
ScaleFactorthe screen’s scaling factor with a default value of 100

Create your own SciTE Hotkeys by hacking your file

SciTE hotkeyHotkeys 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 file.

Below is the text I have in my 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 :


This video walks through the process of creating your own SciTE Hotkeys

Creatie custom SciTE hotkeys to be more efficient

Customize your SciTE context menu: Make your favorite commands 1 click away

SciTE context menuOne of my favorite things about SciTE is that it is highly customizable!   If you have favorite commands you frequently use it is really easy to add them to Customize your SciTE context menu.

By tweaking your file you can easily make your favorite commands one click away!

Here is text from my User.Properties file.  Make sure you check out this url for additional commands/examples.

Customize your SciTE context menu

Customize SciTE Context Menu- Add your favorite shortcuts