• 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
Launching one Applescript app with another Applescript app fails in OS X 10.8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Launching one Applescript app with another Applescript app fails in OS X 10.8
      • From: Jim Skibbie <email@hidden>
    • Re: Launching one Applescript app with another Applescript app fails in OS X 10.8
      • From: Christopher Stone <email@hidden>
    • Re: Launching one Applescript app with another Applescript app fails in OS X 10.8
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Passing InDesign variables from one script to an other
  • Next by Date: Re: Refresh Finder view?
  • Previous by thread: Re: Smile vs AppleScript Editor
  • Next by thread: Re: Launching one Applescript app with another Applescript app fails in OS X 10.8
  • Index(es):
    • Date
    • Thread