Re: Finder/Folder Info Updating
Re: Finder/Folder Info Updating
- Subject: Re: Finder/Folder Info Updating
- From: Graff <email@hidden>
- Date: Wed, 21 Jan 2004 17:34:18 -0500
Just use the "update" command on the file reference. Here's the
dictionary reference for it, it is found in the Finder dictionary under
"Finder Items":
update: Update the display of the specified object(s) to match their
on-disk representation
update reference -- the item to update
[necessity boolean] -- only update if necessary (i.e. a finder
window is open). default is false
[registering applications boolean] -- register applications.
default is true
So, for example:
----------
-- get a file reference
set theFile to choose file
-- do some stuff here
-- update the file's information
update theFile
----------
I believe this will do what you are asking.
- Ken
On Jan 21, 2004, at 11:32 AM, Arvid Burns wrote:
HI,
When attempting to get a file modification date on a file residing on a
server I'm getting no values. I'm having to open the window of the
folder
forcing the finder to read the contents then I can get mod dates,
listings
etc. This particular instance involves volumes on a W2K server but I
get the
same results Xinet Fullpress server with the same results.
Does anyone know of an applescript method for updating this info
without
opening a window?
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.