Re: Can a Creation Date be Modified with ASObjC?
Re: Can a Creation Date be Modified with ASObjC?
- Subject: Re: Can a Creation Date be Modified with ASObjC?
- From: Christopher Stone <email@hidden>
- Date: Sun, 26 Jun 2016 22:35:32 -0500
On Jun 26, 2016, at 19:04, Shane Stanley <email@hidden> wrote:
Sure. This requires 10.11 for the built-in bridging of the AS date to an NSDate; for 10.10 you'd need to use a handler to do the conversion.
Many thanks.
So the mod-date key would be:
set {theResult, theError} to theURL's setResourceValue:theDate forKey:(current application's NSURLContentModificationDateKey) |error|:(reference)
Is there a better listing of the available keys than this?
-- Take Care, Chris
|
_______________________________________________
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