Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
A Sen
18 discussion posts
Hello, I've been trying without success to create a scripted function that will cycle through all windows belonging to a particular application. For example if I have multiple Firefox windows open, I'd like to be able to cycle through them all by pressing a hotkey. Similar to what MacOS does with Command-` if that means anything here. I couldn't find anything already existing. Does anyone know how I could create this function please? Thanks.
Sep 1, 2021  • #1
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Hello,

Are you looking to cycle focus through them, similar to what Alt+Tab does?

Thanks!
Sep 2, 2021  • #2
User Image
A Sen
18 discussion posts
Hi Owen, not quite. I'd like to be able to just press a key and have the next window of the same type get focus, then the next and the next until eventually the first one comes back again. So if, say, I have 4 Firefox windows open, pressing a key brings each one to the front in turn. I have tried getting the exe name of the active window with BFS.Application.GetMainFileByWindow(windowHandle) then messing around with SetWindowPos but I haven't managed to get anything much working.
Sep 2, 2021  • #3
User Image
A Sen
18 discussion posts
Managed to get it working :)
Sep 5, 2021  • #4
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)