Sign in to follow this  
Followers 0
bqp2

Last Issue

5 posts in this topic

I Finally got everything working fine

there is one more small thing i am curious about, it involves web site, here is how it works

there are 3 different sites this download is available from, site 1 fastest, site 2 fast, site 3 slow

unfortunately site 1 & 2 are only available certain times so my question is this, is it possable to do something like this

If web title = site 1 then

script

else

close window

open other mirror

If web title = site 2 then

script

else

close window

open other mirror

Script

ENDIF

ENDIf

if it is how would i do the if lines,

Thanks in advance

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

is this really difficult to understand?

If WinExists("Title") then
    ;Some code here
else
    WinClose("Title")
EndIf
Edited by HavikTech

Share this post


Link to post
Share on other sites

is this really difficult to understand?

If WinExists("Title") then
    ;Some code here
else
    WinClose("Title")
EndIf

No it's not really that difficult, and usually when i see a sample like that i pick up very quickly, so thanks for that,

its kinda like a new job you can read the manuals and watch the video's all you want but till you actually get in there and see it done you are clueless, i learn better from examples then i do reading and video's

Share this post


Link to post
Share on other sites

You're in luck, as there's an Example Scripts forum here where you'll likely learn a lot! I know that I have.

Share this post


Link to post
Share on other sites

And the examples in the Help file for every function are very helpful as well.


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