Windows 7 with AutoHotkey (freeware)

Discussion in 'Windows 7' started by Hackeur, Nov 29, 2009.

  1. Hackeur

    Hackeur MDL Senior Member

    Jun 14, 2009
    338
    472
    10
    #1 Hackeur, Nov 29, 2009
    Last edited by a moderator: Apr 20, 2017
  2. JBenal

    JBenal MDL Addicted

    Nov 2, 2009
    521
    211
    30
    Thanks for the info about this program. Do you know if it's possible to create a hotkey to power off the display on a laptop?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Hackeur

    Hackeur MDL Senior Member

    Jun 14, 2009
    338
    472
    10
    #3 Hackeur, Nov 29, 2009
    Last edited by a moderator: Apr 20, 2017
    (OP)
    code to turn monitor off by pressing "aaa" or replace with any key press combo you prefer

    Code:
    :*:aaa::
    SendMessage,0x112,0xF170,2,,Program Manager
    Return
    
    save as monitor.ahk file

    press escape to turn monitor back on.

    works on laptops and desktops :cool: