Jump to content

Activate google chrome,


Recommended Posts

How do I actually activate google chrome, but it doesn't work. I am trying to activate, and write on google chrome. (It should write on the search place in google.) 

I use this code:

WinActivate("[CLASS:Chrome_WidgetWin_1]") 
Send("Test")


It does go to the google chrome, but it doesn't write. Any solutions?

Link to comment
Share on other sites

How do I actually activate google chrome, but it doesn't work. I am trying to activate, and write on google chrome. (It should write on the search place in google.) 

I use this code:

WinActivate("[CLASS:Chrome_WidgetWin_1]") 

Send("Test")

It does go to the google chrome, but it doesn't write. Any solutions?

it doesn't write because it writes right after execution of chrome. You can use Sleep(5000 or something) to give it enough time to start completely.

Edited by dainiusb
Link to comment
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
 Share

  • Recently Browsing   0 members

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