I am working on a simple script to click 'Next' (in firefox) to use it together with a hotkey on my keyboard so I can easily move to next page while searching ebay and google. I have read the forum posts I could find and figured out 'mouseover' and any 'button' commands will not work as I am attempting to click just text. I am not familiar with html so I rule out searching in the sourcecode of the page, wchich would only limit the script to one page.
So far I have not figured out how to do it...help:)
Next Clicker on google and ebay
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
MouseOver etc work with Win32 controls. Can't work with HTML objects.
Best option if you are using FireFox is to use the FindImagePos command.
Best option if using IE is to use WebRecorder/VBScript. Plenty of examples on these forums for automating IE.
Best option if you are using FireFox is to use the FindImagePos command.
Best option if using IE is to use WebRecorder/VBScript. Plenty of examples on these forums for automating IE.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Why not really?
Both my suggestions will work with text links.
Just trying to help.
Both my suggestions will work with text links.
Just trying to help.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Marcus's response is probably your best option. Especially if you're working with HTML pages often, Web Recorder is indespensible.
The only other thing I can think of is on Google Search Results you could use the
Windows Find Function to locate hyperlinks.
Open Google Home Page and run the following:
The only other thing I can think of is on Google Search Results you could use the
Windows Find Function to locate hyperlinks.
Open Google Home Page and run the following:
Code: Select all
Press Ctrl
Send>f
Release Ctrl
WaitWindowOpen>Find*
WaitReady>Find*
SetFocus>Find*
wait>0.25
send>Advertising
Press Tab
Press Tab
Press Tab
Press Enter
-
- Automation Wizard
- Posts: 1101
- Joined: Fri Jan 07, 2005 5:55 pm
- Location: Somewhere else on the planet
IF you know how many results per page are being displayed in Google, you can calculate the URL for the next page of results. Here are the terminating characters of the first page of 10 search results, and the second page of 10 results. Setting the "start=" number will display any page.
...microsoft:en-US&ie=utf8&oe=utf8
...microsoft:en-US&start=10&sa=N
...microsoft:en-US&ie=utf8&oe=utf8
...microsoft:en-US&start=10&sa=N