It is currently April 26th, 2024, 7:20 pm

How to fade a meter?

Get help with creating, editing & fixing problems with skins
User avatar
Nilvarno
Posts: 64
Joined: March 24th, 2019, 5:52 pm

Re: How to fade a meter?

Post by Nilvarno »

have patience with me, i didn't manage to do a thing. i'm just THAT bad ç_ç

["#@#\Addons\TasKiller.exe" C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe]
This is the program that must be "gently" closed. The windows 10 app is "Files -Preview" an alternative to windows explorer. I really don't know where to begin to even search for the exe, and even then, i don't know what i have to write for the command line to work.
User avatar
Yincognito
Rainmeter Sage
Posts: 7174
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: How to fade a meter?

Post by Yincognito »

Nilvarno wrote: October 26th, 2020, 2:34 pm have patience with me, i didn't manage to do a thing. i'm just THAT bad ç_ç

["#@#\Addons\TasKiller.exe" C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe]
This is the program that must be "gently" closed. The windows 10 app is "Files -Preview" an alternative to windows explorer. I really don't know where to begin to even search for the exe, and even then, i don't know what i have to write for the command line to work.
Ok, but why are you trying to use phone apps with Rainmeter? Unless I got this totally wrong, both TaskKiller and Files are phone apps mostly. :???:

Anyway, using the taskkill command for MS Edge (similar approach for the other app, assuming you can find its executable - I can't help you with it since I don't know what app is that exactly, let alone have it installed on my computer), a RunCommand measure and a mouse action option attached to whatever meter you like would do the job:

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1

[MeasureRun]
Measure=Plugin
Plugin=RunCommand
Parameter=taskkill /IM "MicrosoftEdge.exe" 
State=Hide
OutputType=ANSI

[MeterRun]
Meter=String
FontSize=11
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
Text=Click to Run
LeftMouseUpAction=[!CommandMeasure MeasureRun "Run"]
Of course, you can add other parameters to the command, see the links I mentioned earlier. As for doing this gently (as in not losing your opened tabs and all), it seems MS Edge is kind of bad at that, see here (and a bunch of other places as well) for similar issues (and typically poor solutions in MS software)...
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
Nilvarno
Posts: 64
Joined: March 24th, 2019, 5:52 pm

Re: How to fade a meter?

Post by Nilvarno »

thank you very much!
User avatar
Yincognito
Rainmeter Sage
Posts: 7174
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: How to fade a meter?

Post by Yincognito »

Glad to help. ;-)
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth