ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Skrommel's Software

WinWarden transparency hotkeys not working

(1/1)

mohaqeq:
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:
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:
Forgot to thank the authors of the script; I find it quite useful.

Navigation

[0] Message Index

Go to full version