Главная / Продукты / Actual Window Manager / Online User Manual / AdministrationProgram Command Line Parameters
ActualWindowManagerCenter.exe can accept commands via command line
to ease the administrative installation on multiple machines using shell command scripts.
The command line structure is following:
ActualWindowManagerCenter.exe <command> [command-options]
Important Note!
You can use only a single command per call. If you need to invoke several commands in a script -
run the executable several times, each time with a different command.
The ActualWindowManagerCenter.exe executable accepts the following commands:
| Command |
Description |
| i<+|-> [-all] |
Enable/disable the tray icon for a current user.
The -all option enables/disables the tray icon for all users of the current workstation (it requires
to run this command as administrator).
Important Note!
When using in shell scripts along with the restore command, it is recommended to run this command after
the restore command; otherwise, changes made by this command will be overwritten from the backup copy.
|
| s<+|-> [-all] |
Enable/disable loading at startup for a current user.
The -all option enables/disables the loading at startup for all users of the current workstation (it requires
to run this command as administrator).
|
| l<+|-> [-all] |
Enable/disable running the library from the installation folder for a current user.
The -all option enables/disables the option for all users of the current workstation (it requires
to run this command as administrator).
|
| c ["config_file_name.ini"] |
Reload the configuration files from the folder containing the specified file. The config_file_name.ini
must be the fully qualified file name that must point to the file containing the window rules
(WindowRules.ini by default); other configuration files (like Options.ini,
VirtualDesktops.ini, etc.) will be loaded from the specified folder automatically.
If the config_file_name.ini option is omitted - this command forces Actual Window Manager
to reload the current configuration.
|
| r "<user_name>" <registration_code> |
Register the program with the specified user name/registration code.
To register the program for all users, run this command as administrator.
|
| backup <backup_file_name.zip> |
Back up the current configuration into the specified ZIP archive. The backup_file_name.zip must be the fully qualified
file name. If the file with such name already exists in the specified folder - it will be overwritten.
This command works the same as the Backup... command in the main menu.
Important Note!
When using in shell scripts, it is strongly recommended to run this command prepended with START /WAIT
to pause the script until the backup process finishes (it may take sufficient time, and proceeding to next script commands
before the backup file will be created may cause ambiguities).
|
| restore <backup_file_name.zip> |
Replace the current configuration from the specified backup ZIP archive created earlier. The backup_file_name.zip
must be the fully qualified file name. If the specified file does not exist, or it's not a valid ZIP archive, or it does not contain
valid configuration files - the current configuration will remain intact.
This command works the same as the Restore... command in the main menu.
Important Note!
When using in shell scripts, it is strongly recommended to run this command prepended with START /WAIT
to pause the script until the restoration process finishes (it may take sufficient time, and proceeding to next script commands
before all configuration data will be replaced may cause configuration's corruption and lead to program's malfunction).
|
| unload |
Shut down the Control Center.
This command works the same as the Unload Actual Window Manager command in the main menu.
|
Commands and command options are case-insensitive.
Sample Script
|