• 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: Detect if folder is open/closed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detect if folder is open/closed


  • Subject: Re: Detect if folder is open/closed
  • From: Yvan KOENIG <email@hidden>
  • Date: Sat, 11 Apr 2015 17:29:14 +0200


Le 11/04/2015 à 16:20, Robert Poland <email@hidden> a écrit :

Hi,

I have a Keyboard Maestro shortcut that opens a folder that resides on the desktop.

I would like to detect if that folder is already open and use the same shortcut to close it. Even if there are many other folders open.

I would use these instructions to get the path to open folders :

tell application "Finder"
set theOpenFolders to target of every window as alias list
end tell


Yvan KOENIG (VALLAURIS, France) samedi 11 avril 2015 17:29:08



 _______________________________________________
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/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Detect if folder is open/closed
      • From: Robert Poland <email@hidden>
References: 
 >Detect if folder is open/closed (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Detect if folder is open/closed
  • Next by Date: Re: Detect if folder is open/closed
  • Previous by thread: Re: Detect if folder is open/closed
  • Next by thread: Re: Detect if folder is open/closed
  • Index(es):
    • Date
    • Thread