• 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: [Slightly OT] Get Finder comments using Shell Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Slightly OT] Get Finder comments using Shell Script


  • Subject: Re: [Slightly OT] Get Finder comments using Shell Script
  • From: Rob Stott <email@hidden>
  • Date: Thu, 13 Dec 2007 09:02:05 +0000


On 12 Dec 2007, at 13:11, Philip Aker wrote:

What happens when you run the script with osascript?
osascript -e 'tell application "Finder" to get comment of ((POSIX file "/Users/me/Desktop/file.rtf") as alias)'


Works great!

I'm kicking myself for not thinking of that.

Thanks very much!

Rob

















Important: This message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination or copying of the communication is strictly prohibited. If you have received this communication in error, please notify the writer immediately by telephone and return the original message via postal service to the writer's attention at the above address. Thank you.

Watt Gilchrist Limited. Albion Mills, Albion Road. Bradford, BD10 9TQ
Registered in England
873405

_______________________________________________
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: [Slightly OT] Get Finder comments using Shell Script
      • From: Philip Aker <email@hidden>
References: 
 >Wow, AppleScript is tough! (From: Richard Doust <email@hidden>)
 >Re: Wow, AppleScript is tough! (From: IMAPRH/privat <email@hidden>)
 >Re: Wow, AppleScript is tough! (From: Michelle Steiner <email@hidden>)
 >Re: Wow, AppleScript is tough! (From: IMAPRH/privat <email@hidden>)
 >Re: Wow, AppleScript is tough! (From: Michelle Steiner <email@hidden>)
 >[Slightly OT] Get Finder comments using Shell Script (From: Rob Stott <email@hidden>)
 >Re: [Slightly OT] Get Finder comments using Shell Script (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: Application responses, Timeouts, Try statements, Activate - how do they really work?
  • Next by Date: Re: [Slightly OT] Get Finder comments using Shell Script
  • Previous by thread: Re: [Slightly OT] Get Finder comments using Shell Script
  • Next by thread: Re: [Slightly OT] Get Finder comments using Shell Script
  • Index(es):
    • Date
    • Thread