Copy date to Clipboard – Applescript

At work I constantly have to name files/folders with the current date in the YYYYMMDD format to identify backup copies or certain ad/brochure versions. Since I usually don’t know the date and I get tired of stopping what I’m doing to check the date to be able to rename a file or folder, I made 2 little Apple-scripts that help me doing just that (and not more…).

If you want to add the date to an item in the Finder, you can use Automat-or to put together an action to do just that.

For everything else (FTP or any other App) you can call this little script to copy the date in the correct format into your clipboard.

Usage:

I recommend you to turn on the scripts menu:

Open AppleScript Utility (/Applications/AppleScript), and check “Show Script Menu in menu bar”.

Paste the script in the Script Menu (/Library/Scripts/) and you can access the date-stamp in every application:

Advertisements

Published by

attilaacs

I've always been interested in all kinds of art because I felt the need to express myself in many different ways. I paint, draw, create 3D models, motion graphics & designs of all sorts, play guitar, love photography and whatever else is in between... I was born in Hungary and lived in Hungary, Germany, Australia and the UK for a number of years. I speak German, English and a little Hungarian (I'm working on improving that one again!).

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s