Re: [Slightly OT] Get Finder comments using Shell Script
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