Re: mdls & .app?
Re: mdls & .app?
- Subject: Re: mdls & .app?
- From: Steve Thompson <email@hidden>
- Date: Sun, 20 Feb 2011 08:44:23 +0000
On 20 Feb 2011, at 03:36, Christopher Stone wrote: # Does not work: set theApp to "/Applications/TextEdit.app" set cmd to "mdls " & theApp do shell script cmd
It works here:
set theApp to "/Applications/TextEdit.app" set cmd to "mdls -name kMDItemLastUsedDate " & theApp do shell script cmd
tell current application do shell script "mdls -name kMDItemLastUsedDate /Applications/TextEdit.app" --> "kMDItemLastUsedDate = 2011-02-09 22:09:20 +0000" end tell Result: "kMDItemLastUsedDate = 2011-02-09 22:09:20 +0000"
What do you get?
Steve |
_______________________________________________
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
References: | |
| >mdls & .app? (From: Christopher Stone <email@hidden>) |