Re: AppleScript Droplet seems to receive strange file list
Re: AppleScript Droplet seems to receive strange file list
- Subject: Re: AppleScript Droplet seems to receive strange file list
- From: Takaaki Naganoya <email@hidden>
- Date: Sat, 18 Feb 2017 09:29:53 +0900
Shane, I confirmed your point by this script, too.
And the most important point is…the difference between the number of dropped files and the total length of “fileList” are different. Some items are ignored. It is a quite serious incident, I think.
Now, AppleScript droplet does not work correctly, isn’t it?
<AppleScript> on run
end run
on open fileList set aRes to length of fileList display dialog aRes as string
repeat with i in fileList set j to POSIX path of i set aRes to do shell script "xattr " & quoted form of j display dialog j & return & aRes end repeat end open </AppleScript>
|
_______________________________________________
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