Re: Finder Comment
Re: Finder Comment
- Subject: Re: Finder Comment
- From: Paul Skinner <email@hidden>
- Date: Thu, 03 Dec 2009 11:52:17 -0500
Luther,
Have you tried the 'update' command to alert the finder that
something happened to the file while it wasn't looking? I suspect that
is the solution to the finder not displaying shell originated file
changes.
Paul
ps. posting this to the list this time. must remember to reply all.
On Dec 3, 2009, at 11:03 AM, Luther Fuller wrote:
The OS is Snow Leopard 10.6.2.
More info.
I posted the wrong example. Here is the snippet where the problem is
created ...
(newFileName & space & suffixNr & ".emlx")
set newFile to my copyFile(sourceFile, dayFolder, the result)
if class of newFile is alias then
set modification date of newFile to modDate -- date sent
set comment of newFile to (mailComt of headerRecord)
end if
The sourceFile has no comment. The newFile's comment is set in the
last line.
The comment appears correctly in kMDItemFinderComment,
but the Finder does not display this in a few cases.
Hope this clarifies the problem.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
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