Sign in to follow this  
Followers 0
exodius

Getting from a selection to a variable

7 posts in this topic

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?

Share this post


Link to post
Share on other sites



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!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0