Jump to content
Sign in to follow this  
Kjodiz

Checking URLs + same result, different URLs

Recommended Posts

Kjodiz

I'm currently making a script to make work easier.

Sometimes, clients don't have the time to talk there and then, so I have to call them up later.

So I save the URL, with some info in word..

But every time I open the URL, I have to enter username and password.

Every client has his/her own number, (for example http://some/random/client.aspx?order=38292838494)

So i want it to enter my username and password when the window pops up.

I'm thinking something like

If URL="http://some/random/client.aspx?order=*" then
Send ("username")
Send ("{TAB}"
Send ("password")
Send ("{ENTER}")

And yes, I know this code is as far from correct as you can get, but you know what i mean..

Help?

Share this post


Link to post
Share on other sites
Kjodiz

But my script would work? (thinking about the * at the end of the url)

Is that enough for all the numbers?

Share this post


Link to post
Share on other sites
Kjodiz

New problem!

How can i check the current url?

I've tried countless ways of the IE UDF(?), but no luck..

Share this post


Link to post
Share on other sites
Kjodiz

I don't have the example here, as I seem to have stored it on my computer instead of the flashdrive.

But I'm thinking about just doing it the easy way, and do a WinWaitActive.

I noticed that even thou the URL is different, the name of the window is the same.

Share this post


Link to post
Share on other sites
Kjodiz

I'll see what I can find out :oops:

Problem is, i'm using a version of Autoit I installed on my flash drive, so I can't access the help file for some reason.

And I haven't found any good tutorials for it.

Share this post


Link to post
Share on other sites
Kjodiz

My last comment never happened... -.-

Thanks James :-)

Share this post


Link to post
Share on other sites
somdcomputerguy

There are links to the online docs (the wiki too) in my sig. This may help sometimes.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

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  

×