• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how to send an <<event XXXXxxxx>> in a script?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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/


References: 
 >Re: how to send an <<event XXXXxxxx>> in a script? (From: Emmanuel <email@hidden>)

  • Prev by Date: Problem with opening movie files in quicktime player
  • Next by Date: weird problem with keys and OSAMenu
  • Previous by thread: Re: how to send an <<event XXXXxxxx>> in a script?
  • Next by thread: RE: how to send an <<event XXXXxxxx>> in a script?
  • Index(es):
    • Date
    • Thread