Jump to content

Chrome in autoit


Coda
 Share

Recommended Posts

Hi everyone, 
Can i use chrome like ie in autoit ?
For ex i have this :
$oie = _Iecreate("LINK")
_IELOADWAIT($oie)
while 1
$b = $oie.document.url
msgbox(0,"",$b)
wend

So can i use something like that but with chrome ?
thanks

Link to comment
Share on other sites

  • Moderators

Ok, might have been useful in your initial post :) Why don't you show us code for exactly what you tried with the Chrome UDF that did not work? That will be much easier to assist you with rather than us trying to decipher "nothing work". 

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Okay iam sorry for that 

Iam trying to open chrome and get the title for a website then the scripts wait until another website open
and i have tried that 

Something like that toolip and msgbox always returns 0

#RequireAdmin
#include <Chrome.au3>

$LInk = _ChromeStartup("www.google.com")

while 1
    $LInk2 = _ChromeDocGetTitle(1)
    ToolTip($LInk2,0,0,0)
    wend

 

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...