exodius Posted February 16, 2005 Share Posted February 16, 2005 So I have a telnet window open with data that I want to be able to take and use as a variable. What's the best way to get it from simply in a screen to being a variable? Link to comment Share on other sites More sharing options...
Andre Posted February 16, 2005 Share Posted February 16, 2005 Hi, As far as i know the standard MS Telnet client does not support "text grabbing" with auto it. Try it with the Au3Info tool. Andre What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel! Link to comment Share on other sites More sharing options...
exodius Posted February 16, 2005 Author Share Posted February 16, 2005 Hi,As far as i know the standard MS Telnet client does not support "text grabbing" with auto it.Try it with the Au3Info tool.Andre<{POST_SNAPBACK}>My bad, it's a different telnet client that will allow "text grabbing". Link to comment Share on other sites More sharing options...
Andre Posted February 16, 2005 Share Posted February 16, 2005 Example ; Read text from notepad... $text = WinGetText("Untitled -", "") MsgBox(0, "Text read was:", $text) Andre What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel! Link to comment Share on other sites More sharing options...
Blue_Drache Posted February 16, 2005 Share Posted February 16, 2005 Example; Read text from notepad...$text = WinGetText("Untitled -", "") MsgBox(0, "Text read was:", $text)Andre<{POST_SNAPBACK}>If that doesn't work, try screen scraping. Put the contents of the screen into the clipboard and read it from there with $variable=ClipGet() Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
Guest Trevil_Knieval Posted March 11, 2005 Share Posted March 11, 2005 If that doesn't work, try screen scraping. Put the contents of the screen into the clipboard and read it from there with $variable=ClipGet()<{POST_SNAPBACK}>Does the screen scrape have to be manual, or is there a way to automate this? Link to comment Share on other sites More sharing options...
igmeou Posted March 11, 2005 Share Posted March 11, 2005 If that doesn't work, try screen scraping. Put the contents of the screen into the clipboard and read it from there with $variable=ClipGet()Can you explain screen scraping or put contents of the screen into clipboard?Perferably with examples. Thanks. :"> [font="Arial"]Thanks[/font]If @error = me Then $sorry Else Do $clarifyMe Until $meClear EndIF MsgBox(0,"Special Message!","Special Thanks to " & $allHadReplied,$Forever) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now