Skip to main content

All Questions

Tagged with
-1 votes
1 answer
35 views

Website no longer recognizes popup window name. Javascript

Tell me if this makes any sense. I have been accessing a website through a popup window for years. using window.open('https://example.com',mypopup,parameters); I click a button in my main window, and ...
CheeseFlavored's user avatar
2 votes
1 answer
244 views

How to prevent my window from gaining input focus?

I am implementing an AutoComplete, but one that will match text anywhere in the list of enumerated strings—rather than just the beginning of a suggestion as is the behavior of the built-in ...
Ian Boyd's user avatar
  • 253k
0 votes
0 answers
48 views

How to control focus events in tkinter with root.overrideredirect(True)?

Details: Python 3.12.3 The tkinter <FocusOut> event should be triggered when the window looses focus. This works just fine in normal windows, but when I do root.overrideredirect(True), the ...
Ayman Al-mankkadhi's user avatar
0 votes
1 answer
27 views

Making Python GTK3 window focus again after calling external application

I have a window with a button "Next". When clicked, or when the keyboard button "N" is hit, it opens a url in a browser. The desired behaviour is that the window should always be ...
astabada's user avatar
  • 1,039
0 votes
0 answers
14 views

AppleScript, Safari, bring a background tab in a background window to the front?

I try to find an existing Safari tab with a certain URL and bring it to the front. First, some code that finds the tab: repeat with theWin in windows repeat with theTab in tabs of theWin ...
d-b's user avatar
  • 921
0 votes
1 answer
101 views

Force window to be active even when tab is not in focus

I'm programming an incremental game using Javascript and would like the game to remain active even when the tab is minimized or not curently in focus in the browser. I've done some research but couldn'...
emanuxd11's user avatar
1 vote
1 answer
200 views

How to Set an Open Explorer Window to be Topmost in PowerShell Without Extra Modules?

In PowerShell how can I set an open explorer window topmost without any extra modules the explorer window is is c:\users\public\fonts Regards I found this one liner (New-Object -ComObject WScript....
ITGUY89384's user avatar
-1 votes
1 answer
227 views

Detect if browser tab/window is focused or currently selected

I am building a trivia quiz game (as a side feature of a main app), and as with any online trivia, obviously you can cheat by googling the answer. However, I want to detect basic navigation away from ...
drdo's user avatar
  • 33
-1 votes
1 answer
89 views

(Electron) How to open/close a window without making it the active application?

Raycast is a perfect example of this. I can open the window with a global shortcut and type in it. When I open/close the window, the application in the top left (macos) doesn't change. How do I do ...
Johnson's user avatar
  • 75
0 votes
1 answer
175 views

How to get inactivity timer to work in tkniter when tkinter window is not active?

I'm having trouble getting a timer (loop or anything) running when the tkinter window is withdrawn or not on top of other windows. The functionality of this is like a small screen saver, start the ...
DBox's user avatar
  • 49
0 votes
1 answer
310 views

How do you change the stacking order of window items in a canvas?

I am trying to make a windows 10 simulation in a canvas of a Tkinter window (ambitious I know) and obviously I need a way to focus the simulated windows (which are ironically canvas window items) when ...
danielshmaniel's user avatar
0 votes
1 answer
498 views

WPF application raises Activated event, but the application is not shown and not in focus

I have two applications. One of them is 3rd party, which sends messages to my WPF app. There are two types of messages: "hide" and "show". On "hide", my app hides itself ...
Ksice's user avatar
  • 3,317
2 votes
1 answer
671 views

Bring openCV window to front with focus on macOS

How to bring an openCV window to foreground with focus? http://www.noah.org/wiki/OpenCV_display_window_on_top_with_focus doesn't do anything. This achieves Topmost, but not Focus: cv2.imshow('foo', ...
P i's user avatar
  • 30.1k
1 vote
1 answer
401 views

Force focus (and restore if minimized) iOS App on macOS

So far I have successfully adapted my app to run on macOS. But there is one thing missing, I want to force-focus my application when a certain notification is triggered. I have tried using the ...
rimes's user avatar
  • 891
0 votes
1 answer
92 views

Java AWT Window management, user input, and focus?

I'm trying to hunt down the source of a bug that relates to window management, and possibly awt specifically. However, I have little to no familiarity with window management in general, or awt, so I'm ...
ad010203's user avatar

15 30 50 per page
1
2 3 4 5
10