Software:WoLEX2

From Blockipedia
Jump to: navigation, search

Template:SoftwareDetails

Purpose

Wake On LAN Ex is an application designed to be used with computers that contain network cards which are set to turn on when a "magic packet" is received. Running Wake On LAN Ex, entering the required details, and hitting Send will cause the WOL-enabled computer to turn itself on and boot as normal.

Depending on its WOL abilities, the destination computer can be sleeping, hibernating, or entirely off and still be able to react to a Wake-On-LAN event. WoLEX also supports shutting down, restarting, logging-off, and hibernating the remote computer, as well as sending it administrator messages.

WoLEX works with Windows Vista, 7, 8, and 8.1.

Command-Line

Since release v2.20, WoLEX has had the ability to receive command-line arguments to perform actions for use in an automated environment. All commands are case-insensitive.

Available Commands

The main Actions work on devices/entries within the WoLEX address book; the name of the device is used. All commands need to be prefixed with either a dash - or a slash / character. See Examples below if it isn't clear. Use a comma character , to separate multiple devices.

Action Commands

  • -wakeup
Sends a wake-up to the specified device(s).
  • -logoff
Notifies the specified device(s) that they should log-off their current Windows session. Windows only.
  • -restart
Notifies the specified device(s) that they should restart their Windows session, typically resulting in the computer rebooting. Windows only.
  • -shutdown
Notifies the specified device(s) that they should shut-down their current Windows session and turn off the computer. Windows only.
  • -separator
If any address book entries use the comma within their Name, you can change the address book entry separator by entering a different delimiter as a value of this parameter.
  • -showgui
Specifying this parameter will force WoLEX to show its interface even if the specified actions were successful; this is if you would prefer the interface to be shown as WoLEX typically hides it when an action is passed via the command-line and it worked successfully.
Examples
  • WoLEX.exe -wakeup=desktop,bedroom
Tells WoLEX to send a Wake-Up message to the Desktop and Bedroom address book entries.
  • WoLEX.exe -shutdown=desktop -restart=bedroom,kitchen -showgui
Sends a shutdown message to desktop, and a restart message to the bedroom and kitchen address book entries. WoLEX will then display its interface.

Other Commands

  • -minimise, -minimize, -hidden, -hide
Hides the main window to the system tray at start-up. This is the same as enabling the Start Minimised option within Settings - Startup.
  • -hidesysmenu [Windows only]
Almost all windows/forms within Windows have a system menu which can be reached by either clicking on a window's titlebar icon or by pressing the ALT key and then the Space key. WoLEX inserts new items into the menu that allows you to change the priority of the application, transparency of the main window, and whether the main window should always be placed above other windows.
If you would prefer to disable this feature, passing in this parameter will instruct WoLEX not to modify its window's system menu in any way.
  • -delay=X
Delays the start-up of WoLEX by X seconds. For example, specifying -delay=5 will delay WoLEX from loading any data (such as settings) or setting itself up for five seconds. This is useful if you're running from a slow storage device as it reduces disk trashing.
  • -nomutex
Specifying this option allows more than one instance of WoLEX to be run at a time. This is not recommended as multiple instances will interfere with each other in regards to their configuration files and data may be lost. At a technical level, the mutex is still created (so other versions of WoLEX know it's running) but WoLEX will not immediately exit as normal if it already exists.
  • -nopgo
WoLEX uses a runtime version of Profile Guided Optimisation that is built into the .NET 4.5.1 framework to increase start-up speed by up to 60% on systems with more than one CPU core. Specify this option to disable this feature and prevent WoLEX from writing a small .pgo file to its settings directory.
  • -nopique
Prevents WoLEX from enabling its error handling code and an uncaught error will completely bring down the application. There is no specific reason to use this option.
  • -basicui
Prevents WoLEX from using visual styles and improved font rendering within its interface. This affects the main application and not any modules. There is no specific reason to use this option.
  • -portable
Enables portable mode. All settings are saved into a directory called Settings within the directory that the WoLEX.exe application file resides.