Jump to content

Recommended Posts

Posted

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?

Posted

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!
Posted

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".
Posted

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!
Posted

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

  • 4 weeks later...
Guest Trevil_Knieval
Posted

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?
Posted

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)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...