Services
Products
Support
Store

Home > Products > AppleScript

 

A growing collection of AppleScripts

See the Resources section on the AppleScript tips page if you're not sure what AppleScript is.

 

  AppleScripts

There are many scripts here, loosely organized into categories. All scripts are encoded for downloading as StuffIt 5.x archives, further encoded as Binhex. StuffIt Expander (freeware) will be able to decode them. Click on the name of a script to download it.

 

Microsoft Entourage 2001 scripts 

Installing Entourage scripts

To install scripts for use in Entourage, put them in the Entourage Script Menu Items folder, within the Microsoft User Data folder, which is within your Documents folder at the root of your hard disk.

This is shown in the graphic to the right.

 

 

Adding keyboard shortcuts to Entourage scripts

You can add your own keyboard shortcuts to your scripts in Entourage, just by adding a suffix to the filename of the scripts.

The suffix always starts with a backslash (\). Then, you have one or more of the lowercase letters m, o, c, and s, which correspond to the modifier keys as follows:

   m is the Command/Apple key ( )

   o is the Option/Alt key ( )

   c is the Control/Ctrl key ( )

   s is the Shift key ( )

Lastly, you have an uppercase letter which will be the shortcut key. So, for example, if I have a script called "My Script", and I change its filename to "My Script\coM", its keyboard shortcut will be Control-Option-M.

This is shown in the graphics to the right.

Note: this also works in Outlook Express 5 Mac. 

 

 

 

Using Location Manager with Entourage

Go here for our tutorial on using Location Manager with Entourage and OE5, with a bit of help from AppleScript.

Note: this also applies to Outlook Express 5 Mac. 

 

 Duplicate Event

Displays a list of your events to choose from, and duplicates whatever event you selected.

You can edit the four properties at the top of this script to customize how it works:

  • Optionally displays a dialog after successfully duplicating an event (default is not displaying the dialog).
  • Optionally appends "copy" to the subject of the new duplicate event (default is appending "copy").
  • Optionally does not list events whose only category is "Holiday" (default is not listing "Holiday" events).
  • Optionally opens the new duplicate event (default is not opening the duplicate).

 Carry Tasks Over

Carries over tasks which are uncompleted and overdue. Because Entourage doesn't currently let you set due dates for Tasks via AppleScript, the script doesn't set new due dates. It does however open the Tasks and ask you to manually set the new due dates. Once Entourage is (hopefully) updated to allow setting due dates via AppleScript, this script will work as intended without any modifications.

 Dial Phone for Selected Contact by David Cortright
(Modifications by Paul Berkowitz and Matt Ridley)

Dials the phone number of the selected contact. If the contact has more than one number, it asks you to select the one you want to dial. Note that this script uses and requires the shareware ($15) application Acid Jazz, available from here.

 New Message with VCF Attached

Makes a new message and attaches a chosen VCF (contact) file to it.

 Attach VCF to Current Message

Attaches a chosen VCF (contact) file to the current message.

 Export Signatures to Text

Exports all your Signatures (both name and content) to a text file.

 Delete

Moves all selected messages (or the currently open message) to the Deleted Items folder.
Default keyboard-shortcut is control-D.

 Delete Unflagged

Moves all selected unflagged messages to the Deleted Items folder.

 Nuke Unflagged with Warning

Permanently deletes all selected unflagged messages (gives a warning first).

 Delete Thread

