Greetings to all.
Quick question... How can one tell if Launchpad is open and in the foreground?
Is there some way of doing this through Applescript, or otherwise checking out which process is open in the background?
Near as I can tell, Launchpad is a part of Dock, and Launchpad.app exists solely to poke the Dock and tell it to display Launchpad. Except, the Dock doesn't actually come to the foreground like a normal window or anything when Launchpad is open, so you can't tell if Launchpad is open that way either. And since the Dock is always running in the background, it's impossible to use that process to determine if Launchpad is open as well.
Is there some way of determining if Launchpad is open via Applescript, or some other method?
-SC
Quick question... How can one tell if Launchpad is open and in the foreground?
Is there some way of doing this through Applescript, or otherwise checking out which process is open in the background?
Near as I can tell, Launchpad is a part of Dock, and Launchpad.app exists solely to poke the Dock and tell it to display Launchpad. Except, the Dock doesn't actually come to the foreground like a normal window or anything when Launchpad is open, so you can't tell if Launchpad is open that way either. And since the Dock is always running in the background, it's impossible to use that process to determine if Launchpad is open as well.
Is there some way of determining if Launchpad is open via Applescript, or some other method?
-SC