Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate

Having a problem with same application switching script

  • Please log in to reply
1 reply to this topic
  • New members
  • 1 posts
  • Last active: Oct 05 2015 02:38 AM
  • Joined: 02 Oct 2015

I've been using this script to cycling between windows of the same application and it is fine. But I'm currently having a problem with Atom editor. My guess is it uses the same class as Google Chrome. So when I press alt+`, it will cycling through Google Chrome and Atom editor windows.


This also happens with Google Chrome and Google Chrome Canary too.


Here is my script.

!`::    ; Last window
WinGetClass, ActiveClass, A
WinActivateBottom, ahk_class %ActiveClass%

Anyone knows how to solve this issue? Thanks  :D

  • Members
  • 252 posts
  • Last active: Nov 07 2015 09:39 PM
  • Joined: 04 Jun 2014
✓  Best Answer

You might try this:

WinGet, ActiveProcName, ProcessName, A
WinActivateBottom, ahk_exe %ActiveProcName%