I'm creating alias files using bookmark data, as in the docs: NSData *bookmarkData = [url bookmarkDataWithOptions:NSURLBookmarkCreationSuitableForBookmarkFile includingResourceValuesForKeys:nil relativeToURL:nil error:&error];
[NSURL writeBookmarkData:bookmarkData toURL:bookmarkURL options:0 error:&error]; When I look in the Finder, a Finder-created alias of the same file is listed as 144KB, while the one I saved is 96KB. I'm curious about what's in that extra 48KB. I had a look in Terminal and got this: Shanes-iMac:~ shane$ ls -laoO /Users/shane/Desktop/untitled\ folder total 496 drwxr-xr-x 5 shane - 170 14 Apr 08:44 . drwx------@ 310 shane - 10540 14 Apr 08:44 .. -rw-r--r--@ 1 shane - 6148 14 Apr 08:44 .DS_Store -rw-r--r--@ 1 shane - 48296 13 Apr 22:16 key path samples copy.scpt alias 5 -rw-r--r--@ 1 shane - 48360 13 Apr 22:31 key path samples copy.scpt alias 6 IOW, there's only 64 bytes difference between them -- meanwhile another 48KB seems unaccounted for. Does anyone have an explanation? And can I assume my bookmark-produced files will behave the same as Finder-created ones? -- Shane Stanley <sstan...@myriad-com.com.au> 'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/> _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com