• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Calling AppleScript from delegate methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Calling AppleScript from delegate methods
      • From: Shane Stanley <email@hidden>
References: 
 >Calling AppleScript from delegate methods (From: Steve Mills <email@hidden>)
 >Re: Calling AppleScript from delegate methods (From: Shane Stanley <email@hidden>)

  • Prev by Date: Keycode - dead hourse
  • Next by Date: Re: Calling AppleScript from delegate methods
  • Previous by thread: Re: Calling AppleScript from delegate methods
  • Next by thread: Re: Calling AppleScript from delegate methods
  • Index(es):
    • Date
    • Thread