| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
You can also use 'do shell' using Ruby to get the date and time a file was last accessed. You have Ruby if you have OS X 10.4 or higher. Just test this in terminal: ruby -e 'puts File.stat("/path/to/your/file.txt").atime' You need to escape the quotes in Applescript for this to work: set tscript to "ruby -e 'puts File.stat(\"/Users/vangelon/Desktop/Untitled.sc45\").atime'" do shell script tscript HTH Vince |
_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-users/email@hidden Archives: http://lists.apple.com/archives/applescript-users This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.