I want to connect Desktopx Builder and Rainmeter.
Monday, January 30, 2012 by Kostiantyn | Discussion: DesktopX
I want to connect Desktopx Builder and Rainmeter.
The button of switching-on/off Rainmeter is necessary.Someone did it?
Reply #2 Monday, January 30, 2012 8:30 AM
Thanks Uvah, but I need the one button for switching on-off. It should be script button.
Reply #3 Monday, January 30, 2012 9:06 AM
Okay ... try Pm- ing sVis or romanda. They are the scripting gurus.
Reply #5 Monday, January 30, 2012 9:56 AM
Are you trying to shut rainmeter down or hide it?
Startign and shutting down can be easy. taskkill APPNAME in a script can kill it and startign it is as easy as calling the EXE.
A two state script would handle that.
What ways are native to rainmeter for hiding/showing?
- Sub Object_OnStateChange(state)
- If state = "Command executed" Then
- MsgBox "You activated me!"
- End If
- End Sub
Reply #6 Monday, January 30, 2012 11:40 AM
I am looking way to shut down rainmeter.
I understood what I have to do but I never use "KILL".
---"taskkill APPNAME in a script can kill it"- How to do script for that?
Thanks for replay. I am not sure that I can make it.
Reply #7 Monday, January 30, 2012 1:11 PM
The taskkill command syntax: http://technet.microsoft.com/en-us/library/bb491009.aspx
Reply #9 Monday, January 30, 2012 5:51 PM
Zubaz's link might do the trick... I've never tried it. Closing a program is, apparently, more complicated than running one.
Reply #10 Monday, January 30, 2012 6:05 PM
From my script library - though it's a general script. Worked in Windows 7 for me just now to close explorer.exe so if you send this function the process name it should close it.
Function procKillProcess(strProcess)
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colProcessList = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = '" & strProcess & "'")
For Each objProcess in colProcessList
objProcess.Terminate()
Next
End Function
Reply #13 Monday, January 30, 2012 7:57 PM
hehe no worries - I've flown pretty quietly under the radar the whole time ![]()
Reply #16 Monday, January 30, 2012 10:23 PM
You don't have to kill it, just use Rainmeter.exe !Quit
Reply #18 Tuesday, January 31, 2012 7:20 AM
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!







Reply #1 Monday, January 30, 2012 6:49 AM
Here's a thought. Don't know if its the correct one though. Make the button an icon then let that icon be the one you use to call up rainmeter. Just set the target accordingly. As for turning it off just right click on rainmeter and click close. Hope this helps or someone comes along with the correct way to do it.