Sign in to follow this  
Followers 0
sonicxtacy02

Can inetget use wildcards?

4 posts in this topic

Simple question i havent been able to find the answer to thru searching or testing. Can Inetget accept wildcard characters. The .jpg i'm attempting to pull changes names ever so often so instead of using the fullpath:

InetGet("http://pub2.camera.trafficland.com/image/live.jpg?system=freeview&webid=850&pubtoken=c87666e8149590c135632728d6625b4a&0.6492245174251747", "C:\Program Files\Road Runner\Skins\MC2.5\pwpyn.jpg", 1)

can i use something like this:

InetGet("http://pub2.camera.trafficland.com/image/live.jpg?system=freeview&webid=850&pubtoken=c87666e8149590c135632728d6625b4a&0.*", "C:\Program Files\Road Runner\Skins\MC2.5\pwpyn.jpg", 1)

Share this post


Link to post
Share on other sites



I am going to assume that you've tried?


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

I am going to assume that you've tried?

yes i tried and it was unsuccessful. However, i wanted to see of someone more versed in autoit had another solution than the one i posted above.

Share this post


Link to post
Share on other sites

You are getting that image by navigating from a fixed web page using a fixed sequence I assume?

How about using IE.au3 to navigate there and then parse the url to get the image name and then InetGet that?

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  
Followers 0