Jump to content
Macro Express Forums

Web Page Control Set Focus ?


MJB
 Share

Recommended Posts

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

Link to comment
Share on other sites

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'.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...