Re: not finding "help" helpful
Re: not finding "help" helpful
- Subject: Re: not finding "help" helpful
- From: Bill Cheeseman <email@hidden>
- Date: Sun, 11 Nov 2001 05:06:57 -0500
on 11/10/01 6:40 PM, S. Slivan at email@hidden wrote:
>
I'm trying to understand how to write applescripts, but the tutorials
>
and help I have been consulting have not been thorough enough. I want
>
to write a script to tell my voice mail software, after it gets a call,
>
to dial
>
my cell. I can't get the commands right, and I don't how to tell the script
>
to run after the application hangs up. I would also like to write a script
>
to run my cataloguing software when I eject a Zip disk. All of the "how
>
to"
>
stuff is so nebulous, that I can't even determine if any of this is
>
possible anyway. Is there a tutorial for dummies that someone can recommend?
There is a long list of links to on-line tutorials near the top of the
"Core" section of the "Links" chapter of The AppleScript Sourcebook. There
is also a "Books" section.
As to launching an AppleScript when some event occurs, there are a number of
techniques, mostly advanced. The events you list (an application hangs up, a
Zip disk is ejected) can be noticed by creating an 'idle' handler (or a
repeat loop) in a stay-open AppleScript application that periodically polls
to see whether the application is still running or the Zip disk is still
mounted. There are some articles in the "Tips" chapter of The AppleScript
Sourcebook about how to write 'idle' handlers -- look at "Idle Thoughts."
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont