• 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
Re: launch broken in Mt Lion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: launch broken in Mt Lion


  • Subject: Re: launch broken in Mt Lion
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 15 Jan 2013 08:56:18 +1100

On 15/01/2013, at 8:13 AM, Luther Fuller <email@hidden> wrote:

> The handler someMenuItemHandler() calls other handlers which contain the line …
>
> 	set selfRef to (path to me)
>
> but this returns the correct path only if 'me' refers to the hostAppl. But in the script, above, the host code has been moved into menuItem.app and now returns the wrong path. Unfortunately, someMenuItemHandler must also work when called by Main.app, so I can't modify the code in Main.app.

Can you not pass the path as an argument to someMenuItemHandler()?

--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>


 _______________________________________________
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: launch broken in Mt Lion
      • From: Luther Fuller <email@hidden>
References: 
 >launch broken in Mt Lion (From: Luther Fuller <email@hidden>)
 >Re: launch broken in Mt Lion (From: Luther Fuller <email@hidden>)
 >Re: launch broken in Mt Lion (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: launch broken in Mt Lion
  • Next by Date: Re: launch broken in Mt Lion
  • Previous by thread: Re: launch broken in Mt Lion
  • Next by thread: Re: launch broken in Mt Lion
  • Index(es):
    • Date
    • Thread