How to change brightness level up down programmatically

  Kiến thức lập trình

I use this PowerShell code to change volume level up down

# 174 down | 175 up
(New-Object -Com WScript.Shell).SendKeys([char]175)

I want to do the same with screen brightness up down.
I do this by pressing FN + F11/ F12 with Keyboard.

Refer to ss64, I didn’t find the FN key.

How can I do it with a script? change brightness level up down.

New contributor

Oprex Droid is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT