Sign in to follow this  
Followers 0
deathday

can anyone tell me how to read a text from another window

10 posts in this topic

#1 ·  Posted (edited)

i want to read another window which keeps on changing ,i have used controlgettext to get the text but its not returing the text i need ,it gives on peoples name on chat box and i am trying to get all the peoples name from it , but it keeps on changing and shows the first time you enter into the room can anyone tell me how to get the text and then put those text into a listbox .... Edited by deathday

Share this post


Link to post
Share on other sites



thanks thanks , i used it i mean the au3 info but the trouble i am finding is i can't read the particular text i wnat , i am trying to read all the people who enters into a chtroom , ..i think it will difficult for u if i don;t tell you everything , i can even post the code ...ok here is the thing

Fisrt as soon as i enter into the room after some time it say something like this"Currently in the room :jack,john ,claire" ..so on it gives out the names

i am try to read the names only then put all the names in a listbox which will update as anyone new enters into the room ..heres the code i am using :

controlgettext("retriver","",STATIC)

here retriver is the title and static the box which show the room list ,, but i don't get the room lsit like that nothing is replying ... i don't know why can you help me please if you have an example script which reads something like that which keeps on changing it will be a big help .. thanks for replying again

if i get atleast one script whcih is simila i can make my software ...

thanks zedan

Share this post


Link to post
Share on other sites

here is the auto it window info:

post-44161-1230809962_thumb.png

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

@deathday

Try :

ControlGetText('chatbox','','[CLASS:Static; INSTANCE:1]')

ControlGetText('chatbox','',1000)

Cheers, FireFox.

Edited by FireFox

 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

i have try that but i need to make a loop to get the room list am i right but the thing is when i make a loop with do and utill it keeps on adding the smae list over and over again , can you tell me how to get the room lsit alone in a listbox and if you don't mind can you tell me how to arrnge the usernames in a single row...

Thanks for replying ...

Share this post


Link to post
Share on other sites

can u tell me where i can get example script , which might help me to do suhc scripts , ?

Share this post


Link to post
Share on other sites

@DeathDay

Use helpfile wich have some example script...

Cheers, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

look do u think i havent red the helpfile , it doesnt have the information i need , nothing is there regarding controlgettext and reading another window there is no example like that caz i have red the hellpfile twise it doesnt have what i need no info at all , by the way i have red more than 250 source files as well, still i couldnt found a single one which i can use to get what i want...

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