• 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: Error -10000 for one user
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error -10000 for one user


  • Subject: Re: Error -10000 for one user
  • From: Yvan KOENIG <email@hidden>
  • Date: Tue, 19 Apr 2016 16:11:59 +0200

Oops, no need to coerce as alias, the list items are already aliases !

set theseItems to (choose file with prompt "select a pdf to upload" with multiple selections allowed)
-- tell application "Finder"
set homePath to (path to home folder) as text # path to home folder belongs to Standard Additions
--end tell
set thePath to homePath & "Desktop: Blue"
tell application "Finder"
repeat with thisItem in theseItems # I don't like to use indexes in loops
set thisItem to contents of thisItem # would be an alias
duplicate thisItem to thePath
end repeat
end tell


Yvan KOENIG running El Capitan 10.11.4 in French (VALLAURIS, France) mardi 19 avril 2016 16:11:29



 _______________________________________________
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

References: 
 >Re: Error -10000 for one user (From: Steve Mills <email@hidden>)
 >Re: Error -10000 for one user (From: RJay Hansen <email@hidden>)
 >Re: Error -10000 for one user (From: Yvan KOENIG <email@hidden>)
 >Re: Error -10000 for one user (From: RJay Hansen <email@hidden>)
 >Re: Error -10000 for one user (From: Axel Luttgens <email@hidden>)
 >Re: Error -10000 for one user (From: Yvan KOENIG <email@hidden>)

  • Prev by Date: Re: Error -10000 for one user
  • Next by Date: Lost live view of page build process since InDesign CC2015
  • Previous by thread: Re: Error -10000 for one user
  • Next by thread: Re: Error -10000 for one user
  • Index(es):
    • Date
    • Thread