The docs say that the RunCommand plugin uses the Command shell (cmd) to run commands by default, unless you set the Program parameter. If that is the case, to run this script, Rainmeter is going to run a Command shell to run a PowerShell... a shell inside a shell, which seems a little inefficient. So my thought/question is that for the purpose of running PowerShell (with or without scripts), it might be best to explicitly set the Program parameter; e.g. :
The docs say that the RunCommand plugin uses the Command shell (cmd) to run commands by default, unless you set the Program parameter. If that is the case, to run this script, Rainmeter is going to run a Command shell to run a PowerShell... a shell inside a shell, which seems a little inefficient. So my thought/question is that for the purpose of running PowerShell (with or without scripts), it might be best to explicitly set the Program parameter; e.g. :
Brian will have to weigh in, but I am under the impression that you can't avoid having cmd run in any case, as the whole thing is based on a ShellExcute, which will use the currently defined shell for Windows, which is cmd.exe, to launch whatever is defined in Program.
The way you have it certainly works, but I'm not entirely sure there is any real difference.
TomShadow55 wrote: ↑May 4th, 2022, 12:15 pm
hello, I would like to know if it is possible to add a command so that the SpeakTime is activated every hour?