subtle gotcha in 10.3.3 Finder copying on networked disk
subtle gotcha in 10.3.3 Finder copying on networked disk
- Subject: subtle gotcha in 10.3.3 Finder copying on networked disk
- From: Charles Arthur <email@hidden>
- Date: Sun, 21 Mar 2004 11:20:02 +0000
Hi..
For a long time I've had a script, bound to a key combo, to copy stories
I've written from one (Appletalk) networked drive to another location on
the same drive.
Up till 10.3.3, it had to be this:
--
with timeout of 60 seconds
tell application "Finder"
try
duplicate selection to folder "Edhns" of folder
"Desks" of folder "Indy Home" of item "Daily News" of folder "Indy1" of
folder "EDITORIAL" of folder "Network" of folder "automount" of folder
"var" of item "private" of startup disk
set theselection to selection
set label index of item 1 of theselection to 6
beep
on error error_msg
activate
display dialog ("Copy script hassle:" & return &
return & error_msg) as string
end try
end tell
end timeout
--
So I'd select the file in the Finder, then do the key combo, and it would
get copied, and coloured in my original networked drive. The huge long path
turned out to be necessary in 10.3, or possibly earlier.
But with the update to 10.3.3 (client), I started getting this message:
"Can't make folder "EdHns" of folder "Desks".... [etc] of item "private"
into a selection."
I thought: I'm not asking you to do that. I'm just asking you to copy the
damn file.
I wondered which of the changes introduced by 10.3.3 could be responsible.
Turned out to be staring me in the face: networked volumes now appear in
the Finder sidebar.
The mount point that appears in the sidebar is "Daily News". And
lo, it turned out that when I commented out everything after that in the
previous script, it ran perfectly.
Definitely one to watch out for if you're using that sort of script and
crossing from 10.3.2 to 10.3.3.
best
Charles
--
----------------------------
http://www.ukclimbing.com : 1200+ British crags, 350+ British climbing
walls - searchable by distance and anything else you care to think of -
with weather forecasts for every one, plus maps, articles, news and
features.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit
http://www.messagelabs.com/email
______________________________________________________________________
_______________________________________________
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.