Jump to content
Advert

Gui

Active Members
  • Posts

    171
  • Joined

  • Last visited

Gui's Achievements

Prodigy

Prodigy (4/7)

0

Reputation

  1. Hmm, thanks I think that'll do the trick! I'll just have to split everything into words.
  2. Essentially my goal is to retrieve the most popular word (or most repeated word) within in list of data, such as inside a text file. Any already super efficient ways of accomplishing this? Thanks GUI
  3. Yeah that makes sense. Ugh well i'm using the USB light as an example for testing. I'd just like be able to control the ports and/or what's attached to it for future purposes. Thanks for your insight!
  4. I know what you mean ;p AutoIt is powerful and most people fail to realize that. Meh I'll check out the UDF (http://www.fallenstar.net/autoit/DeviceAPI.au3). Perhaps it can do it. I'm just unfamiliar with drivers period.
  5. So is it possible to disable a port via AutoIt? Or does the Device API UDF have the ability to do so?
  6. Let's say I have a USB device, a USB light to be specific. Is it possible via AutoIt to either turn it on or off? Since just by plugging it in into the USB port it turns on, would you take control of the driver port and enable / disable it? First of course you'd have to locate the driver port, which as to my knowledge is possible using the DeviceAPI. Any other ideas/suggestions/methods I'll take, as long as it works! Thanks! GUI
  7. So technically, to send a WinHTTP request, you have..: $h_openRequest = _WinHttpOpenRequest($hw_connect, "GET", "/" , "HTTP/1.1", "") _WinHttpSendRequest($h_openRequest) _WinHttpReceiveResponse($h_openRequest) $data = '' Do $data &= _WinHttpReadData($h_openRequest) Until @error Typically, some responses may take a few seconds to load, and thus slows your script. Is there a way to send the request but not wait for the load? In other words, instead leave it to load on its own and move on with the script? Thanks! GUI
  8. Even if I try to read in binary, then re-convert, it doesn't make a difference. I even tried reading by line, but for the lines that have those weird chars, it can only interpret the first few for some reason, like I showed in OP.
  9. Using the pcap UDF, I'm trying to read / interpret packets that I pick up. In pcap, it will return some binary data. However, if you choose to save via the _PcapSaveToFile, and open the .pcap file in Notepad, you're able to see the data like so: http://pastebin.com/WFSh3atF Unfortunetly, trying to read the file with FileRead will only return the first few chars (Ôò¡ in this case). Is there anyway to read all the data clearly, especially where it shows actual text? Thanks! GUI PS: pcap UDF I'm referring to: http://opensource.grisambre.net/pcapau3/
  10. When I say outdated, I mean they don't function correctly anymore.
  11. I've looked everywhere, and every example script doesn't work anymore. Is there still away to check your gmail inbox though? I've tried via TCP, but it fails. If you could point in me in the right direction, that'd be great. Thanks! GUI
  12. Poetry. Explain a parent script. If it's as it sounds, a hidden script that main get's ran off of? If not, then please enlighten me. Other than that, I'd just like something simple, like #include <Console.au3> AdlibRegister("Der", 50) __Console__CreateConsole("derp") Cout("Derp." & @CRLF) While 1 Sleep(500) WEnd Func Der() $oP = WinGetProcess("derp") If ProcessExists($oP) = 0 Then MsgBox(0,'','User has exited.') EndFunc But sadly, it doesn't work.
  13. I don't want a parent script, just the main script running. ;s
  14. Silly me. I didn't mean on "Exit" like the function. I meant if the user exited (Clicked the X button). Sorry.
×
×
  • Create New...