Re: Error -10000 for one user
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