"Enable/disable/configure multiple monitors on Windows"
https://www.nirsoft.net/utils/multi_monitor_tool.html
MultiMonitorTool.exe /disable \.\DISPLAY3
And, for single monitors, my comment from a year ago still works.
"Enable/disable/configure multiple monitors on Windows"
https://www.nirsoft.net/utils/multi_monitor_tool.html
MultiMonitorTool.exe /disable \.\DISPLAY3
And, for single monitors, my comment from a year ago still works.
@Espino As other threads will tell you, the Token is found when you log into the main site, under Instructions.
https://www.triggercmd.com/user/computer/create
@russ said in Is server down?:
@cris-silva, @DavidPennington , what's not working? I just tested it and it's working for me.
I know AWS (Amazon Web Services) had problems today, so I wonder if that affected Alexa.
It definitely affected Alexa - every literal Smart device became "unresponsive" (about a dozen) so it's not a stretch that all the figurative (I'm blanking on the right word) ones for TriggerCMD would go offline, too.
Create a trigger that calls Nirsoft.net's NirCMD program. It's got a ton of options. I use it to Mute my system but it does have a SetBrightness option.
Set your command to ms-settings:
Google can find you a list of sub commands (e.g. ms-settings:network) for any specific sections.
@mikeh_iver After you installed the software on the other PC, copy the commands.json file from the "C:\Users*username*.TRIGGERcmdData" to the it.
In the discussions here, there is one for setting up TriggerCMD with IFTTT. Works like a charm.
"Alexa, trigger Ubuntu" (I find one word triggers work best but experiment).
@Russ NICE FIND! After only a minute of playing with it, it's near perfect. Only hitch is that the window that keeps getting thrown around has 5 pinned tabs and the tool only seems to recognize the 'Title' of the window with the active tab. That's not the end though because I could have the task scheduler run a batch file with a set of five commands so that one of them will work. It's the only window I keep on that monitor.
Now I just need to figure out the event code for when the USB adapter momentarily craps out so I'll just wait for it to happen again.
Bwahaha!
(Only downside might be if I throw another tab into it for temporary usage. The tool probably won't be able to spot that).
Haven't tried this feature myself but Nirsoft's NirCMD has a "sendkeypress" ability.
https://www.nirsoft.net/utils/nircmd2.html#using
Here's my question though -- how does your VBS script send the keypress to the right window or, on your PC, is F7 being recognized by one program no matter what program is in the foreground?
Nircmd has a WIN feature which lets you activate a window so you could use it twice in a new script, once to activate the window and again to send the keypress.
When I say 'good night' to Alexa, I have been having it run my Hibernate command every night to put my PC to sleep. I got to thinking that sometimes I do want certain programs to run backups, etc. so did a little digging and found this script online.
So, every Sunday night, it -won't- hibernate and will run certain tasks.
@echo off
for /f %%i in ('powershell ^(get-date^).DayOfWeek') do set dow=%%i
if %dow% NEQ Sunday goto shutdown
REM in this area, enter commands for things to run Sunday night (backups, updates, etc)
exit
:shutdown
shutdown /h /f
@Russ Don't forget that if you run Nircmd without any parameters at all, it provides a button to copy it to c:\windows. It must be run with Admin privileges (Run box ... ctrl+shift+enter) though.
@kanashi横維 [Moved to General Discussion as this is not an Announcement]
@MichealDean Did you read the first reply which the OP said worked?
This is a thread that's been dead for three years.
Set your command to ms-settings:
Google can find you a list of sub commands (e.g. ms-settings:network) for any specific sections.
@jsmr1360 Instead of talking to your computer, just talk to your phone. Sounds like you want to overcomplicate things.
"Edson, how did you turn on the suspended pc by alexa?"
@Magno-Diego PCs that have no power (e.g. hibernating) can't be woken by internal commands ... because they're off. If you have multiple PCs, you could look into Wake On Lan.
And, just so you know, once a PC is locked, there is -no- way to unlock it with commands. That's a security feature of Windows; always has been.
@Dimo-Ninov All my commands show up as their own virtual devices. To hibernate my PC, it's just "Alexa, turn on Hibernate". I could also set up a Routine so all I have to say is "Alexa, Hibernate" and it'll turn on the device.
@johan25 Please make your own thread for support. I have removed the spammy elements of your profile. If they are restored, your forum profile will be deleted. Zero tolerance for spamming here.
@Espino As other threads will tell you, the Token is found when you log into the main site, under Instructions.
https://www.triggercmd.com/user/computer/create
@mikeh_iver After you installed the software on the other PC, copy the commands.json file from the "C:\Users*username*.TRIGGERcmdData" to the it.