Requirements: These scripts for Camino were tested with the latest release, v1.5.5, and with the v1.6x beta/branch nightlies; make sure you download only the scripts that are appropriate for your version of Camino because significant changes were made to the Applescript Dictionary in v1.6. Though they were not tested in any Camino trunk builds, I know of no reasons why the scripts for v1.6x wouldn't run as expected. While they were tested only under Mac OS X 10.5, the scripts should work properly in 10.4, unless otherwise noted. See the comments in the individual script files for further information.
Installation: Unzip and copy these scripts to the path ~/Library/Scripts/Applications/Camino, where ~ represents your home folder, creating any subfolders that don't already exist.
This script will get the URL and title of the page displayed in the current tab, format it as an html link, and place it on the clipboard. Uploaded 22-Jan-08.
This script will download the source text of the currently loaded page, convert it from html to plain text (ie. no codes, formatting, links or image references), save it as a Plain Text File in your Downloads folder (Leopard) or on your desktop (Tiger), and open it in your default text editor. I find it to be useful every once in a while. Version 1.1 is now compatible with Mac OS 10.4. Updated 19-Feb-08.
This script makes use of Camino's nifty bookmark shortcuts for searches feature. It will ask for a search term, present a list of search-shortcut bookmarks, and open search-result pages for the chosen sites in new tabs or windows (depending on your Tab Prefs settings). Your bookmarked searches must be saved in a Collection called "Searches" so the script knows where to find them. Please see the Read Me page for further information on setting up bookmark search shortcuts for use with this script. Uploaded 25-Feb-08.
This script will open the currently displayed Camino page in Safari, launching Safari if necessary, or in a new tab of Safari's frontmost window. Uploaded 22-Jan-08.
This script will open a highlighted plain-text URL in a new tab or window (depending on your Tab Prefs settings). Note that you can more quickly open a selected URL via Services (Application Menu > Services > Open URL in Camino, or Cmd-Shift-U); the script, however, will prevent the spawning of a new tab if the selection is not a valid URL and, with v1.6, can be placed on the toolbar for mouse-click access. Uploaded 20-Feb-08.
This pair of scripts will 1. Store the URL of the current tab and close it; 2. Re-open the last stored URL in a new tab. The first script now remembers URLs from the last 10 closed tabs for undoing in reverse order. (The URLs are stored in a text file called "camino-remembered-url.txt" in your Preferences folder.) Please note that the "Undo Close Tab" script only works on tabs that were closed with the "Remember URL & Close Tab" script; tabs closed by clicking the on-tab widget or by choosing Close from the File menu (Cmd-W) will not be remembered or restored. The script files have custom icons that look appropriate as buttons when the scripts are placed on Camino's toolbar; see this screenshot page for more information. Updated 01-Mar-08.
Acknowledgement: These scripts are based on the ideas and original scripts of Darren Mahaffy, Managing Editor of MacSurfer's Headline News™, used with permission. See this recent blog post by Darren for similar code that works with additional browsers, information on how to remap Cmd-W to trigger the script, and other suggestions for expanding the capabilities of the script.
This script will get the text selected in Camino's current tab, or complete page text if there is no selection, and send it to Entourage, asking whether it should be placed in a new email message, event, note or task. If event or task is chosen, the script will further ask for a start time or due date; dates can be entered in any format or left blank, but Entourage will throw an error if the text entered cannot be interpreted as a date. The new item will include a reference to the page name, URL, and current date. Requires Microsoft Entourage 2004; not tested with any other version. Uploaded 29-Jan-08.
This script will download the file loaded in the current tab to your Pictures folder and set it as your Desktop picture. The image must appear by itself in the current tab, with its direct URL in the location bar, so right-click on the desired image and choose "View Image" from the contextual menu before running the script. Notes: If "Change picture:" is checked in your Desktop Preferences, the downloaded image might not display immediately. If the downloaded file's type is not one that can be used as a Desktop Picture, no error is generated but your Desktop Picture setting might revert to default. Uploaded 22-Jan-08.
This script will download the file at the URL on the clipboard, open it in its default application, and then expeditiously move it to the trash. This is useful for viewing PDF files "temporarily" — the PDF will open in Preview but the file will not be saved anywhere (unless you never empty the trash :-) ). To get the URL of a PDF on the clipboard, right-click on a link to the PDF and choose "Copy Link Location" from the contextual menu. (The script will act on any URL copied to the clipboard, whether it points to a PDF or some other kind of file. If the URL is for an image, say if you choose "Copy Image Location" from the contextual menu, the download will be opened in your default image viewing/editing application, before getting trashed.) Uploaded 22-Jan-08.
Contact: Lisa Thompson