Search the Community
Showing results for tags 'keypress'.
-
Hello, I wonder why PSlist waits for some input even when it has finished already? If I run it like this pslist.exe -s 2 in task manager mode for 2 seconds (so I have the CPU load numbers for processes) it never ends unless a key is pressed. This is useless if I want to call it from another script and have output in a file like this pslist.exe -s 2 >procs.txt because it never finishes! Anybody has an idea if anything else can be done except killing a process after some time?
-
Hi everyone , i'm trying to make some sort of full screen console window where some of the text must be non-editable like windows CMD.exe. Text already typed before pressing enter or the working folder 'C:\...>' is read only in CMD.exe and I want to know if mimicking this behavior in an edit control is possible. My attempt to make a console makes all the [A-Za-z0-9] keys a hotkey and the main edit control is set to read only. Every time the user types something the hotkey function is triggered, the cursor in the edit control is set to the end of the text and the character you typed is ad