• 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: Re: Checking 2 folders and copy if new
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Checking 2 folders and copy if new


  • Subject: Re: Re: Checking 2 folders and copy if new
  • From: Lachlan Deck <email@hidden>
  • Date: Fri, 17 May 2002 11:12:07 +1000

Hi there,

From: Bjorn Van Blanckenberg <email@hidden>

Hi Lachlan Deck

Script works great
Thanks

Hooray! You got it working...

Now, I imagine you are probably syncing more than one set of folders, yes?

If so, the next step is to do one of the following:

A)
create a list of paired lists at the top of the script and loop through it in the on run command...
e.g.,
property theFolders : {,
{folder1A, folder1B, true}, ,
{folder2A, folder2B, false}, ,
...
{folderNA, folderNB, true or false}}

on run
repeat with i from 1 to the number of items in theFolders
set this_list to item i of theFolders
set f1 to item 1 of this_list
set f2 to item 2 of this_list
set theBool to item 3 of this_list
sync_folders(f1, f2, theBool)
end repeat
end run

B)
similar to (A) but read in from a file the above things in a tab delimited list.

with regards,

--
Lachlan Deck
email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Generating applescript files
  • Next by Date: Re: Re: automating charts and graphs
  • Previous by thread: Re: Checking 2 folders and copy if new
  • Next by thread: RE: briskets [redux]
  • Index(es):
    • Date
    • Thread