rentzsch / access-date
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (2)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
English.lproj/ | ||
| |
Info.plist | ||
| |
README.markdown | ||
| |
access date demo.applescript | ||
| |
access date.r | ||
| |
access date.sdef | Sat May 26 17:08:35 -0700 2007 | |
| |
access date.xcodeproj/ | ||
| |
access_date.c |
README.markdown
access date
A simple AppleScript Addition (osax) for Mac OS X Leopard 10.5 and Snow Leopard 10.6 that grants AppleScript scripts fast, native access to the two forms of a file's last access date:
unix access date: the "time of last access" field (
st_atimespec) from callingstat(2).metadata access date: the
kMDItemLastUsedDateattribute from Metadata.framework.
The unix access date tends to be more accurate than the metadata access date -- too accurate. Even Quick-Looking a file will update its unix access date, which makes sense but often is too twitchy for our purposes.
So my scripts pretty much exclusively use metadata access date, which is far less twitchy.

