| Description: |
This Applescript temporarily saves the front document to a local file, and opens that file with Tofu in full-screen mode. (Tofu reformats the contents into columns for easier reading.)
|
| Requirements: |
* Tofu.app
|
| Download: |
SafariToTofu100.zip
(version 1.0.0, 31May2006. original)
|
| Installation: |
Double-click to untar the file. If you move the resulting script (Open front document in Tofu.scpt) into ~/Library/Scripts/Applications/Safari/ (create these folders as needed), it will appear in the Script Menu.
Note that this Applescript relies on a bit of GUI scripting to switch Tofu to full-screen mode. To enable GUI scripting, you'll need to check the box "Enable access for assistive devices" in the "Universal Access" System Preference.
|
| To use: |
Open a webpage in Safari. Open the Script Menu, and select "Open front document in Tofu."
|
| Note: |
This script saves the source of the front document for rendering. One minor variation would be to view just the text. To try this, simply replace the word "source" with "text" in the first line of the script. Another variation would be to save and render a webarchive or PDF (which includes all locally-referenced style sheets, images, etc), although this would presumably be slower.
|
| Script Source: |
--View Applescript source in a new Script Editor window.
|