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

Re: Watched Folders


  • Subject: Re: Watched Folders
  • From: Chad Lindsey <email@hidden>
  • Date: Tue, 22 Jul 2003 14:03:28 -0400

Andrew,
I tried this, but nothing uploaded. I could see it running the loop, but it
did not upload the files.
Thanks, Chad

> Your problem is that you're calling 'list folder' to get the folder's
> contents. This will, of course, include all existing files in that folder.
>
> Instead, use the list of files that are passed into your handler.
>
> In the case of:
>
> on adding folder items to this_folder after receiving these_items
>
> "these_items" is the list of files that have just been added. If you change
> your upload line to reference 'these_items' rather than the results of the
> list folder command, you'll be all set.
>
> So, instead of:
>
> repeat with myitem in myFolderItems
> use:
> repeat with myitem in these_items
>
> Andrew
> :)


--
Chad Lindsey
_______________________________________________
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.

References: 
 >Re: Watched Folders (From: Andrew Oliver <email@hidden>)

  • Prev by Date: Re: of Ethan and Euthanasia
  • Next by Date: Re: Newbie detail
  • Previous by thread: Re: Watched Folders
  • Next by thread: Re: Watched Folders
  • Index(es):
    • Date
    • Thread