I'm trying to issue a refresh bang for a script i'm updating with Autohotkey.
I'm just using the run box for now to try to get the syntax for doing a bang using rainmeter.exe
I'm putting the following into the run box and i get an error
"C:\Documents and Settings\tmayes\My Documents\Tyler\Rainmeter\Rainmeter.exe" !RainmeterRefresh *
Error is
Rainmeter is not running. Unable to send the !bang to it.
But its clearly running as I have two string meters up on my desktop.
Any ideas?
Rainmeter is installed in C:\Documents and Settings\tmayes\My Documents\Tyler\Rainmeter\
Thanks in advance for your help.
It is currently April 24th, 2024, 10:51 pm
rainmeter.exe !BANG
-
- Posts: 8
- Joined: September 23rd, 2009, 2:15 am
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: rainmeter.exe !BANG
Are you quite sure that is where Rainmeter.exe is located? The normal install location for 1.0+ is in C:\Program Files\Rainmeter\Rainmeter.exe, with the "skins" in "My Documents". Not to say it can't or even isn't installed exactly where you say, just double checking.TimmyMayes wrote:I'm trying to issue a refresh bang for a script i'm updating with Autohotkey.
I'm just using the run box for now to try to get the syntax for doing a bang using rainmeter.exe
I'm putting the following into the run box and i get an error
"C:\Documents and Settings\tmayes\My Documents\Tyler\Rainmeter\Rainmeter.exe" !RainmeterRefresh *
Error is
Rainmeter is not running. Unable to send the !bang to it.
But its clearly running as I have two string meters up on my desktop.
Any ideas?
Rainmeter is installed in C:\Documents and Settings\tmayes\My Documents\Tyler\Rainmeter\
Thanks in advance for your help.
-
- Posts: 8
- Joined: September 23rd, 2009, 2:15 am
Re: rainmeter.exe !BANG
Most definetly certain. Its in a hidden folder in my documents becasue its a work installation and i didnt' want to go through the red tape of having it installed.
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: rainmeter.exe !BANG
Hidden as in literally with the "attribute" of "hidden"? Can you try unhiding it and see what happens?TimmyMayes wrote:Most definetly certain. Its in a hidden folder in my documents becasue its a work installation and i didnt' want to go through the red tape of having it installed.
-
- Posts: 8
- Joined: September 23rd, 2009, 2:15 am
Re: rainmeter.exe !BANG
Ok un hidden. Same error.
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: rainmeter.exe !BANG
I use the same function in an AutoIt .exe (very similar to AHK) and I use it like this:TimmyMayes wrote:Ok un hidden. Same error.
ShellExecute("..\..\rainmeter.exe", "!RainmeterRefresh *")
Now I have my .exe residing two levels down from Rainmeter.exe (C:\Program Files\Rainmeter\Addons\RainBrowser.exe) and it works just fine. Perhaps it really wants the quotes around the parameter for the bang like I have it.
-
- Posts: 8
- Joined: September 23rd, 2009, 2:15 am
Re: rainmeter.exe !BANG
I got it to work now in ahk
Run "C:\Documents and Settings\tmayes\My Documents\Tyler\Rainmeter\Rainmeter.exe" !RainmeterRefresh *
is the ahk line.
Run "C:\Documents and Settings\tmayes\My Documents\Tyler\Rainmeter\Rainmeter.exe" !RainmeterRefresh *
is the ahk line.