Sign in to follow this  
Followers 0
jacobraccuia

ControlClick problems

4 posts in this topic

I need to select certain text on this page and copy it somewhere else..

I originally planned on using controlclick with coords to a certain point, then having the script hold shift and click down to select the text. I can't get the controlclick to work, however.

Here is the page I wish to select text from

http://img148.imageshack.us/i/webpageinfo.png/

I need to select all of the text in both boxes. It is simple text and can't be tabbed to..

On WindowInfo, this is what I get wherever I move the mouse [with different coords]

http://img251.imageshack.us/i/windowinfo.png/

These are the different ControlClick commands I have tried:

ControlClick ("View DB Entry - Mozilla Firefox", "", [, 2 [, 400 [, 60 ]]] )

ControlClick ("View DB Entry - Mozilla Firefox", "", [CLASS:MozillaWindowClass; INSTANCE:5] [, 2 [, 400 [, 60 ]]] )

ControlClick ("View DB Entry - Mozilla Firefox", "", [CLASS:MozillaWindowClass; INSTANCE:5])

Can someone please tell me what I'm doing wrong? THANKS!

sorry I'm a noob

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

You could try

WinGetText ( "title" [, "text"] )

Check window info tool visible test tab to see if it shows.

Edited by Steveiwonder

They call me MrRegExpMan

Share this post


Link to post
Share on other sites

The visible text tab is completely empty.

I also need to do what I mentioned above multiple times. I'm going to try to set it up so it pastes the entire page into notepad and works from there, until I get a better solution.

Thanks though, and I'm still looking for help!

Share this post


Link to post
Share on other sites

You could try looking at the page source, seeing if the data you want is in there, then use something like _StringBetween() to get what you want, since, if it's there, it's probably going to be between the same stuff usually. You can also just try like copying all the text on the page


RAWR! I'm hungry :( Feed the panda squirrle

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