It is currently July 23rd, 2024, 9:01 am

How to click to open Image?

Get help with creating, editing & fixing problems with skins
minhtrimatrix
Posts: 4
Joined: October 16th, 2009, 11:57 pm

How to click to open Image?

Post by minhtrimatrix »

Hi all
This is my code:

Image

Code: Select all

[Rainmeter]

Update=90000
; refreshed ~ 1m:30s

[Variables]
ImagePath=D:\Pictures\Flower
subF=1
fFilter=*.jpg;*.jpeg;*.png;*.bmp

[O]
Measure=Plugin
Plugin=Plugins\QuotePlugin.dll
PathName=#ImagePath#
FileFilter=#fFilter#
Subfolders=#subF#

[Pic]
MeasureName=O
Meter=IMAGE
X=8
Y=8
W=156
H=105
LeftMouseDownAction=!Execute ["#ImagePath#"]

[BG]
Meter=IMAGE
X=0
Y=0
ImageName=bg.png


I wonder that can I open that image when clicking on that
Thanks for helping me
:welcome:
poiru
Developer
Posts: 2872
Joined: April 17th, 2009, 12:18 pm

Re: How to click to open Image?

Post by poiru »

Code: Select all

LeftMouseUpAction=!Execute [explorer.exe "[O]"]
minhtrimatrix
Posts: 4
Joined: October 16th, 2009, 11:57 pm

Re: How to click to open Image?

Post by minhtrimatrix »

poiru wrote:

Code: Select all

LeftMouseUpAction=!Execute [explorer.exe "[O]"]
Yes!
Thanks a lot master
:D