• 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 keeps firing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Folder Action keeps firing


  • Subject: Folder Action keeps firing
  • From: Tony Wilson <email@hidden>
  • Date: Fri, 29 Aug 2003 11:14:53 -0500

The first time I've used 'Folder Actions' in OS X.
My problem is the script is repeatedly fired.
I added the return to no avail.

on adding folder items to this_folder after receiving these_items
set posPath to POSIX path of item 1 of these_items
set prePend to the clipboard & "_"
set text item delimiters to "/"
set pathItems to text items of posPath
set oldN to item -1 of pathItems
set newN to prePend & oldN
set mvPath to items 1 thru -2 of pathItems & newN as string
set text item delimiters to ""
set mvCom to "mv '" & posPath & "' " & mvPath
do shell script mvCom
return
end adding folder items to

Thanks;
Tony
_______________________________________________
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: Scripting the Location
  • Next by Date: Re: off the wall question…
  • Previous by thread: Re: off the wall question…
  • Next by thread: New Celiac Support group forming in Southwestern Chicago Suburbs
  • Index(es):
    • Date
    • Thread