• 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
Checking If A Finder Window Is Already Open
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Checking If A Finder Window Is Already Open


  • Subject: Checking If A Finder Window Is Already Open
  • From: revDAVE <email@hidden>
  • Date: Thu, 18 Jan 2007 21:12:14 -0800
  • Thread-topic: Checking If A Finder Window Is Already Open

Newbie help needed.....

Currently I have a small script:

tell application "Finder"
    activate

make new Finder window
set target of Finder window 1 to folder "thisone" of disk "drive1"

End tell

The problem is if I run it 2x then it opens 2 copies of the same window ...

Is there a way to first check if that window is already open and only open
it if it isn't already open?

Thanks in advance - dave




--
Thanks - RevDave
email@hidden
[db-lists]



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Checking If A Finder Window Is Already Open
      • From: Andrew Oliver <email@hidden>
  • Prev by Date: Re: Text items
  • Next by Date: Re: Checking If A Finder Window Is Already Open
  • Previous by thread: Matching Color Values
  • Next by thread: Re: Checking If A Finder Window Is Already Open
  • Index(es):
    • Date
    • Thread