Jump to content
Sign in to follow this  
nobbe

FINDING text on a loaded _IE_ page

Recommended Posts

nobbe

i would like to use the SEARCH function in IE to make the loaded page scroll and position to the text "to find"

this will only open the default internet Search page (google) but how can i open the Search dialog (ctrl-f) and search for text ?

_IENavigate($oIE, $url) ;

_IELoadWait($oIE)

_IEAction($oIE, "search") ; opens google---

tnx

Share this post


Link to post
Share on other sites
Dampe

Considering the window is active..

_IENavigate($oIE, $url);
_IELoadWait($oIE)
_IEAction($oIE, "search"); opens google---
Send ("^f")

Share this post


Link to post
Share on other sites
nobbe

unfortunatly its not active - i have embedded the IE control in an autoit GUI window - so the focus Send ("^f") comes to the AUTOIT gui, not IE :-(

Share this post


Link to post
Share on other sites
PsaltyDS

unfortunatly its not active - i have embedded the IE control in an autoit GUI window - so the focus Send ("^f") comes to the AUTOIT gui, not IE :-(

Did you try it with ControlSend()?

muttley


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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.