Error 403 from Google Calendar? Upgrade to the new Google Calendar support. See here for details. close
Welcome, Guest
Please Login or Register.    Lost Password?

Standalone Stack
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Standalone Stack
#9612
Standalone Stack 5 Years, 7 Months ago  
I'm trying to create a button to activate a standalone stack.
Code:


[Icon]
Meter=IMAGE
ImageName=C:\Program Files\standalonestack\icon shutdown.png
X=0
Y=2
W=100
H=100
AntiAlias=1
LeftMouseUpAction=!Execute ["C:\Program Files\standalonestack\shutdown.exe"]


I can't spot any problems, but then again I'm only coding with common sense. Rainmeter displays an icon, but when I click it it doesn't open the standalone stack. Any suggestions?
Franciscoec
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#9613
Re:Standalone Stack 5 Years, 7 Months ago  
You can choose three solutions.

1. Use LeftMouseDownAction
2. Disable Draggable
3. Define DragMargins area

LeftMouseUpAction event is usually assigned to the drug action. Therefore, If you want to use LeftMouseUpAction, you have to disable drug or define a suitable DragMargins area.
kenz0
Junior Boarder
Posts: 20
graphgraph
User Offline Click here to see the profile of this user
Gender: Male K'conf Location: Japan
The administrator has disabled public write access.
 
#9614
Re:Standalone Stack 5 Years, 7 Months ago  
and how do you set the drag margins...always been curious plz advice. am noobish so break it down lol
bugreporter
Senior Boarder
Posts: 58
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
Rainlendar Pro v2.13 b139 64 bit
Pro (paid/registered user)
Windows 8.1 With Update x64
 
#9619
Re:Standalone Stack 5 Years, 7 Months ago  
First, DragMargins is an option defined under [Rainmeter] section.

Basic meaning of DragMargins:


LeftMouseUpAction is enabled in undraggable area.
kenz0
Junior Boarder
Posts: 20
graphgraph
User Offline Click here to see the profile of this user
Gender: Male K'conf Location: Japan
Last Edit: 2009/04/13 20:39 By kenz0.
The administrator has disabled public write access.
 
#9637
Re:Standalone Stack 5 Years, 7 Months ago  
Great diagram. Is that from the wiki? If not it should be... hint... hint.....
btodoroff
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#9642
Re:Standalone Stack 5 Years, 7 Months ago  
@ Franciscoec
And I also think that the line to get the standalone stack is wrong, the name of the stack should be after the standaloneStack.exe
From my side I did it like this....

Code:

[MeterGraphicPrograms]
Meter=image
ImageName=Paint.png
x=0
y=0
w=63
h=63
LeftMouseDownAction=!execute ["C:\standalonestack\StandaloneStack.exe" LogicielsGraphique"]

GhostMatrix
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop