Re: Getting capture date of a photo
Re: Getting capture date of a photo
- Subject: Re: Getting capture date of a photo
- From: Shane Stanley <email@hidden>
- Date: Tue, 20 Mar 2018 22:24:09 +1100
On 20 Mar 2018, at 9:51 pm, Shane Stanley <email@hidden> wrote:
>
> You can use a command-line tool to get the XMP metadata.
Actually, I think this should get you all the metadata:
use AppleScript version "2.4" -- Yosemite (10.10) or later
use framework "Foundation"
use scripting additions
use script "BridgePlus" version "1.3.2"
load framework
set theMetadata to (current application's SMSForder's
metadataFromImage:"/path/to/image" |error|:(missing value)) as record
It requires the BridgePlus library.
--
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