Entering scripts in raw format
Entering scripts in raw format
- Subject: Entering scripts in raw format
- From: Rolf Howarth <email@hidden>
- Date: Thu, 4 Jan 2007 16:52:23 +0000
I'm new to AppleScript unfortunately.
I'm trying to send some Apple Events to an application that supports
events but doesn't have a scripting dictionary, using the osascript
command. I've discovered the chevron notation, as in
tell application "xyz"
<<event xyz>> given <<class xyz>:...
end tell
which works fine, except for one thing. If the event sends a result
back I don't seem to be able to pick it up. If I try to access the
result variable it tells me it's not defined.
It's quite difficult to track down documentation or examples of this
angle bracket notation (unfortunately "given" and "event" are such
common words they're useless on a web search!). Does anyone have any
pointers to some examples of sending arbitrary Apple Events like
this...?
Thanks,
-Rolf
--
Rolf Howarth
Square Box Systems Ltd
Stratford-upon-Avon UK.
http://www.squarebox.co.uk
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden