Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Beta] Closing tabs causes the browser to lose focus
#5
This seems to work with double-clicking:
Code:
setTitleMatchMode regex
#installMouseHook
#keyHistory 20

#ifwinactive ahk_exe \\Cent\s*Browser\\
~^w::
  winWaitNotActive,,,1
  ifWinNotActive
    winActivate
  return
~LButton::
~MButton up::
  mouseGetPos mx, my
  winGetPos x, y, w, h
  if (mx > x && mx < x + w && my > y && my < y + 64
  && (A_ThisHotkey != "~LButton" || A_PriorKey = "LButton" && A_TimeSincePriorHotkey < 500)) {
    winWaitNotActive,,,1
    ifWinNotActive
      winActivate
  }
  return
Reply


Messages In This Thread
RE: [Beta] Closing tabs causes the browser to lose focus - by wOxxOm - 03-12-2019, 05:08 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)