Re: how to send an <<event XXXXxxxx>> in a script?
Re: how to send an <<event XXXXxxxx>> in a script?
- Subject: Re: how to send an <<event XXXXxxxx>> in a script?
- From: Patrick Wynne <email@hidden>
- Date: Fri, 9 Feb 2001 02:02:31 -0800 (PST)
--- David Oberst <email@hidden> wrote:
>
Certainly the following:
>
>
tell application "elves.acgi"
>
set xxx to <<event TSR!echo>> "Wombat"
>
<<event TSR!echo>> "Mongoose"
>
end tell
>
>
works for me, and I can't see why your third example, anyway, doesn't
>
work.
>
What sort of error do you get?
>
--
and
--- Emmanuel <email@hidden> wrote:
>
For me, your first try should work.
>
>
--------------------- tested
>
tell application "QuickTime Player" to play movie 1
>
---------------------
>
>
can be rewritten into:
>
>
--------------------- tested
>
set theApp to "QuickTime Player"
>
tell application theApp to +event MVWRplay; document 1
>
---------------------
>
>
(note in this example that, as AppleScript itself defines +class
>
docu; =
>
document, "movie" which is QuickTime Player's +class docu;, reads
>
"document")
Hmm, oddly enough, all of these suggestions work, as do the examples I
posted in my original message. I swear I tested them before firing off
a query :)
Anyway, thanks for the assistance guys!
Patrick Wynne
Get personalized email addresses from Yahoo! Mail - only $35
a year!
http://personal.mail.yahoo.com/