Jump to content
Sign in to follow this  
geocine

Text from window

Recommended Posts

geocine

I would like to get a text from a window

e.g. the percentage of my downloads in my torrent client

then i will transfer it another window

e.g. my chat client

after it is transfered, it will hit send or enter key

the program will do this every 5 minutes..

the chat client it like a mobile chat client that will send messages on my cellphone

i though of doing this so that i would monitor my downloads when i am away


Do Not Steal The Government Hates CompetitionO2JAM AutoPlayBot [|||||.............] 10%Friendster Commenter [..................] 0%Auto Message Download Percentage [|||||||||||||||||] 100%

Share this post


Link to post
Share on other sites
geocine

why it this not working..

WinActivate("Azureus BitTyrant")
$see = ControlGetText("Azureus BitTyrant","%",131326)
MsgBox(0, "Text read was:", $see)

Do Not Steal The Government Hates CompetitionO2JAM AutoPlayBot [|||||.............] 10%Friendster Commenter [..................] 0%Auto Message Download Percentage [|||||||||||||||||] 100%

Share this post


Link to post
Share on other sites
geocine

now this works..

#NoTrayIcon

WinActivate("Azureus BitTyrant")

$see = ControlGetText("Azureus BitTyrant","","Static4")

MsgBox(0, "Text read was:", $see)

how can i get the text.. without activating the window

Edited by geocine

Do Not Steal The Government Hates CompetitionO2JAM AutoPlayBot [|||||.............] 10%Friendster Commenter [..................] 0%Auto Message Download Percentage [|||||||||||||||||] 100%

Share this post


Link to post
Share on other sites
geocine

Thanks..

i did it..

AutoItSetOption("WinDetectHiddenText", 1)
While 1
$see = ControlGetText("Azureus BitTyrant","","Static4")
ControlSend("Message - geocine","","Edit1",$see)
ControlSend("Message - geocine","","Edit1","{ENTER}")
    Sleep(1200000);20 minutes
Wend
Edited by geocine

Do Not Steal The Government Hates CompetitionO2JAM AutoPlayBot [|||||.............] 10%Friendster Commenter [..................] 0%Auto Message Download Percentage [|||||||||||||||||] 100%

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  

×