Hi you lucky ones whose school stuff included programming and the core principles behind it,
can any of you help me? I am sure the solution is simple but I just can't figure it out.
I have a AHK script which does exactly what I want in all applications but adds an unwanted feature in one:
when typing in a Firefox window every now and then (not editing the text which follo’s) a c’aracter I type will inste’d be replaced with an apostrophe. This happe’s ran’omly and is of course very a’noying.
So I would like to add to my script a command simply instr’cting it to NOT work in Firefox.
Any ideas?
Than’s in advance
AutoHotkey help needed
- Muirium
- µ
- Location: Edinburgh, Scotland
- Main keyboard: HHKB Type-S with Bluetooth by Hasu
- Main mouse: Apple Magic Mouse
- Favorite switch: Gotta Try 'Em All
- DT Pro Member: µ
Presumably auto hot key has an equivalent of Karabiner’s active application if:
https://karabiner-elements.pqrs.org/doc ... plication/
https://karabiner-elements.pqrs.org/doc ... plication/
- pyrelink
- Location: USA
- Main keyboard: HHKB 2
- Main mouse: CST L-Trac
- Favorite switch: Capacitive Buckling Spring
- DT Pro Member: -
It does: https://www.autohotkey.com/docs/v2/lib/WinActive.htmMuirium wrote: ↑10 Jun 2023, 00:04Presumably auto hot key has an equivalent of Karabiner’s active application if:
https://karabiner-elements.pqrs.org/doc ... plication/
you could check if firefox is your active window, and disable your script.
- kbdfr
- The Tiproman
- Location: Berlin, Germany
- Main keyboard: Tipro MID-QM-128A + two Tipro matrix modules
- Main mouse: Contour Rollermouse Pro
- Favorite switch: Cherry black
- DT Pro Member: 0010
Thanks guys, that's a lot of help already. I get it all in theorypyrelink wrote: ↑10 Jun 2023, 06:40It does: https://www.autohotkey.com/docs/v2/lib/WinActive.htmMuirium wrote: ↑10 Jun 2023, 00:04Presumably auto hot key has an equivalent of Karabiner’s active application if:
https://karabiner-elements.pqrs.org/doc ... plication/
you could check if firefox is your active window, and disable your script.
But... how do I concretely tell AHK: if you detect that firefox is my active window, then suspend AHK?
And will then AHK be automatically "unsuspended" if my active window changes?
It may seem trivial to you, but I am lost in all these square and curly brackets and != and := and ^ and whatnot.