Jump to content
Sign in to follow this  
lawonama

Activate google chrome,

Recommended Posts

lawonama

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?

Share this post


Link to post
Share on other sites
dainiusb

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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.