Demystifying the Ternary Operator in AutoHotkey: Short-hand If-Else logic

TernAutoHotkey has pretty straight-forward If-Then-Else logic however it can take quite a few lines of code to do some simple evaluations.   Ternary Operators are a great way to write short / concise code in one line!  :)

The basic form is that you first evaluate a condition.  If the value resolves to being true, the first parameter is returned.  If it is False, the second parameter is returned.

(Condition)?(True) : (False)

Ternary Operator video walk-throughAutoHotkey Merchandise-White Stress ball

Great use of GIS data to decide your next business location

GIS Data

Years ago I helped a company that worked in the financial industry review where their current locations are and where FDIC Banks were located.  The GIS data was available for free from the FDIC.  If you spend some time you can merged the files together and look at it longitudinally.   The below map was particularly helpful in deciding where a new branch/office should be located.  I also imported the locations of competitors however I cannot share this data as it is too revealing.

I used Microsoft’s MapPoint to create the below map.  It is no longer with us however this would be easy to repeat with Google Maps.

GIS data

Here’s a great book to get ideas on conveying data visually

Use an API for Sales Prospecting- Automate finding sales leads

Person reading a newspaper at a desk beside a black water bottle with a green logo and a laptopAPI for Sales Prospecting

I have a lot of friends that work in sales and spend an awful lot of time (manually) trying to find new sales leads.  There are a lot of sources out there (LinkedIn, Hoovers, InfoUSA, etc. ) which allow you to use a web browser for searching through their database.  Others open up access to their data by way of an webservice API.

The Clearbit prospect API allows you to find people and bring back demographics as well as email address.  The video demonstrates two examples where I of the Propector and Autocomplete Clearbit APIs.

Clear AutoHotkey water bottle with green lid and band, showing impact resistance, BPA free, fade resistant, and durability claims