• 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: Panther bug: "Volumes" folder not updating
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Panther bug: "Volumes" folder not updating


  • Subject: Re: Panther bug: "Volumes" folder not updating
  • From: Graff <email@hidden>
  • Date: Sun, 21 Dec 2003 21:58:31 -0500

From the Finder dictionary -> Finder items -> Commands
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 if you call update on the item before accessing it then its status should be updated.

- Ken

On Dec 21, 2003, at 9:35 PM, Gnarlodious wrote:

I'm having a prob with a special Applescript that mounts a server and
accesses it through the Volumes folder. It seems that when the server is
ejected the Volumes folder doesn't update so an alias to a nonexistent disk
is there and the script errors.

If I open the Volumes folder I glimpse the offending alias a moment before
it disappears. This appears to be a bug in Panther.

After I force the folder to update this way the script runs normally.

Anyone know a way to force the folder to update without opening it?

-- Gnarlie
http://www.Gnarlodious.com/iTunes.html (Page generated by Applescript)
Gnarlodious iTunes Music
_______________________________________________
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.

  • Follow-Ups:
    • Re: Panther bug: "Volumes" folder not updating
      • From: Gnarlodious <email@hidden>
References: 
 >Panther bug: "Volumes" folder not updating (From: Gnarlodious <email@hidden>)

  • Prev by Date: Panther bug: "Volumes" folder not updating
  • Next by Date: perl scripting in AppleScript
  • Previous by thread: Panther bug: "Volumes" folder not updating
  • Next by thread: Re: Panther bug: "Volumes" folder not updating
  • Index(es):
    • Date
    • Thread