• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AppleScript Droplet seems to receive strange file list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>

--
Takaaki Naganoya
email@hidden
http://piyocast.com/as/



 _______________________________________________
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

  • Follow-Ups:
    • Re: AppleScript Droplet seems to receive strange file list
      • From: Shane Stanley <email@hidden>
References: 
 >AppleScript Droplet seems to receive strange file list (From: Takaaki Naganoya <email@hidden>)
 >Re: AppleScript Droplet seems to receive strange file list (From: Yvan KOENIG <email@hidden>)
 >Re: AppleScript Droplet seems to receive strange file list (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: AppleScript Droplet seems to receive strange file list
  • Next by Date: Need Reference for "tell application" forms
  • Previous by thread: Re: AppleScript Droplet seems to receive strange file list
  • Next by thread: Re: AppleScript Droplet seems to receive strange file list
  • Index(es):
    • Date
    • Thread