Invisible folder "Volumes"
Invisible folder "Volumes"
- Subject: Invisible folder "Volumes"
- From: Iurista GmbH <email@hidden>
- Date: Mon, 02 Jan 2012 02:21:27 +0100
Hi
does anyone know, why the folder "Volumes" of startup disk behaves otherwise than the other invisible folders on top level.
My test script looks as follows:
===========
tell application "Finder"
activate
set FW1 to Finder window 1
set TG to target of Finder window 1
set TheList to {}
set oldDelims to AppleScript's text item delimiters
set AppleScript's text item delimiters to {":"}
repeat with i from 1 to (number of text items) of (TG as text)
set TheList to TheList & text item i of (TG as text)
end repeat
set AppleScript's text item delimiters to oldDelims
end tell
return TheList
===========
If any of the folders "usr", "bin", "sbin", "cores", "private", ".vol" is frontmost, the script correctly returns {"Startdisk_name", "the_foldername", ""}. If "Volumes" is frontmost, the script returns {"", ""}
How comes?
Rudolf
--
The price of freedom is eternal vigilance (Thomas Jefferson, US President)
This mail is from:
Rudolf O. Durrer
IURISTA CONSULT GmbH
Legal Counselors
Switzerland
email@hidden
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