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:
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.
- Generates a URL based on today's date and a base URL.
- Opens the URL in Firefox (Could easly use Safari).
- Opens the print dialog.
- Chooses a desired print preset (modify this to match your setup).
- Prints the URL.
[robg adds: This worked as described for me...]
Mac OS X Hints