• 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
How do I close a Finder folder window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I close a Finder folder window?


  • Subject: How do I close a Finder folder window?
  • From: "Joel May" <email@hidden>
  • Date: Wed, 28 Aug 2002 04:16:49 -0500

I can open a finder window just fine, but when I try to close it, I get
an error.



tell app "Finder"

activate

set srcFolder to folder srcPath

open srcFolder -- Works! Window pops up.

.

close srcFolder -- Fails!

end tell





The error box is titled: "Execution Error"

Error box body:

Finder got an error: folder xxx of folder xxx of startup disk doesn't
understand the close message.



Without the close, I have about 20 open windows on my desktop at the end
of the script. Drives me crazy.



Please help.



Thanks in advance.



Joel
_______________________________________________
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: How do I close a Finder folder window?
      • From: Michelle Steiner <email@hidden>
    • Folder Actions in Jaguar
      • From: Mr Tea <email@hidden>
    • Re: How do I close a Finder folder window?
      • From: Mr Tea <email@hidden>
  • Prev by Date: Re: Storing preferences...
  • Next by Date: Re: newbie: How do you copy files?
  • Previous by thread: Re: Setting the bundle package bit
  • Next by thread: Re: How do I close a Finder folder window?
  • Index(es):
    • Date
    • Thread