I’ve done this before without a problem so I can’t figure out what is wrong here.
on theChooseFolder_(sender)
set theLocalFilepath to (choose folder)
tell application "Finder" to set theLocalFileURL to URL of theLocalFilepath
log theLocalFileURL
theLocalFilepathWidget's setURL_(theLocalFileURL)
end theChooseFolder_
2016-04-06 11:35:28.866 Model Updater[7799:303] file:///Users/user/Documents/
2016-04-06 11:35:28.869 Model Updater[7799:303] *** -[ZYXAppDelegate theChooseFolder:]: *** -[NSURL initWithScheme:host:path:]: path file:/Users/user/Documents is not absolute. (error -10000)
It seems to me theLocalFileURL is a URL, but when I try to set the URL of the path control I’m told it’s not absolute.