Re: List of aliases contains alias
Re: List of aliases contains alias
- Subject: Re: List of aliases contains alias
- From: KOENIG Yvan <email@hidden>
- Date: Sun, 13 May 2012 09:47:29 +0200
Le 13 mai 2012 à 03:37, Shane Stanley a écrit : On 11/05/2012, at 6:15 PM, Christopher Stone wrote: Now this is weird. I drop 35 items on the following in an app, and it gives me a length of 7.
on open x
display dialog (length of x)
end open
I drop 10 items from a different folder, and it returns a length of 2.
For anyone following, we continued this discussion elsewhere. It seems that in 10.7, any .dmg files are silently ignored. It happened that Chris's sample files were mostly .dmg files. That's weird enough, but what's even weirder is that if all the files dragged are .dmg, they are handled fine.
Hello
I tested running 10.7.4 in French.
The dropped items were : two dmg files one sparsebundle one application
and I got a correct [ 4 ]
Same behavior with length of x and count x.
If somebody is forced to use a system behaving flawlessly, there is a neat workaround :
on open x tell application "Finder" to set x to selection as alias list display dialog (length of x) end open
Yvan KOENIG (VALLAURIS, France) dimanche 13 mai 2012 09:47:25
|
_______________________________________________
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