• 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: Passing argumenst to C executable from Apple script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing argumenst to C executable from Apple script


  • Subject: Re: Passing argumenst to C executable from Apple script
  • From: Philip Aker <email@hidden>
  • Date: Fri, 18 Apr 2008 08:14:46 -0700

On 08-04-18, at 08:03, Mark J. Reed wrote:

While on the subject, is there a simple way, given an alias or a file object, to get its containing folder as the same sort of object, without having to do text item splitting on the pathname or whatever?

Not really. info for, doesn't provide the container, and alias as a class has no properties. Shame.

set ptd to path to desktop folder
tell application "Finder" to container of ptd as alias

Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@

Sent from my SE/30

 _______________________________________________
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: Passing argumenst to C executable from Apple script
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Passing argumenst to C executable from Apple script (From: SVV Satyanarayana <email@hidden>)
 >Re: Passing argumenst to C executable from Apple script (From: Philip Aker <email@hidden>)
 >Re: Passing argumenst to C executable from Apple script (From: SVV Satyanarayana <email@hidden>)
 >Re: Passing argumenst to C executable from Apple script (From: "Mark J. Reed" <email@hidden>)
 >Re: Passing argumenst to C executable from Apple script (From: "Mark J. Reed" <email@hidden>)
 >Re: Passing argumenst to C executable from Apple script (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Passing argumenst to C executable from Apple script
  • Next by Date: Is there the equivalent of "any item of"
  • Previous by thread: Re: Passing argumenst to C executable from Apple script
  • Next by thread: Re: Passing argumenst to C executable from Apple script
  • Index(es):
    • Date
    • Thread