Skip to main content
GameDev.net gamedev.net
🔒 Locked

Macro

Started by Moriquendi Jun 20, 2010 at 1:27 PM 2 replies 750+ views
Original Post
Moriquendi
Moriquendi
Hey!

This time, I want to make something like Macro.
The program must do one thing as fast as it's possible.
So what is it.

1) I open manualy my browser - firefox
2)I click hotkey
3)The program click Ctrl+F and search for text
4)Now, Program click on a button which is about 30-50 pixels under text

So. The problem is point 4.
I have no idea how to put mouse under highlighted text.
Do you have and idea which may be helpful? :) I hope so!
Burnhard
Burnhard
Why do you want to do this?
Moriquendi
Moriquendi
Macros are usefull...dont you never use them?

[Edited by - Moriquendi on June 20, 2010 4:52:28 PM]
Zahlman
Zahlman
Assuming the website was written by people with even a tiny bit of clue, they will have measures in place to prevent this from working.

It would probably be easier anyway to look at the page source, figure out the format for the data that needs to be sent and then write a program that downloads the page, searches for the text, forms the HTTP response and sends it. The thing is that Ctrl-F'ing for text doesn't necessarily put it at a specific position on screen.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.