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:
- 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.
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
http://hints.macworld.com/article.php?story=20060121022550756