Thus spake [EMAIL PROTECTED]:
>Write an applescript that calls the others as "sub" routines. I think
>there such template scripts you could use as a startingpoint. Check the
>usual Applescript sites.
>Also, feel free to share this script with us even before it's ready.
>Best ((Vibes))
Sure,
I am not sure how to call scripts as subroutines. I am learning a lot
about similar ideas from learning Panorama. I assume that some sort of
call statement is what you are referring to? (AppleScript does that?)
I put the following touches on a script that I had offered to me from an
AS person. I wanted it to automatically open Explorer when a mail action
identified the incoming message as coming from the macgurus forums. When
I post there and I if originated the post, I check the box for getting
email notification anytime someone replies to my post. Those email
notifications are pretty standard. The topic changes but the second
paragraph always contained an HTML link to the topic that was replied to.
(Often I am in several threads)
And so the following script does the job very well.
tell application "Claris Emailer"
set theText to the content of filtered message
repeat with thisPara in the paragraphs of theText
if thisPara contains "http" then
set theURL to thisPara as string
exit repeat
end if
end repeat
end tell
tell application "Internet Explorer"
OpenURL theURL toWindow 0
end tell
When I wanted to add a notifier sound I just slipped in a Finder tell
block in between the Emailer and the Explorer part. The question I had
was how to alter the mail action if I step away from my desk so that I
can get an audible alert. Now I am thinking of just writing two separate
mail actions. Then I can just enable one and disable the other more
quickly than writing extra AppleScripts. I am still not understanding how
using subscripts would make this process different? For that to work in
some sort of Case or IF, ELSE statement I would need some sort of key or
other modifier sequence, flag or condition to be true. I wanted it
simple, but, I am willing to learn if you have an idea?
Dave Groover
___________________________________________________________________________
To unsubscribe send a mail message with a SUBJECT line of "unsubscribe" to
<[EMAIL PROTECTED]> or <[EMAIL PROTECTED]>