Re: Mac OS X 10.4: using osascript to interact with users
Re: Mac OS X 10.4: using osascript to interact with users
- Subject: Re: Mac OS X 10.4: using osascript to interact with users
- From: Philip Aker <email@hidden>
- Date: Thu, 11 Jun 2009 22:11:31 -0700
On 2009-06-11, at 21:00:23, Aaron Wyatt wrote:
I've found that my methods for doing user interaction from shell
scripts with AppleScripts (that is, /usr/bin/osascript from with a
bash script) in 10.5 don't work with 10.4. That method is to use a
wrapper applescript to launch our applescripts via AppleScript Runner:
tell application "AppleScript Runner"
do script path_to_applescript_file_passed_to_this_script
end tell
However, of course, there is no "AppleScript Runner" in 10.4. Nor
have I found that "System Events" works in both OSes. So my
question is, is there a cross-os way to do user interaction
osascript calls from bash?
I haven't had a problem using "System Events" in 10.4 and 10.5. The
call like the one illustrated above is not sufficient for doing user
interaction with System Events though. Perhaps you can elaborate on
the specific issues you have encountered.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
_______________________________________________
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/archives/applescript-users
This email sent to email@hidden