# 求助大神指导关于回收站左键打开,右键清空! - Rainmeter技术教程 - 雨滴社区 - Powered by Discuz!
 找回密码
 点击注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 598|回复: 1

[菜鸟教程] 求助大神指导关于回收站左键打开,右键清空!

[复制链接]

签到天数: 151 天

[LV.7]常住居民III

 楼主| 发表于 2024-5-3 15:05:00 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?点击注册

x

麻烦大神帮忙看一看这个怎么写?谢谢

[Variables]

Recycle=shell:RecycleBinFolder
Clean=D:\optimization\Disk Cleaner 2.0\Disk Cleaner 2.0.exe
Recycle2=<求助这里应该写什么>


[MeterBinEmpty]
Meter=IMAGE
X=r
Y=120r
W=48
H=48
ImageName=Recycle.png
Hidden=0
LeftMouseDownAction =!Execute ["#Recycle#"]
RightMouseupAction=!execute ["#Clean#"]


[MeterBinFull]
Meter=IMAGE
X=r
Y=r
W=48
H=48
Hidden=1
ImageName=Recycle2.png
LeftMouseDownAction=!Execute ["#Recycle#"]
RightMouseupAction=!execute [!RainmeterPluginBang "MeasureBin EmptyBin"]
想通过上面的[Variables]设置Recycle2=?把右键这段写成 RightMouseupAction=!execute["#Recycle2#"]


[BinAction]
Measure=Calc
Formula=MeasureBin
IfAboveAction=!execute [!RainmeterHideMeter MeterBinEmpty][!RainmeterShowMeter MeterBinFull]
IfAboveValue=0
IfEqualAction=!execute [!RainmeterHideMeter MeterBinFull][!RainmeterShowMeter MeterBinEmpty]
IfEqualValue=0

回复

使用道具 举报

签到天数: 151 天

[LV.7]常住居民III

 楼主| 发表于 2024-5-3 15:19:47 | 显示全部楼层
不好意思,这个问题已解决了,
[Variables]
Recycle2=!RainmeterPluginBang "MeasureBin EmptyBin"

LeftMouseDownAction=!Execute ["#Recycle#"]
RightMouseupAction=!execute["#Recycle2#"]去掉双引号就可以了

LeftMouseDownAction=!Execute ["#Recycle#"]
RightMouseupAction=!execute[#Recycle2#]





回复

使用道具 举报

您需要登录后才可以回帖 登录 | 点击注册

本版积分规则

快速回复 返回顶部 返回列表