title: How to activate/deactivate AutoHotkey script based on active input method?
body: <p>I have an autohotkey script that I use only in conjunction with my Japanese input.</p>
  
  <p>I only have one input language on my computer (Japanese), and I type in English by using the Alphanumeric setting (I'm not switching to English language, it's still technically a Japanese input method. But it's the Alphanumeric keyboard which has roman letters and is still a part of the Japanese language package on my computer). I toggle between Alphanumeric characters &amp; Hiragana using the built-in hotkey Alt + `. Right now, my AHK script has a Suspend toggle which I activate with the combination Alt + 1.</p>
  
  <p>I've tried changing the Suspend Toggle to Alt + grave, but if I do that, I can't toggle the script off. My computer changes input languages (as per the built-in hotkey), but does nothing to activate/deactivate the AHK script.</p>
  
  <p>Right now, when I change languages, I have to do two hotkey combinations in a row (First Alt + grave, then Alt + 1). It's pretty redundant. I'd like for AHK to recognize which input method I'm using (Alphanumeric or Hiragana), and turn on or off based on that info. OR, if I could simply have the Alt + grave work to simultaneously toggle both the input &amp; the state (active/unactive) of my AHK script.</p>
  
  <p>For more--maybe unnecessary--details:
  When I have the hiragana keyboard on, pressing the "s" key outputs と, the Japanese "TO". Usually, Shift + s would still output と. I wrote my AHK script to change Shift + s to ど, or Japanese "DO".</p>
  
  <p>As it is now, if I switch back to Alphanumeric characters and hit "s", I of course get "s" as desired. But if I tried to type a capital S, I still get a ど because the Shift + s is still mapped to that hiragana.</p>