Clicking a website button without "physically" clicking it

Get help with using AutoHotkey and its commands and hotkeys
User avatar
Coldblackice
Posts: 20
Joined: 13 Nov 2013, 14:39

Clicking a website button without "physically" clicking it

13 Nov 2013, 20:51

Would it be possible to script the clicking of a button on a website, but without "manually" or physically clicking it? (i.e., by actual coordinate mouse-clicking)

I often see buttons on websites that perform some function, but when hovering over them with the mouse, no link is shown in the status bar. So I'm wondering if it's possible to click these buttons manually (without physical clicking), and if AHK could similarly do it.
User avatar
tank
Posts: 2825
Joined: 28 Sep 2013, 22:15
Facebook: charlie.simmons.7334
Google: ttnnkkrr
GitHub: ttnnkkrr
Location: Irving TX
Contact:

Re: Clicking a website button without "physically" clicking

14 Nov 2013, 10:14

DOM has the click() method for most elements. but other events other than click such as onfocus may be required. experimentation and discovery is your friend.
There are sites that even i find to complex to automate so I instead trap HTTP traffic with fiddler and automate site interactions with http post and get as necessary.

Some sites are easy some are hard and were it not for the fact that i dispise the syntax of cURL i would always use it
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
https://www.facebook.com/ahkscript.org
If you have forum suggestions please submit a pull request
Check Out WebWriter
Thanks Tank :thumbup:

Return to “Ask For Help”

Who is online

Users browsing this forum: Costy, GTM and 368 guests