• 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: current application not work with fordEvent()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: current application not work with fordEvent()


  • Subject: Re: current application not work with fordEvent()
  • From: Shane Stanley <email@hidden>
  • Date: Sun, 22 Jan 2017 13:23:43 +1100

On 22 Jan 2017, at 12:49 pm, Brian Christmas <email@hidden> wrote:

Of course it bombs on line  

set oneURLString to (current application's NSString's stringWithString:(oneURL)).       

Of course. Because an NSURL is not a string, it's an NSURL. The parent property has nothing to do with it.

Something must replace current application’s.

Nothing replaces it. It's not clear from your code what you want oneURLString for, but you probably want oneURL's |path|() instead.

-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: current application not work with fordEvent()
      • From: Brian Christmas <email@hidden>
References: 
 >current application not work with fordEvent() (From: Brian Christmas <email@hidden>)

  • Prev by Date: current application not work with fordEvent()
  • Next by Date: Re: current application not work with fordEvent()
  • Previous by thread: current application not work with fordEvent()
  • Next by thread: Re: current application not work with fordEvent()
  • Index(es):
    • Date
    • Thread