Only if I am writing in emacs

Post your working scripts, libraries and tools.
pafec
Posts: 6
Joined: 05 Apr 2024, 15:51

Only if I am writing in emacs

08 May 2024, 15:38

Hi
I share this script. It was difficult to get the conditional, I got it thanks to @Seven0528.

Code: Select all

#SingleInstance force
#HotIf winActive("ahk_class Emacs")
LControl::<
<::RControl
Numpad0::RAlt
#HotIf !winActive("ahk_class Emacs")
LAlt::RAlt
#HotIf
After that, I was able to launch that script only if I have no bluetooth keyboard connected. If there is interest, I can share it.


[Mod edit: Added [code][/code] tags. Please use them yourself when posting code.]

Return to “Scripts and Functions (v2)”

Who is online

Users browsing this forum: mcl, ntepa and 20 guests