• 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 folders (recursively) in AS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: copy folders (recursively) in AS


  • Subject: Re: copy folders (recursively) in AS
  • From: pete boardman <email@hidden>
  • Date: Fri, 11 Nov 2005 09:15:20 +0000

On 11 Nov 2005, at 03:49, Michael Silva wrote:

I'm very new to AS. I want to copy a folder and all its contents to another location. How can that be done?

Note that the folder is really a .wflow (Automator workflow). I would like to simply copy the entire directory structure/contents of the workflow to another location using AS.

The Finder will handle the workflow as a single package for you:

--
set wf to alias "whatever .... w.workflow:"
tell application "Finder" to duplicate wf to (path to desktop folder)
--

Pete


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >copy folders (recursively) in AS (From: Michael Silva <email@hidden>)

  • Prev by Date: copy folders (recursively) in AS
  • Next by Date: Printing to PDF File
  • Previous by thread: copy folders (recursively) in AS
  • Next by thread: Printing to PDF File
  • Index(es):
    • Date
    • Thread