I have never used this program before and need guidance from a complete noob perspective as I'm not a coder.
I have a program called "Multiscreen Blank" which dims / blanks out predefined regions/groups.
Here is an example of a commandline that it provides:
"multiscreenblank2 /toggle group 1"
If I copy this into my "run" command of my PC, the function performs.
Now all I want to do is create an AHK script where I can find this function to a designated Key (EG: F13)
Can any smart folks here help me with what I hope is a simple request? I tried doing a script as follows:
> run multiscreenblank2 /toggle group 1
But I get an error.
Run a Command Topic is solved
Re: Run a Command Topic is solved
Welcome to this AutoHotkey forum!
Some helpful things to do on the forum:
1. Post your script.
2. Post a screenshot of the error message that you receive.
Some helpful things to do on the forum:
1. Post your script.
2. Post a screenshot of the error message that you receive.
Code: Select all
#Requires AutoHotkey v2.0
app := 'd:\utils\multiscreenBlank\MultiscreenBlank2.exe'
groupNum := 1
groupNum := 2
F3::Run app ' /toggle group ' groupNum - 1