Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 07, 2016, 02:18:31 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Shutdown/restart/hibernate etc. ability?  (Read 3568 times)

wreckedcarzz

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,623
    • View Profile
    • Donate to Member
Shutdown/restart/hibernate etc. ability?
« on: November 13, 2006, 10:45:57 PM »
Hey all was wondering if anyone knew how I could add the Shut Down/Restart/Stand By etc. to the bar so I could dump the taskbar completely...

If not Mouser could this be added in a future release?

Thanks all!
-Wreckedcarzz

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,409
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Shutdown/restart/hibernate etc. ability?
« Reply #1 on: November 14, 2006, 01:09:59 AM »
the easiest way would be to install this freeware tool that can do tons of things through the commandline:
http://www.nirsoft.net/utils/nircmd.html

then just have launchbar commander invoke the commands you want.

gives me an idea that i should create a default nircmd toolbar with predefined functions and buttons that you could drag and drop onto your own toolbars, etc.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: Shutdown/restart/hibernate etc. ability?
« Reply #2 on: November 14, 2006, 07:46:10 PM »
i use a JScript that shows the ShutDown dialog upon clicking on it, just google it & you'll find a lot of examples.
here's one:
Quote
Bringing Up the Shutdown Dialog Box

   1. Create a new txt file somewhere on your system, open it and put in this one line:
      (new ActiveXObject("Shell.Application")).ShutdownWindows();
   2. Save and Close the file. Change the extension to js and your got it.
   3. You can make a shortcut to that file to make it easy to shut down your system.
Source: http://www.privacywi...shutdown_dialog.html