It is currently April 27th, 2024, 6:33 pm

support lnk bug?

Report bugs with the Rainmeter application and suggest features.
anythinging
Posts: 50
Joined: April 21st, 2012, 12:19 am

support lnk bug?

Post by anythinging »

in some circumstances,i found rm for support lnk maybe exist some bugs.

[Variables]
dockpng="dock2.png"
Program01="d:\ie.lnk"
Program02="d:\firefox.lnk"

[Button.1]
Meter=image
imagename=#dockpng#
X=70
Y=20
W=100
H=25
ButtonImage=#dockpng#
LeftMouseDownAction=!Execute ["#Program01#"]

[HideBar]
Meter=image
imagename=JZJX2.png
X=15
Y=18
W=55
H=55
LeftMouseupAction=!execute [!RainmeterHideMeter Button.1 [!RainmeterHideMeter HideBar] [!RainmeterShowMeter ShowBar]

[ShowBar]
Meter=image
imagename=JZJX2.png
X=15
Y=18
W=55
H=55
LeftMouseupAction=!RainmeterRefresh
Hidden=1
---------------------------
run rm,repeat press [HideBar] [ShowBar] ,all is ok.
but ,if first use [Button.1] run ie.lnk,netx press [HideBar] ,rm will be error or unusual exit.

if changed Program01="d:\ie.lnk" to Program01="C:\Program Files\Internet Explorer\iexplore.exe"
then rm is ok.
------
i test in windows2003sp2 system.
anythinging
Posts: 50
Joined: April 21st, 2012, 12:19 am

Re: support lnk bug?

Post by anythinging »

example:
[Rainmeter]

[Variables]
Update.Spd=1000
FontColor.B=255, 255, 255, 200
FontColor.W=255, 255, 255, 255
FontName=微软雅黑
FontHeight=10.5
AntiAlias=1
dAligen=Center
stringXR="50r"
stringYR="5r"
stringXR2="50r"
stringYR2="2r"
dockpng="dock2.png"
alpha="200"

;Program01="C:\Program Files\Internet Explorer\IEXPLORE.EXE"
Program01="d:\ts\lnk\ie.lnk"
Program02="d:\ts\lnk\firefox"

[Button1]
Meter=image
imagename=#dockpng#
X=70
Y=20
W=100
H=25
ButtonImage=#dockpng#
LeftMouseDownAction=!Execute ["#Program01#"]
rightMouseDownAction=!Execute [""]
imagealpha=#alpha#
;ToolTipText="#Tip01#"

[Button2]
Meter=image
imagename=#dockpng#
X=170
Y=20
W=100
H=25
ButtonImage=#dockpng#
LeftMouseDownAction=!Execute ["#Program02#"]
rightMouseDownAction=!Execute [""]
imagealpha=#alpha#

;=====================================================================
;Show & Hide
;=====================================================================

[HideBar]
Meter=image
imagename=JZJX2.png
X=15
Y=18
W=55
H=55
;PreserveAspectRatio=1
LeftMouseupAction=!execute [!RainmeterHideMeter Button1] [!RainmeterHideMeter Button2]
imagealpha=#alpha#

[ShowBar]
Meter=image
imagename=JZJX2.png
X=15
Y=79
W=55
H=55
LeftMouseupAction=!RainmeterRefresh
;Hidden=1
imagealpha=#alpha#
Last edited by anythinging on April 22nd, 2012, 2:26 am, edited 1 time in total.
anythinging
Posts: 50
Joined: April 21st, 2012, 12:19 am

Re: support lnk bug?

Post by anythinging »

red text"
1:
if Program01="C:\Program Files\Internet Explorer\IEXPLORE.EXE" then all be ok.

2:
Program01="d:\ts\lnk\ie.lnk",
(1)if don't touch button1,then repeat touch [HideBar],all be ok.
(2)if allready touched button1,then touch [HideBar],RM will be error.

3:
if LeftMouseupAction=!execute [!RainmeterHideMeter Button1] then all be ok
if LeftMouseupAction=!execute [!RainmeterHideMeter Button2] then all be ok
if LeftMouseupAction=!execute [!RainmeterHideMeter Button1] [!RainmeterHideMeter Button2] then rm will be error


Image
anythinging
Posts: 50
Joined: April 21st, 2012, 12:19 am

Re: support lnk bug?

Post by anythinging »

i want konwn:
can rm support setup the Eject windows Normal、Maximum or Minimization?
if it supported,i may don't use lnk files start Program.

thanks!
anythinging
Posts: 50
Joined: April 21st, 2012, 12:19 am

Re: support lnk bug?

Post by anythinging »

i allready solve the problem,
rm and Clean Disk Security There is a conflict.
rm has ok after uninstall Clean Disk Security software.