• 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: Gnarlodious <email@hidden>
  • Date: Sun, 21 Dec 2003 20:52:35 -0700

That's the first thing I tried and it didn't work. But now I know why,
because Finder can't access an invisible folder. So if I say:

tell application "Finder" to open folder "Applications" of the startup disk

App folder opens OK, but:

tell application "Finder" to open folder "Volumes" of the startup disk

sends error

Finder got an error: Can't get folder "Volumes" of startup disk.


Or am I doing something horribly wrong here?

-- Gnarlie
http://www.Spectrumology.com
Spectrumology is the science of chaos.



Entity Graff spoke thus:

> 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: Michael Terry <email@hidden>
References: 
 >Re: Panther bug: "Volumes" folder not updating (From: Graff <email@hidden>)

  • Prev by Date: Re: Show/Hide invisibles
  • Next by Date: Re: Sorting IP addresses - Progress
  • Previous by thread: Re: Panther bug: "Volumes" folder not updating
  • Next by thread: Re: Panther bug: "Volumes" folder not updating
  • Index(es):
    • Date
    • Thread