Wow. Favorite AS's what a great thread... but man there are just SO many!
Here's my "hit list":
1) A modification of the "Connect to..." AS that shipped with the MacOS a while back. This script (assigned to the F11 key) allows me to open my default web browser, type in any given URL and/or press a single button to gain access to my web-based email.
2) Didn't make 'em, but the Apple Data Detectors (http://www.apple.com/applescript/data_detectors/overview.00.html) are one of the most useful AS suites ever created IMHO.
3) Also a script i created for my former Mac lab management position would allow a local folder to simulate a remote server directory by utilitizing a combo of Fetch, Folder Actions, and a neato Scripting Addition called "Dialog Director". Drop any number of files/folders on the local upload folder and they are compressed, uploaded to the server you specify. You are then given a custom URL to access them in the future and given the option to move the local copies to the trash or documents folder.
4) In tandem with the "AudioCDgh" Scripting Addition, i created 4 scripts for CD-ROM Play/Stop, Rewind, Fast-Forward, and Eject. Assigning these to F1->F4 allows me to navigate my audio CDs just like a standard audio CD player. I have also added optional routines that will actually display the title name/number when switching and/or speak the name/number of the track. Here's the Rewind script, email me at:
[email protected] if you want the others:
set numDrives to number of cd drives -- how many cd drives are attached to this computer
repeat with whichDrive from 1 to numDrives
try
set cd volume in drive whichDrive to 240 -- remember loudest is 255
set statusInfo to status of audio cd in drive whichDrive -- check for disk existence
set totalTracks to (number of tracks on audio cd)
set currentTrack to (track of statusInfo)
set previousTrack to (currentTrack - 1)
if (currentTrack > 1) then
-- set previousTrackName to (get audio cd title for track previousTrack)
-- display dialog "Track " & previousTrack & ":
-- " & previousTrackName with icon note buttons {""} giving up after 1
-- can also have title of next track spoken by replacing "display dialog " with: "say nextTrack"
play audio cd beginning with previous track
else
-- set previousTrackName to (get audio cd title for track 1)
-- display dialog "Track " & "1" & ":
-- " & previousTrackName with icon note buttons {""} giving up after 1
play audio cd starting with track 1
end if
on error
display dialog "No disk in CD-ROM drive." with icon caution buttons "" giving up after 1
end try
end repeat
Too bad more folks didn't know about AS - it's SO powerful! Truly the hidden jewel of the MacOS.
Speed
[This message has been edited by SpeedRacer (edited 08-01-2000).]