• SpicyTaint@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    7 days ago

    You’re right, I apologize, it’s really 3 lines of code. It’s just repeated for each monitor/action (brighten/dimming) being performed. The script file it technically 47 lines because I have 3 monitors and 10 different shortcuts.

    Here’s the first action for the first monitor. Just edit the name and the brightness amount and voilà. The comment inline code formatting might put it on one line.

    ^!+PgUp:: Run, D:\Programs\ControlMyMonitor\ControlMyMonitor.exe /ChangeValue "MSI G274QPF" 10 20 return