Skip to content

Commit

Permalink
added IfWinActive to trigger the skript only when firefox is in the f…
Browse files Browse the repository at this point in the history
…oreground.
  • Loading branch information
etgocode committed Jul 14, 2019
1 parent 151ad71 commit 44c3112
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions de/tabtowindow.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

#IfWinActive, ahk_class MozillaWindowClass
^!n::
cal := 70 ; time in ms between the actions. Has to be tweaked according to system performance.
send {F6}
Expand Down
1 change: 1 addition & 0 deletions en-US/tabtowindow.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

#IfWinActive, ahk_class MozillaWindowClass
^!n::
cal := 70 ; time in ms between the actions. Has to be tweaked according to system performance.
send {F6}
Expand Down
1 change: 1 addition & 0 deletions fr/tabtowindow.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

#IfWinActive, ahk_class MozillaWindowClass
^!n::
cal := 70 ; time in ms between the actions. Has to be tweaked according to system performance.
send {F6}
Expand Down

0 comments on commit 44c3112

Please sign in to comment.