Re: current application not work with fordEvent()
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. |
_______________________________________________
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