Jump to content
Macro Express Forums

Recommended Posts

Posted

Ctrl + F highlights the word on the button but 'Enter' has no effect, I have tried tabbing back and forward after using Ctrl + F but the tab function tabs to another area on the web page and not to the next in tab order.

If I tab to the button manually the 'Enter' works but I can't use the tab feature as the tab order continually changes as more or less fields are inserted or removed above the button. So is there any way of finding a word on a web page and left clicking on it?

Posted

Here is what I had to do to get it to work.

 

Control Key Down
 Delay 3 Milliseconds
 Text Type: f
Control Key Up
Wait For Window Title: "find"
Text Type: for :<ENTER>
Alt Key Down
 Text Type: <F4>
Alt Key Up
Delay 1 Seconds
Text Type: <TAB>
Delay 3 Milliseconds
Text Type: <ENTER>

 

The code presses the Control+F and then waits for the Window Title "Find".

It then types for: and presses <Enter> to locate the first instance of the string "for:".

The command to press Alt+F4 is given to close the Find Window.

From here I press <Tab> to enter a text field, but you can press <Enter> or use a Mouse Move to Cursor command as well.

You may need to add delays between the Control Key commands and the text type commands (e.g. Alt Key Down, Delay 3 miliseconds, Text Type: f...).

Posted

Thanks for your reply Jason. I found a way round it that works fine... By clicking on the nearest point above the button and then tabbing down the fields and saving the 'shortcut' from each field to a variable. The button had no shortcut so I set it to press 'Enter' when finding the first empty variable ;)

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...
×
×
  • Create New...