Re: Finder Copy to 'Cleanup At Startup' Folder in Leopard
Re: Finder Copy to 'Cleanup At Startup' Folder in Leopard
- Subject: Re: Finder Copy to 'Cleanup At Startup' Folder in Leopard
- From: Philip Aker <email@hidden>
- Date: Sun, 23 Nov 2008 16:19:53 -0800
On 2008-11-23, at 15:42:24, Jeffrey Berman (jberman) wrote:
Good question. Because of the increasing restrictions due to the
aggressive
security policies being put in place lately, I wouldn't be surprised.
The following works form me on Leopard. I expect it will work on
Tiger (but
have not tested directly):
set garbage to POSIX path of ((path to desktop as text) & "garbage")
set flnt to POSIX path of (path to "flnt")
do shell script "mv -f " & quoted form of garbage & space & quoted
form of flnt
However, I was wondering whether this is a known limitation with
AppleScript in Leopard. Anyone know?
I don't know for sure by any official channel, but I think I see the
problem.
If I create a folder on my desktop named ".bob" (i.e. it's invisible)
and try to move any old file into it via the Finder, it fails even
though the alias is valid (because I can do 'info for' on the alias).
The "flnt" folder is also invisible (although marked as such by a
different mechanism). Therefore Leopard Finder chokes on invisible
folders. If the behavior worked in Tiger but now doesn't on Leopard, I
think it's a bug <https://bugreport.apple.com/>.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
_______________________________________________
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