Hi,
So I’m having a Path Control in which I set an URL.
When the user clicks on one of the items it will sent an action and execute this code:
on pathAction_(sender)
set theCurrentURL to thePUIGroupPathControl's clickedPathItem()'s |URL|()
set theCurrentURLPathComponents to theCurrentURL's pathComponents()
-- And then some code to deal with the Components
end pathAction_
Where thePUIGroupPathControl is obviously my NSPathControl object.
Now this works perfectly on Sierra and High Sierra but won’t work on El Capitan.
I’ll get this error:
13-07-18 16:54:14,680 PostLab[1675]: *** -[PUI_Group pathAction:]: missing value doesn’t understand the “pathComponents” message. (error -1708)
So apparently theCurrentURL isn’t filled properly. But according the docs this method should work sinds Mac OS 10.10 Yosemite.
So is it possible to get this working on El Capitan? Or should I take my loss?
Cheers in advance!
Jasper