Jump to content

Recommended Posts

Posted

Hi,

I'm sorry if it's not the right place to ask this,

but i am looking for a short script that can rotate between several browser.

the goal : i want to log in with several account of google analytics and rotate between them on the screen.

i didn't find something that works.

can someone help ?

Posted

i want to rotate between chrome , ff and ie.

at the moment i can get it to work only using the title of the application.

i want to work with the class parameter.

ff doesn't work even with the title.

Posted (edited)

You can try to use the AutoIt Window Info to read the class. What I would do is to simulate a Mouseclick on the Window with Winwait so it switches the focus. Here is an Example

Opt("WinWait",3)
WinWait("Example-Explorer")
MouseClick ($MOUSE_CLICK_PRIMARY[, clicks = 1])

You might want to check if that's working you can just use F1 in AutoIt and look for MouseClick

Edited by Eddi96
Fixing mistakes

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...