Jump to content
Sign in to follow this  

How to get the URL from an image on the web?

Recommended Posts

Hi friends,

I would like to click an image on the web to call a function

that will use some regex to isolate a specific parameter from the Image's URL.

I have 2 questions:

1. is it possible to set any hot-key in a way that when i place the mouse cursor on the image and press it,

it will call the function? OR (better) if I could set a hot-key + mouse click?? and if so, how can i do that?

2. let's say I've triggered the function, how can i extract the URL from the image?

I wouldn't want to use mouse clicks and go to it's properties and get it from there by copying..

i would want a "lower level" (deeper) solution..

I would appreciate any help!



Share this post

Link to post
Share on other sites


First, Welcome to the AutoIt Forums

We ask that you do not bump your posts within 24 hours. This is not a 24/7 support forum. You will have have to wait until someone that knows how to help you comes online. Those of us that do answer, do so out of the kindness of our heart, and that we have a little time to spare. Be patient and someone will answer eventually.

Unfortunately for you, you also bumped with large letters in bold, which could be taken as shouting. Something that is not tolerated here at all. With that, I will wait another 24 hours to help you on top of the original 24 hours, better hope that someone has a kinder heart then mine.


My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry.  

Share this post

Link to post
Share on other sites

ok, ok, I'm sorry..

I didn't know these rules..

Realm , believe me, I appreciate any help i get on forums

and I try to help as much as i can in some of them too..

I will still appreciate any help..

Thanks a lot.


Share this post

Link to post
Share on other sites

Heres a cheap and nasty code, you can get started with, for use with Internet Explorer.

#include <Misc.au3>
Local $sLink
Local $hwnd = WinActivate("Internet Explorer")
While 1
    If _IsPressed("01") Then
        $sLink = StatusbarGetText($hwnd)

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...