Some users asked for simple system and program commands for Windows in QTP as additional keyboard commands!Some things are very difficult or impossible to implement with additional scripts, batch files, PowerShell, cmd.exe, ... under Microsoft Windows. However, one would like to use one or the other command via keyboard shortcut to define and use keyboard shortcuts as required, or to use them via a QTP menu! Content: 1.) ... The commands all begin with sys:!
|
command | info |
------------------- | ------------------------- |
sys:MonitorOn | Switches the monitor off or standby |
sys:MonitorOff | Turns on the monitor |
sys:ScreensaverOn | Activate screen saver |
sys:ImgToClipboard | ► Image from MS Explorer or Quad Explorer as an image in the clipboard |
sys:PathToClipboard | Paths from file managers clipboard |
sys:PathToClipboard+ | Paths from file managers clipboard with execution characters |
sys:PathToClipboardSlash | Paths from file managers clipboard slash (/) instead of back slash (\) |
sys:PathToClipboardSlash+ | Paths from file managers clipboard slash instead of back slash + " |
sys:SwitchPowerOptions: | 1, 2, 3, ... value, the order from the Windows power options ► Switch MS Windows energy options via keyboard shortcuts! |
2.) To paste using the keyboard shortcuts as a menu via the clipboard!
[list_text]
text_000=L-Win+Y=sys:MonitorOn
text_001=L-Win+Y=sys:MonitorOff
text_002=L-Win+Y=sys:ScreensaverOn
text_003=L-Win+Y=sys:ImgToClipboard
text_004=L-Win+Y=sys:PathToClipboard
text_005=L-Win+Y=sys:PathToClipboard+
text_006=L-Win+Y=sys:PathToClipboardSlash
text_007=L-Win+Y=sys:PathToClipboardSlash+
[list_label]
text_000=System/MonitorOn
text_001=System/MonitorOff
text_002=System/ScreensaverOn
text_003=System/ImgToClipboard
text_004=System/PathToClipboard
text_005=System/PathToClipboard+
text_006=System/PathToClipboardSlash
text_007=System/PathToClipboardSlash+
[list_order]
text_000=102
text_001=103
text_002=104
text_003=105
text_004=106
text_005=107
text_006=108
text_007=109
3.) Who needs so many MS Windows keyboard shortcuts and what for?
Some things can also be solved as a shortcut or via PowerShell ..., but it is practical if you can do the tasks using the keyboard and it can be helpful for repetitive tasks and you save your nerves and save a lot of time!►► QTP for MS Windows!
(Image-1) System and program commands for MS Windows in QTP! |
![]() |
Very practical function for Windows 11, 10, ... etc.

FAQ 46: Updated on: 30 June 2021 10:19