• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Finder/Folder Info Updating
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Finder/Folder Info Updating (From: Arvid Burns <email@hidden>)

  • Prev by Date: Entourage - save email as html
  • Next by Date: Re: applescript and browsers
  • Previous by thread: Finder/Folder Info Updating
  • Next by thread: Folder action on server
  • Index(es):
    • Date
    • Thread