MJB Posted August 26, 2005 Report Share Posted August 26, 2005 Can anyone tell me how to set focus to a web page form control (textbox). I've tried tabbing to it and also using cordinates but neither one of these methods seem to work consistantly because of page loading time differences. Any help would be much appreciated. Thank you, MJB Quote Link to comment Share on other sites More sharing options...
randallc Posted August 26, 2005 Report Share Posted August 26, 2005 Hi, Probably not directly possible with ME3 this continues discussion from 2 threads back; see my "FindText" macro which troes to address this problem; sometimes successfully; if you can select text near your field, tabbing is then more reliable; FindText cf Cory's discussion; SelectThenTab Best, Randall Quote Link to comment Share on other sites More sharing options...
kevin Posted August 26, 2005 Report Share Posted August 26, 2005 If the problem is caused by "page loading time differences" then the Wait for Web Page command should help. This command only works with IE, however. If you are using another browser, you might use the technique described here:http://pgmacros.com/community/index.php?sh...st=0entry2576. Others have had success writing a macro to watch the status bar of the browser and waiting for the word 'Done'. Quote Link to comment Share on other sites More sharing options...
MJB Posted August 27, 2005 Author Report Share Posted August 27, 2005 Thanks everyone for the input. I tried the wait for web page to load but ended up using the website command, and just closing the page after every submit, it was slower but more reliable. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.