• 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: David Oberst <email@hidden>
  • Date: Wed, 07 Feb 2001 14:07:22 -0700

on 2/7/01 12:35 PM, Patrick Wynne at email@hidden wrote:

> Is there any way to send an <<event XXXXxxxx>> using a script? I've
> tried something along the lines of
> tell application "TestApp" to <<event XXXXxxxx>>"paramText"
> tell application "TestApp" <<event XXXXxxxx>>"paramText"
> tell application "TestApp"
> <<event XXXXxxxx>>"paramText"
> end tell
> I've also tried parentheses around the "paramText", which is the direct
> object of the XXXXxxxx event. (Obviously, my generic names are merely
> for the sake of example)

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?
--

David Oberst/NWT Bureau of Statistics/Yellowknife, NWT, Canada
email@hidden [Explore Canada's Arctic]


  • Prev by Date: Re: Metamorphosax! (revisited)
  • Next by Date: Re: Remote Access/Location Manager scripting for ISP access
  • Previous by thread: Re: how to send an <<event XXXXxxxx>> in a script?
  • Next by thread: Re: applescript-users digest, Vol 2 #331 - 14 msgs
  • Index(es):
    • Date
    • Thread