Code

AppleScript to Generate Strong Passwords

I’d totally forgotten I wrote this AppleScript until I needed to create a strong password this morning. If you’re a Mac user and need to generate unique strong passwords, give this script a try.

Continue reading →

A Useful BBEdit AppleScript

Soft-Wrap Text in BBEdit - Uncorrected

An oldie but goodie from John Gruber that I just discovered while looking for ways to soft-wrap text in BBEdit:

Continue reading →

A Better AppleScript to Compress Files or Folders

A while ago, I created an AppleScript that allows you to compress files and folders by simply dropping them onto the applet.

Continue reading →

AppleScript to Compress Files and Folders

I had the need to select several folders at once in the Mac OS Finder and zip them up as individual archives. This AppleScript to compress files and folders was the solution I came up with.

Continue reading →

Salesforce Flows, Visualforce and Context

I was asked to find a solution for our field reps that would simplify the process of adding a completed task to their activities when they visited one of our retail stores.

Continue reading →

Making a Field Appear Required on a Visualforce Page

I’ve been working on a force.com app with the requirement that a user must enter a valid email address on a Visualforce page before being able to save a record.

Continue reading →

AppleScript to Add Files in the Mac Finder

Today I had the need to add a bunch of named text files to a folder in the Finder on my Mac.

Continue reading →

AppleScript to Toggle the Mac Desktop

Here’s an AppleScript I use to quickly toggle desktop visibility for taking screenshots and recording screencasts that I thought might be useful for others.

Continue reading →