Search the Community
Showing results for tags 'consoleread'.
Greetings, Is possible build a script to send/receive commands in "Native Messagin" ? If you install this extension: https://chrome.google.com/webstore/detail/native-messaging-example/mefhabneoickhhbiglkmehhmemefkopf/related And this complement: https://github.com/Mandar-Shinde/Google-Chrome-Native-Messaging/releases/download/V1.0/GoogleNativeClient.exe You have a work example to send / receive messages from Google Chrome's plugin and NativeMessagingApp.exe. I found the source NativeMessagingApp.exe's here: https://github.com/Mandar-Shinde/Google-Chrome-Native-Messaging
Please don't give me the entire answer. I'd like to figure out as much on my own as i can, but need some nudging in the right direction. I've compiled the example script and I see how it works, but haven't figured out how to get my entire idea going. I need to run nslookup on multiple machines a few times each year and I'm using an input field to test with so others here could use the finished tool as well. Ideally, I'll have it read from a list, but that's another issue. PROBLEM: I don't know what functions to use or how to get them to read the response returned from nslookup out of the cmd p
The helpfile says: That isn't the case. A single call to ConsoleRead() will return the entire stream and block until the stream has been closed. Does anyone know a way around this? This auto-it script is a child process of another, non-autoit program so StdoutRead (for child processes) will not work.