jacobraccuia Posted February 24, 2010 Share Posted February 24, 2010 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 Link to comment Share on other sites More sharing options...
Steveiwonder Posted February 24, 2010 Share Posted February 24, 2010 (edited) You could try WinGetText ( "title" [, "text"] ) Check window info tool visible test tab to see if it shows. Edited February 24, 2010 by Steveiwonder They call me MrRegExpMan Link to comment Share on other sites More sharing options...
jacobraccuia Posted February 24, 2010 Author Share Posted February 24, 2010 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! Link to comment Share on other sites More sharing options...
mistersquirrle Posted February 24, 2010 Share Posted February 24, 2010 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 We ought not to misbehave, but we should look as though we could. Link to comment Share on other sites More sharing options...
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