Re: Applescript to read metadata of iMovie clips?
Re: Applescript to read metadata of iMovie clips?
- Subject: Re: Applescript to read metadata of iMovie clips?
- From: Tom Robinson <email@hidden>
- Date: Tue, 18 Jan 2005 14:51:03 +1300
On 13 Jan 2005, at 23:00, Curtis Almond <email@hidden> wrote:
I would like to find a way to pull the date recorded from an iMovie
clip and then rename the file based off the date the video was shot.
I did a similar thing--setting the file creation date off the date
embedded in AVI files. I looked at where the date was located from hex
dumping the file, then read in that portion of the file.
It's worked fine for me, but then all my AVIs are coming from my
digital camera, so there's no consistency problems (maybe the AVI specs
say the date can move...)
Anyway, if it helps, here's the relevant code:
-- Read the movie creation date (found from hexdump'ing the file) --
"Tue Dec 17 18:31:38 2002"
set RawDate to read ThisFile from 321 for 24
Then it's a matter of converting RawDate to an AppleScript date.
Cheers
--
The PC demonstrated that the business user would gladly forego
graphical bells and whistles and seamless system integration and would
tolerate a large dose of flakiness in order to save on price—Michael
Hiltzik, Dealers of Lightning
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden