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: 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]