MarksLib is a library of handlers that I employ in most of my scripts. Their names are fairly self explanatory.
MarksLib.scptd.zip (21.6 KB) [Jan 9, 2017: link updated to the latest version of MarksLib]
UPDATE March 9, 2017: MarksLib is now available as part of my AppleScript Libraries repository on GitHub.
NOTE: MarksLib.scptd needs to be installed in