geocine Posted April 23, 2007 Posted April 23, 2007 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%
xcal Posted April 23, 2007 Posted April 23, 2007 That's a good idea. Good luck with that. How To Ask Questions The Smart Way
PsaltyDS Posted April 23, 2007 Posted April 23, 2007 I would like to get a text from a window...WinGetText() ??? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
geocine Posted April 24, 2007 Author Posted April 24, 2007 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%
geocine Posted April 24, 2007 Author Posted April 24, 2007 (edited) now this works..#NoTrayIconWinActivate("Azureus BitTyrant")$see = ControlGetText("Azureus BitTyrant","","Static4")MsgBox(0, "Text read was:", $see)how can i get the text.. without activating the window Edited April 24, 2007 by geocine Do Not Steal The Government Hates CompetitionO2JAM AutoPlayBot [|||||.............] 10%Friendster Commenter [..................] 0%Auto Message Download Percentage [|||||||||||||||||] 100%
geocine Posted April 24, 2007 Author Posted April 24, 2007 (edited) 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 April 24, 2007 by geocine Do Not Steal The Government Hates CompetitionO2JAM AutoPlayBot [|||||.............] 10%Friendster Commenter [..................] 0%Auto Message Download Percentage [|||||||||||||||||] 100%
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