Deletes all messages in the thread of the currently selected message. This function is now natively possible in Entourage (it wasn't in OE5), but I've left this script up here for others to learn from.

 Super Location Check/Send

Sort of like a "wizard" for configuring location-sensitive checking and sending of email; lets you set up multiple actions for each account in each Location Manager location.

 Toggle Flag

Toggles the flag status of the currently selected messages.

 Go to VersionTracker

Launches Internet Explorer and goes to versiontracker.com. Not really an Entourage script, but useful for launching the browser without having to click a link first.

 New Message non-default Account

Makes a new message from an account other than your default account.

 Insert HTML for Selected URL

Replaces the selected URL (in a message) with the HTML to make a link to that URL.

 Search Inbox and make Word file

Searches the Inbox messages (subject and body) for the specified phrase, then makes a Microsoft Word file containing the matching messages.

 Search Inbox and make text file

Same as above, but makes a plain text file (SimpleText).

 

Outlook Express 5 scripts 

Adding keyboard shortcuts to Outlook Express 5 scripts

You can add your own keyboard shortcuts to your scripts in OE5. See the Microsoft Entourage scripts section above for details.

Using Location Manager with Outlook Express 5

Go here for our tutorial on using Location Manager with Entourage and OE5, with a bit of help from AppleScript.

 Delete Unflagged

Moves all selected unflagged messages to the Deleted Items folder.

 Nuke Unflagged with Warning

Permanently deletes all selected unflagged messages (gives a warning first).

 Delete Thread

Deletes all messages in the thread of the currently selected message.

 Super Location Check/Send

Sort of like a "wizard" for configuring location-sensitive checking and sending of email; lets you set up multiple actions for each account in each Location Manager location.

 Toggle Flag

Toggles the flag status of the currently selected messages.

 Go to VersionTracker

Launches Internet Explorer and goes to versiontracker.com.

 New Msg non-default Account

Makes a new message from an account other than your default account.

 Insert HTML for Selected URL

Replaces the selected URL (in a message) with the HTML to make a link to that URL.

 Search Inbox and make Word file

Searches the Inbox messages (subject and body) for the specified phrase, then makes a Microsoft Word file containing the matching messages.

 Search Inbox and make text file

Same as above, but makes a plain text file (SimpleText).

 

Speech Recognition scripts 

 What's the date?

A better version of the "What date is it?" script included with Speakable Items. This version speaks the full date properly ("Tuesday the ninth of May, two-thousand"), whereas the script included with Speakable Items just says "Tuesday May nine".

 

TCP/IP & Networking scripts 

 TCPIP Test

Shows a dialog with the name of your current TCP/IP configuration and your current IP address.

 

Location Manager scripts 

 Get Location

Shows a dialog with the name of the current Location Manager location.

 Change Location

Changes the Location Manager location to one you specify.

 

Folder Actions scripts (require Mac OS 8.5 or later) 

 Open - trash "Old ..." items

Trashes files whose names begin with "Old " when the attached folder is opened.

 Open - delete "Old ..." items

As above, but also empties the trash afterwards.

 Open - open file

Opens a given file when the attached folder is opened.

 

Appearance scripts (require Mac OS 8.5 or later) 

 Double Scroll-Arrows

Enables having both scrollbar arrows at both sides of scrollbars. Only possible via AppleScript!

 Scrollbar Arrows Style

Lets you choose one of the three scrollbar arrow styles.

 

Mac OS X scripts 

 Wipe Creator

Drop files onto this script to make sure they open in the appropriate default OS X application when double-clicked. For example, if your default JPEG viewing application in OS X is Preview, but your JPEGs open in GraphicConverter when you double-click them, just drop them onto this script to solve the problem.

 

Miscellaneous scripts 

 Loading Other Scripts

Two scripts, showing how to load one script into another, and call subroutines from other scripts.

 Launch Clipboard Text as File

Assumes that the clipboard text is a file-path, and launches that file.

 Launch Application by Creator-Code

Launches an application by its creator-code, avoiding having to locate it first.

  Top

 

  Other AppleScript items

You can find a page of AppleScript tips, links and other info here.

We've created a tool to aid debugging your AppleScripts. It's called AppleScript Output, and it's here.

You can find an extensive tutorial on using Location Manager with Microsoft Outlook Express 5 (or Entourage 2001) via AppleScript here.

We've also created two plug-in tools for FaceSpan users; feel free to download and use them:

Finally, the first version of our application PageThing was written in AppleScript. You can still find that version here (also available in French; see that page for details). The newest version is a full compiled application, and is available here.

If you need custom AppleScript development work, please see our Services page.

  Top

 


Copyright © Scotland Software