Launching one Applescript app with another Applescript app fails in OS X 10.8
Launching one Applescript app with another Applescript app fails in OS X 10.8
- Subject: Launching one Applescript app with another Applescript app fails in OS X 10.8
- From: Jim Skibbie <email@hidden>
- Date: Wed, 03 Apr 2013 21:45:24 +0000
- Thread-topic: Launching one Applescript app with another Applescript app fails in OS X 10.8
In OS X 10.7, the following application concept works:
AppA.app -- an Applescript app written and saved from Script Debugger or Applescript Editor to a User's Desktop
on
run
tell
application "AppB"
launch
set
x to add(1, 2)
end tell
display dialog
x
end
run
AppB.app -- an Applescript app written and saved from Script Debugger or Applescript Editor to a User's Desktop
on add(x,
y)
return (x +
y)
end add
Double click AppA.app and it passes the parameters to AppB.app. The result is a dialog box with the value "3" in it.
Under OS X 10.8, the same two applications result in an error: "Connection is invalid." Error No: -609
Does anyone have any ideas what this is about? Is this a bug? Is it somehow sandbox related and if so, how does just a simple Applescript saved out of Applescript Editor get the proper sandbox settings?
Thanks.
|
_______________________________________________
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