Re: Calling AppleScript from delegate methods
Re: Calling AppleScript from delegate methods
- Subject: Re: Calling AppleScript from delegate methods
- From: Steve Mills <email@hidden>
- Date: Thu, 06 Oct 2016 08:17:26 -0500
On Oct 5, 2016, at 23:55:59, Shane Stanley <email@hidden> wrote:
>
> You need to make pf a path -- as it stands, you're saying something like 'folder file "path..."'
It does work when it's not in that handler.
set p to "/Users/tut/Pictures"
set pf to POSIX file p
tell app "Finder"
set f to folder pf
end tell
—>folder "Pictures" of blah blah
Is something preventing normal object resolution in the handler?
--
Steve Mills
Drummer, Mac geek
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden