Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Retrieve text from the hidden command-line window
#5
thank you! LA is so powerful!

Using the code below, I was able to solve most of my needs, and the value of the variable `s` is updated in real time.
However, how can I implement the functionality for Todo2?

I asked ChatGPT, but didn't get the correct answer, possibly because I don't understand the implementation principles.
 
Code:
Copy      Help
run.thread(() => run.console(s => print.it(s), frpc, cl, encoding: Encoding.UTF8));
//Todo2:
//Continuously monitor the text in the hidden frpc command-line window.
//When the specified text (e.g., "start proxy success") appears, a dialog box should pop up displaying the message: "Connection successful!"
//When the specified text (e.g., "unreachable network") appears, a dialog box should pop up displaying the message: "unreachable"

// HTTP server Code


Messages In This Thread
RE: Retrieve text from the hidden command-line window - by Davider - 08-16-2024, 02:14 AM

Forum Jump:


Users browsing this thread: 8 Guest(s)