• 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: Shane Stanley <email@hidden>
  • Date: Thu, 06 Oct 2016 15:55:59 +1100

On 6 Oct. 2016, at 3:08 pm, Steve Mills <email@hidden> wrote:

> 	set pf to POSIX file destFold
>
> 	tell application "Finder"
> 		activate
> 		set f to folder pf
> 		open f
> 	end tell

You need to make pf a path -- as it stands, you're saying something like 'folder file "path..."'

--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>



 _______________________________________________
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: Steve Mills <email@hidden>
References: 
 >Calling AppleScript from delegate methods (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: Calling AppleScript from delegate methods
  • Next by Date: Re: Accessibility
  • Previous by thread: Re: Calling AppleScript from delegate methods
  • Next by thread: Re: Calling AppleScript from delegate methods
  • Index(es):
    • Date
    • Thread