• 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
AppleScript Droplet seems to receive strange file list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AppleScript Droplet seems to receive strange file list


  • Subject: AppleScript Droplet seems to receive strange file list
  • From: Takaaki Naganoya <email@hidden>
  • Date: Fri, 17 Feb 2017 22:11:47 +0900

I confirmed the droplet’s received file list on macOS 10.12.4(beta).
It seems strange. Sometimes, they are split.
If fileList contains files, file bundles and folders, the length of it become strange.
Something is wrong with AppleScript droplet, I think.

<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 i as string
display dialog j
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: Yvan KOENIG <email@hidden>
  • Prev by Date: Re: set theAttachments to theMessage's mail attachments fails when called by a rule
  • Next by Date: Re: AppleScript Droplet seems to receive strange file list
  • Previous by thread: Re: set theAttachments to theMessage's mail attachments fails when called by a rule
  • Next by thread: Re: AppleScript Droplet seems to receive strange file list
  • Index(es):
    • Date
    • Thread