Winstep

Software Technologies


 Winstep Forums


Print view
Board index : Winstep Forums : General Discussion  [ 10 posts ]
Author Message
 Post subject: Adding own commands to shutdown/restart buttons
PostPosted: Tue Oct 09, 2018 10:33 am 
Offline

Joined: Thu Mar 24, 2011 10:13 am
Posts: 62
Hi guys!
I have just taken the big step of abondoning ship from Objectdock.....
I have bought the Ultimate Home Network edition and am starting to set things up as I like....
I am used to having shutdown and restart icons on my dock and they have been in the past setup using own arguments and start in....commands...
They are greyed out in the icons added to the dock....can I make changes...don't want a popup message asking if I want to really turn off Windows...
Any help will be greatly appreciated!

bookie56


Back to top
 Profile  
 
 Post subject: Re: Adding own commands to shutdown/restart buttons
PostPosted: Tue Oct 09, 2018 11:16 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 11930
Please check out Nexus comprehensive list of over 80 (!) internal commands HERE. :)

What you want is the 'Quick Shutdown Windows' and 'Quick Restart Windows' internal commands, so you won't be asked for confirmation.

May I ask what you mean above by 'They are greyed out in the icons added to the dock' ? Perhaps a screenshot would help me understand better.

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
 Post subject: Re: Adding own commands to shutdown/restart buttons
PostPosted: Tue Oct 09, 2018 11:37 am 
Offline

Joined: Thu Mar 24, 2011 10:13 am
Posts: 62
Here is what I meant by greyed out....;)
And thanks for the info
Attachment:
restart.PNG
restart.PNG [ 47.29 KiB | Viewed 14231 times ]

BTW I know you have added the links as already coded....
But if someone wants extra work you can add a new item and then arguments etc and you have the same result....:)

bookie56


Last edited by bookie56 on Tue Oct 09, 2018 11:41 am, edited 1 time in total.

Back to top
 Profile  
 
 Post subject: Re: Adding own commands to shutdown/restart buttons
PostPosted: Tue Oct 09, 2018 11:41 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 11930
Internal commands generally do not have arguments, they're not applications.

Exactly what are you trying to accomplish? If you want that icon in the dock to Restart Windows without asking for confirmation, change the Command combo box in that dialog from 'Restart Windows' to 'Quick Restart Windows'.

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
 Post subject: Re: Adding own commands to shutdown/restart buttons
PostPosted: Tue Oct 09, 2018 11:56 am 
Offline

Joined: Thu Mar 24, 2011 10:13 am
Posts: 62
Hi again :D
No not in Nexus....but this is the way how we did it on objectdock...
For example you can add a new item and then add the right parameters for the shutdown button.
Attachment:
shutdown.PNG
shutdown.PNG [ 54.64 KiB | Viewed 14229 times ]

bookie56


Back to top
 Profile  
 
 Post subject: Re: Adding own commands to shutdown/restart buttons
PostPosted: Tue Oct 09, 2018 12:05 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 11930
bookie56 wrote:
No not in Nexus....but this is the way how we did it on objectdock...


You're not in Kansas anymore, Dorothy. :wink: (quick reference to the Wizard of Oz :P )

bookie56 wrote:
For example you can add a new item and then add the right parameters for the shutdown button.


Ok, and obviously you can do the same thing in Nexus by running shutdown.exe like you did there. However, not many users need (or even know how) to specify a time-out period before shutdown, so for them using the internal command is a lot easier.

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
 Post subject: Re: Adding own commands to shutdown/restart buttons
PostPosted: Tue Oct 09, 2018 12:12 pm 
Offline

Joined: Thu Mar 24, 2011 10:13 am
Posts: 62
I can see we will get along great....lol :D :D :D

Yes! I agree...sorry....you have made things so easy I need a challenge....lol

No I am not in Kansas.....Sundsvall Sweden....lol

bookie56


Back to top
 Profile  
 
 Post subject: Re: Adding own commands to shutdown/restart buttons
PostPosted: Tue Oct 09, 2018 12:29 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 11930
Portugal, here! Hello, fellow European! :wink:

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
 Post subject: Re: Adding own commands to shutdown/restart buttons
PostPosted: Wed Oct 10, 2018 10:03 am 
Offline

Joined: Thu Mar 24, 2011 10:13 am
Posts: 62
Hi again!
Missed this one...
With your name I sort of gathered it might be Portugal...;)

Nice to know you!

bookie56


Back to top
 Profile  
 
 Post subject: Re: Adding own commands to shutdown/restart buttons
PostPosted: Wed Oct 10, 2018 10:05 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 11930
Likewise! :)

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
Post new topic Reply to topic Board index : Winstep Forums : General Discussion  [ 10 posts ]
Display posts from previous:  Sort by  

Who is online

Users browsing this forum: Google [Bot] and 60 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron