How can I find an OSX application that is running but whose window is not visible?
Solution 1
Open AppleScript Editor and insert the following script code, replacing Safari
by your application's name:
tell application "System Events"
tell process "Safari"
repeat with wnd in every window
set position of wnd to {40, 40}
end repeat
end tell
end tell
Check System Preferences » Displays if you have multiple displays connected (could be virtual) and whether a button Gather Windows is available. Click it.
You could also try Mercury Mover, a software that allows you to control window movements using the keyboard.
Solution 2
I encountered a similar problem once when playing with Multiple Displays. I resolved it like this:
- I reduced the resolution of the display to a resolution lower than my current one causing the window to be auto re-positioned onto a visible portion of the display
- I dragged the window to a different position;
- I switched the resolution back to the original one showed the window.
You can find the display settings at:
- System Preferences -> Display -> Resolution
- Changed to Scaled -> Selected a lower one (e.g. select 1344 x 490 down from 1440 x 900)
Solution 3
Here is what I do in that situation:
- Right click on the app icon in the dock
- Go to Options
- Select the Desktop you want to use as shown in the image below.
Solution 4
Select the application. From the application window select zoom. The window should be visible on the screen. From the application window select zoom again to set the size of the window as previously defined.
Solution 5
This is a frustrating problem. I solved this by doing the following:
Select application by moving cursor to pop-up application list OR by hitting F3 & then clicking on it where it appears from its hidden location.
Go to drop-down window that appears at the top of the screen and select View --> Enter Full Screen.
Hope that helps!
Related videos on Youtube
S White
Updated on September 18, 2022Comments
-
S White almost 2 years
I'm running an application on my Macbook Pro. Since yesterday I can't see the application's main window. Its icon is showing in the doc and its options are showing in the top menu bar on the desktop. The program is running normally in all other respects as far as I can tell (it's an audio sampler which I am triggering via an external pedal, so I can tell its working).
The window did show up once in Expose but now it is not showing up there either (no idea why). I've tried adding the application to every space in 'Spaces' and also removing the preferences file but neither of those helped. I have also re-installed the application.
How can I "find" this window?
-
S White almost 12 yearsBrilliant! I ran the script (replacing the name as described) and initially got the following error - "System Events got an error: Access for assistive devices is disabled." After enabling access for assistive devices via the Univseral Access pane in System Preferences I ran the script again and - viola - up popped the window. Thanks Daniel, you really helped me out here!
-
Julia almost 6 yearsthank you! this worked! jeez, took me ages, and some of answers i found were really complicated, i was hoping for something like this
-
displacedtexan over 4 yearsThank you! This was the only one that worked for me!