• 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
Folder action dies
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Folder action dies


  • Subject: Folder action dies
  • From: Bert Knabe <email@hidden>
  • Date: Wed, 17 Sep 2003 00:02:13 -0500

Last week I asked for help with a script to copy files from one folder to another. Thanks to Andrew Oliver and Gnarlodious for the help that got it working, and in a much simplified fashion. I connected it to the folder as a folder action, and it worked for about a day. I detached and re-attached it, and it lasted for about a day again, then quit working. I came back to work after two days off - they manually copied the files Sunday and Monday - and did the detach-reattach thing again, and it lasted for about 2 hours before it quit.

I thought a folder action, once set, would work as long as the folder is open. I don't see what I'm doing wrong.

In case it helps, here is the script I finally came up with:

on adding folder items to this_folder after receiving added_items
set old_delimiters to AppleScript's text item delimiters
set AppleScript's text item delimiters to ":"
tell application "Finder"
duplicate added_items to folder "Online:PDF'S:In"
end tell
set AppleScript's text item delimiters to old_delimiters
end adding folder items to

Thank you,

Bert Knabe
Computer Technician
Lubbock Avalanche Journal
806-766-2158
_______________________________________________
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.

  • Follow-Ups:
    • Re: Folder action dies
      • From: Lee Phillips <email@hidden>
    • Re: Folder action dies
      • From: Rob Jorgensen <email@hidden>
  • Prev by Date: Re: Hex > Text
  • Next by Date: Re: Hex > Text
  • Previous by thread: Re: POST format
  • Next by thread: Re: Folder action dies
  • Index(es):
    • Date
    • Thread