However, the image is only being copied after I click the meter again. Why is that so?
My code:
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[Variables]
@include=#CURRENTPATH#Variables.inc
OutFile=#CURRENTPATH#DownloadFile\TestOutFile.jpg
[MeasureRun]
Measure=Plugin
Plugin=RunCommand
Parameter=copy "#InFile#" "#OutFile#"
DynamicVariables=1
[MeasureScript]
Measure=Script
ScriptFile=#CURRENTPATH#Test.lua
UpdateDivider=-1
[MeterOne]
Meter=Image
W=50
H=50
ImageName=#CURRENTPATH#DownloadFile\TestInFile.jpg
LeftMouseUpAction=["#@#RainFile\RainFile.exe" "File" "Variables" "InFile" "#CURRENTPATH#fetch.inc" "#CURRENTPATH#Image.jpg" "DPNE"][!CommandMeasure MeasureScript "FileCopy()"]
[MeterOne]
Meter=Image
W=50
H=50
X=10R
ImageName=#CURRENTPATH#DownloadFile\TestOutFile.jpg