Richard
November 15, 2009, 1:39pm
#1
How can I set the path control to change to a parent folder when clicked or double clicked like in Finder? clickedPathComponentCell() only gets the folder name not the whole path and it has information about the size so
obj's setURL_(obj's clickedPathComponentCell())
on its clicking action doesn’t work at all,
obj's setPathComponentCells_(obj's clickedPathComponentCell())
just sets it to a single cell.
The clickedPathComponentCell method returns an NSPathComponentCell, and that has a URL method. So you probably want something like:
set theURL to theObj's clickedPathComponentCell()'s |URL|()
theObj's setURL_(theURL)
Richard
November 15, 2009, 11:22pm
#3
Thank you! How can I convert a ‘URL’ to an alias?
Have a look in the topic “PathControl challenges”.
Richard
November 16, 2009, 12:12am
#5
Where? I can’t find anything with that title here or in the documentation.