Winstep Forums
http://forums.winstep.net/phpBB2/

Adding own commands to shutdown/restart buttons
http://forums.winstep.net/phpBB2/viewtopic.php?f=2&t=10833
Page 1 of 1

Author:  bookie56 [ Tue Oct 09, 2018 10:33 am ]
Post subject:  Adding own commands to shutdown/restart buttons

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

Author:  winstep [ Tue Oct 09, 2018 11:16 am ]
Post subject:  Re: Adding own commands to shutdown/restart buttons

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.

Author:  bookie56 [ Tue Oct 09, 2018 11:37 am ]
Post subject:  Re: Adding own commands to shutdown/restart buttons

Here is what I meant by greyed out....;)
And thanks for the info
Attachment:
restart.PNG
restart.PNG [ 47.29 KiB | Viewed 3584 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

Author:  winstep [ Tue Oct 09, 2018 11:41 am ]
Post subject:  Re: Adding own commands to shutdown/restart buttons

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'.

Author:  bookie56 [ Tue Oct 09, 2018 11:56 am ]
Post subject:  Re: Adding own commands to shutdown/restart buttons

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 3582 times ]

bookie56

Author:  winstep [ Tue Oct 09, 2018 12:05 pm ]
Post subject:  Re: Adding own commands to shutdown/restart buttons

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.

Author:  bookie56 [ Tue Oct 09, 2018 12:12 pm ]
Post subject:  Re: Adding own commands to shutdown/restart buttons

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

Author:  winstep [ Tue Oct 09, 2018 12:29 pm ]
Post subject:  Re: Adding own commands to shutdown/restart buttons

Portugal, here! Hello, fellow European! :wink:

Author:  bookie56 [ Wed Oct 10, 2018 10:03 am ]
Post subject:  Re: Adding own commands to shutdown/restart buttons

Hi again!
Missed this one...
With your name I sort of gathered it might be Portugal...;)

Nice to know you!

bookie56

Author:  winstep [ Wed Oct 10, 2018 10:05 am ]
Post subject:  Re: Adding own commands to shutdown/restart buttons

Likewise! :)

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/