00:00
00:00
finicalpricklez
CANNABIS GINGER TURMERIC

Male

1

Joined on 12/20/99

Level:
8
Exp Points:
673 / 710
Exp Rank:
97,228
Vote Power:
5.05 votes
Rank:
Civilian
Global Rank:
> 100,000
Blams:
1
Saves:
1
B/P Bonus:
0%
Whistle:
Normal
Supporter:
3m 1d

an ahk script to reduce energy consumption for windows

Posted by finicalpricklez - December 31st, 2018


#SingleInstance force
;Menu, Tray, Icon, power.ico

;NumpadMult::

;Suspend

;return

^!NumpadSub::
Run C:\Windows\System32\powercfg.exe /setactive a1841308-3541-4fab-bc81-f71556f20b4a
TrayTip, Power Control, Power Saver mode, 20, 17
return

^!NumpadAdd::
; Run C:\Windows\System32\powercfg.exe /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
Run C:\Windows\System32\powercfg.exe /setactive 381b4222-f694-41f0-9685-ff5bb260df2e
; TrayTip, Power Control, High Performance mode, 20, 17
TrayTip, Power Control, Balanced mode, 20, 17
return

^!NumpadMult::
Run C:\Windows\System32\powercfg.exe /setactive a1841308-3541-4fab-bc81-f71556f20b4a
; Run "C:\bat\ispystart.bat"
; WinActivate, important.txt (C:\bat) - GVIM
; IfWinNotExist, ahk_class Vim
; Run "C:\Program Files (x86)\Vim\vim81\gvim.exe" "C:\bat\important.txt"
; else
; {
    ; WinActivate, ahk_class Vim
; }
; sleep, 5000
DllCall("LockWorkStation")
return

;!#l::
;Run "C:\bat\ispystart.bat"
;WinActivate, important.txt - Notepad
;sleep, 3000
;DllCall("LockWorkStation")
;return

https://www.autohotkey.com/download/ https://www.autohotkey.com/docs/ paste in notepad save as .ahk use this to change to power save mode uncommentwhat you need (remove ;), try out a single board computer too


Comments

Your account is just 5 days younger than Fulp's