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

Re: Newbie plea


  • Subject: Re: Newbie plea
  • From: Dave Balderstone <email@hidden>
  • Date: Thu, 16 Nov 2000 08:00:03 -0600

>I have written a simple script which is attached to a folder on my desktop.
>When a file is dropped into the folder, the script changes the file type and
>creator type to what I need.
>
>The script works fine as long as the folder is open and I drag the file into
>the window. If I drop the file onto the folder icon, it merely copies into
>the folder with no changes. What am I missing?
>

Folder actions only work if the folder is open.

Adding this to the end of your script will keep it open:

on closing folder window for this_folder
beep
tell application "Finder"
open this_folder
end tell
end closing folder window for

The extension "Folder Actions Plus" will allow FA's to operate on
closed folders, but I don't use it so can't recommend or caution.

Dave Balderstone
Director, Technical Services
Western Producer Publications, Saskatoon, Canada


  • Follow-Ups:
    • Re: Newbie plea
      • From: Brad <email@hidden>
References: 
 >Newbie plea (From: email@hidden)

  • Prev by Date: Newbie plea
  • Next by Date: Hello - First-time post
  • Previous by thread: Newbie plea
  • Next by thread: Re: Newbie plea
  • Index(es):
    • Date
    • Thread