SPSS macro to automatically remove duplicates and drop variable

SPSS macroSPSS macro for removing duplicates

SPSS has a built in GUI function for removing duplicates however it is lacking some of the key options that I like to use (perform case insensitive dedupe, drop duplicates, drop the flag, etc). I built my own macro which is very easy to use and has all the options I typically need.

The following video demonstrates them in use.


Removing duplicates in SPSS using a custom macro

Here are the SPSS macros 



AutoHotkey HotString tutorial- Walk through how to create & many uses

AutoHotkey HotString tutorialI believe HotStrings are one of the simplest & most productive tools you can use!  In this AutoHotkey HotString tutorial Jackie Sztuk from JZApp.com and I walk through many uses and how easy they are to create, maintain, and use.  There are some great tutorials on the AutoHotkey site as well as a small script that makes adding new HotStrings a breeze.

If you’d like to have a “spell check” running in every windows program, you can use this Autocorrect script.

Here is the AutoHotkey HotString tutorial Video

Joe Glines and Jackie Sztuk reviewing AutoHotkey Hotstrings


hotstring text replacement

Transposing clipboard content in any program- No need to run to Excel!

Transposing clipboard content

While it is easy to use Excel to transpose rows into columns, I’ve created an AutoHotkey script which negates the need to.  Basically it examines what is on the clipboard and replaces tabs with line breaks, then it sends paste to the program thus it is transposing clipboard content.  I have it triggered of hitting a hotkey and comes in pretty handy and can save some time if it is something you do frequently.

Below is a video which demonstrates it usage.

Transposing clipboard content

Transposing clipboard content in any program

Using built-in SciTE Find and Replace features- Great time savers!

It always amazes me of how frequently I have to manipulate text I in various ways.  More often than not it is simply doing a SciTE find and replace but being able to have other ways to manipulate text is also a great time saver!

In this video I walk through some of the tips & tricks of using SciTE search and replace text within the text editor.  I also demonstrate one of the “coolest” features which is block / typing across multiple lines.  This is a GREAT feature which many do not know how to use.  The Regular Expressions and dealing with line returns / new lines are also very helpful.


SciTE find and replace

In the video I also showed how I updated my AutoHotKey SciteUser.properties file.  Below is the line I added

And here are a couple of helpful pages with SciTE  documentation, SciTE RegEx documentation

demo SciTE Find and Replace features

Excellent SciTE search and replace functionality

To avoid having to escape parens (watch above video) add the following in your SciTE  user.properties file.   If set to 0, syntax uses the old Unix style where \( and \) mark capturing sections while ( and ) are themselves.  If set to 1, syntax uses the more common style where ( and ) mark capturing sections while \( and \) are plain parentheses.


Here are some useful POSIX terms which are more readable: [:xxx:] were xxx is one of the following words:
alnum    letters and digits
alpha    letters
word “word” characters (like \w)
digit    decimal digits (like \d)
space    white space
punct    printing characters, excluding letters and digits
lower    lower case letters
upper    upper case letters