Sign in to follow this  
Followers 0
zcoacoaz

Get text from a message box

3 posts in this topic

Is there a way to get the text from a message box that an external program made?


[font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font]

Share this post


Link to post
Share on other sites



Run("Notepad.exe")
WinWaitActive("Untitled - Notepad")
Send("ashfja")
Send("!f")
Send("x")
$gettextfromsavemsgbox = WinGetText("Notepad")
MsgBox(0, "NOW U SEE?!?!", $gettextfromsavemsgbox)

or do you mean a custo msgbox?


FootbaG

Share this post


Link to post
Share on other sites

i mean one like

MsgBox ( 0, "Title", "Text" )

but i just figured out how, you have to do it like this

ControlGetText ( "Title", "Text", 65535 )

[font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font]

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