It is currently March 29th, 2024, 3:03 pm

Help with shutdown/rest order

Get help with creating, editing & fixing problems with skins
Loathe
Posts: 4
Joined: August 8th, 2010, 2:45 pm

Help with shutdown/rest order

Post by Loathe »

Heya everybody!

I'm here for asking you guys help of some certain skin I found from Dark_gear:s files, so here is the problem:

I loaded skin called Dark_gear shutdown which makes separate windows shutdown/rest (and some other malfunctions) skin to your desktop, but here is the problem when I click it it just opens error window(or literally Windows Script host) where in reads something like this: The specified file does not exist. So then a question here, is the problem in my Windows7 (if this program is only made for XP or/and Vista) or is it just code error somewhere there?

Help the noob PLEASE! :Embarrassed:

PS: Tried to find help from forum but couldn't really find anything useful, but if there is something like this happened before and you got solution for it, please tell me.. :Embarrassed:
User avatar
Chewtoy
Moderator
Posts: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: Help with shutdown/rest order

Post by Chewtoy »

Too see the code would be useful.
But I would assume, based on your error message, that the skin uses a script to shut down - and you don't have that script.
Either get it, write your own or take a look at PowerToy.
I don't think, therefore I'm not.
Loathe
Posts: 4
Joined: August 8th, 2010, 2:45 pm

Re: Help with shutdown/rest order

Post by Loathe »

Allright, there is all of it. Tho I have a feeling that windows might have something to do with it.. asked friend about shutdown order and he said that all windows systems (XP, Vista and 7) have their own and probably won't work if you try to shutdown 7 with XPs code.

Or am i totally wrong? anyways here it is, and thanks from help :) I really appreciate it.

Haven't done anything to it so its in original shape.

Code: Select all

[Rainmeter]
Author=vinzi88@gmail.com
Update=1000

;Metadata added by RainBrowser
;http://rainmeter.net/cms/Rainmeter101-EditingSkins

[Metadata]
Name=
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=

;End of added Metadata

[Variables]
SystemPath=%SystemRoot%\System32\
ProgramPath=%ProgramFiles%\Kana\
subF=0s
fFilter=*.jpg;*.jpeg;*.png;*.bmp
BGColor=255,255,255,1
;---------------------

[Sep1]
Meter=Image
ImageName=sep1.png
X=0
Y=20
w=180
h=25

[Sep2]
Meter=Image
ImageName=I.png
X=67
Y=5
w=2
h=40

[Sep3]
Meter=Image
ImageName=I.png
X=112
Y=5
w=2
h=40

[Square_middle]
Meter=IMAGE
Solidcolor=#BGColor#
X=25
Y=25
W=160
H=90


[SysTray]
Meter=Image
ImageName=Connectiions.png
X=30
Y=47
LeftMouseDownAction=!Execute ["#SystemPath#wscript.exe" "#CurrentPath#SysTray.vbs"]


[Logoff]
Meter=Image
ImageName=logoffb.png
X=30
Y=7
LeftMouseDownAction=!Execute ["#SystemPath#wscript.exe" "#CurrentPath#Logoff.vbs"]


[Shutdown]
Meter=Image
ImageName=shutdownb.png
X=75
Y=7
LeftMouseDownAction=!Execute ["#SystemPath#wscript.exe" "#CurrentPath#Shutdown.vbs"]


[Restart]
Meter=Image
ImageName=restartb.png
X=120
Y=7
LeftMouseDownAction=!Execute ["#SystemPath#wscript.exe" "#CurrentPath#Restart.vbs"]


;------------------
;       Picture
;------------------

;[Picture]
;Measure=Plugin
;Plugin=Plugins\QuotePlugin.dll
;PathName=#ImagePath#
;FileFilter=#fFilter#
;Subfolders=#subF#

;-------------------

;[Slideshow]
;MeasureName=Picture
;Meter=IMAGE
;X=47
;Y=20
;W=35
;H=35
;LeftMouseupAction=!Execute ["#ImagePath#"]




;------------------
      Username          
;------------------

[MeasureUser]
Measure=Plugin
Plugin=Plugins\SysInfo.dll
SysInfoType=USER_NAME
UpdateDivider=30

[MeterName]
MeasureName=MeasureUser
Meter=STRING
X=55
Y=47
FontColor=255,255,255
StringStyle=Normal
FontSize=10
StringAlign=LEFT
FontFace=Segoe UI
Text="%1" 
AntiAlias=1
LeftMouseDownAction=!Execute ["%UserProfile%"]
User avatar
Chewtoy
Moderator
Posts: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: Help with shutdown/rest order

Post by Chewtoy »

The skin is relying on vbs-scripts to handle the shutdown/reboot/logoff.
As you can see:LeftMouseDownAction=!Execute ["#SystemPath#wscript.exe" "#CurrentPath#Restart.vbs"]

So like I said. either get the scripts, make your own or take a look at another skin that does the same thing - like PowerToy.
I don't think, therefore I'm not.
Loathe
Posts: 4
Joined: August 8th, 2010, 2:45 pm

Re: Help with shutdown/rest order

Post by Loathe »

allright, thanks! I'll first try to do it myself and if still won't work, i'm going to change skin to another one :)