Jump to content
Sign in to follow this  
apsync

basics

Recommended Posts

apsync

hello, i want to do something like this, if someone could help me i would be thankfull ->

1-) check if current window is not "blabla.com" titled

2-) if not, change to blabla.com

3-) Send("test")

4-) minimize window

Share this post


Link to post
Share on other sites
apsync

oh btw in step 2, i want to CHANGE and not open a new browser.

thx

Share this post


Link to post
Share on other sites
Wb-FreeKill

oh btw in step 2, i want to CHANGE and not open a new browser.

thx

<{POST_SNAPBACK}>

Current window? the active window, or be specific name?

Share this post


Link to post
Share on other sites
apsync

i mean, lets say, i have a site open, blabla.com. and i am working in photoshop, i want that program to check if the current window is blabla.com (in this case its photoshop) if its not, change to blabla.com.

Share this post


Link to post
Share on other sites
apsync

something like this

If Not WinActive("blabla.com") Then
  WinActivate("blabla.com" , "")
EndIf

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  

×