• 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: copy files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: copy files


  • Subject: Re: copy files
  • From: Laine Lee <email@hidden>
  • Date: Wed, 04 Jun 2008 10:46:46 -0500
  • Thread-topic: copy files

Title: Re: copy files
Regarding <http://bbs.macscripter.net/viewtopic.php?pid=38240>, I noticed that "replacing ask" compiles in the Finder command, but doesn't appear to yield any useful results (10.5.3). Droplet to illustrate (drop a file on it, then do it again):

on open theFiles
    tell application "Finder"
        try
            set storagefolder to make new folder at desktop with properties {name:"storagefolder"}
        on error
            set destpath to (((path to desktop) as Unicode text) & "storagefolder:")
            set storagefolder to destpath as alias
        end try
        repeat with thefile in theFiles
            duplicate thefile to storagefolder replacing ask
        end repeat
    end tell
end open

--
Laine Lee
 _______________________________________________
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: copy files
      • From: Michelle Steiner <email@hidden>
References: 
 >Re: copy files (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Running ruby (utilizing appscript) from do shell script
  • Next by Date: Re: Script for Auto-login to websites
  • Previous by thread: Re: copy files
  • Next by thread: Re: copy files
  • Index(es):
    • Date
    • Thread