I have set up a script using AutoHotkey (AHK). I then compiled this script and saved it as an application (.exe) file on my desktop.
I have an image meter in my rainmeter skin which I want to be able to click to run this script.
I have tried linking to the path of both the AHK and the exe file.
LeftMouseUpAction=["C:\Users\Langlu\Desktop\Script1.ahk"]
LeftMouseUpAction=["C:\Users\Langlu\Desktop\Script1.exe"]
Neither of these run the script.
The authotkey script runs without a hotkey. Simply running it, it sends a keystroke to another window. (double clicking it on my desktop, it works).
Very confused..
It is currently March 19th, 2024, 11:08 am
LeftMouseUpAction not working?
- balala
- Rainmeter Sage
- Posts: 16091
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: LeftMouseUpAction not working?
I'd use a RunCommand plugin measure for this.
If you want to try this out, add the following measure to your code:
To run the program, replace the existing LeftMouseUpAction option with the following one: LeftMouseUpAction=[!CommandMeasure "MeasureRun" "Run"].
If you want to try this out, add the following measure to your code:
Code: Select all
[MeasureRun]
Measure=Plugin
Plugin=RunCommand
Program=C:\Users\Langlu\Desktop\Script1.exe
State=Hide