An AppleScript to print a 'daily' URL via Firefox

Jan 26, '06 06:09:00AM

Contributed by: Anonymous

After looking around for a simple script to print web pages (the daily Dilbert cartoon, in this case) using AppleScript and not finding one, I decided to write one of my own.

The script I wrote does the following:

  1. Generates a URL based on today's date and a base URL.
  2. Opens the URL in Firefox (Could easly use Safari).
  3. Opens the print dialog.
  4. Chooses a desired print preset (modify this to match your setup).
  5. Prints the URL.
To use, run the text through Script Editor and save as an AppleScript -- preferably to your ~/Library/Scripts folder, where it'll be easily accessible from anywhere.

[robg adds: This worked as described for me...]

Comments (3)

Mac OS X Hints