DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: WinWarden transparency hotkeys not working  (Read 8,754 times)

mohaqeq

  • Participant
  • Joined in 2009
  • *
  • Posts: 24
WinWarden transparency hotkeys not working
« on: May 30, 2009, 09:01 PM »
Howdy,

I'm running WinWarden with the AutoHotKey script (& I've also tried this w/ the .exe version).  Everything I've tried w/ it seems to work except the hotkeys for transparency.  I can still adjust transparency by right-clicking the tray icon, but doing Alt followed by a number key resets the transparency of the active window to off, whatever it may have been & whatever number I choose.  Other hotkeys seem to work.

mohaqeq

  • Participant
  • Joined in 2009
  • *
  • Posts: 24
Re: WinWarden transparency hotkeys not working
« Reply #1 on: May 31, 2009, 01:36 AM »
Found a resolution.  I only know some elementary stuff about ahk scripting, but I looked at the script I'd downloaded & noticed that in the "TRANSPHKEY" section the value of the hotkey that's been invoked is passed on to the transpnum variable, which is then used in the "TRANSPARENCY" section to calculate the transparency level.  The hotkey, though, has the "!" character in it, but you only want the number that proceeds it.  Searched through ahk documentation & found the command for extracting the character.  Simply replace the line "transpnum:=A_ThisHotkey" w/ "StringRight transpnum,A_ThisHotkey,1" which tells it to assign the rightmost character in the hotkey to "transpnum".

Well, it's been educational talking to myself.

mohaqeq

  • Participant
  • Joined in 2009
  • *
  • Posts: 24
Re: WinWarden transparency hotkeys not working
« Reply #2 on: May 31, 2009, 01:38 AM »
Forgot to thank the authors of the script; I find it quite useful.

Original address: https://www.donationcoder.com/forum/index.php?topic=18535.0