Jump to content

how to get in the script the current url of a web page displayed by the chrome browser - (Moved)


flow
 Share

Go to solution Solved by OJBakker,

Recommended Posts

  • Solution
ClipPut("") ; empty clipboard
                    Sleep(10)
                    Send("!d") ; alt-d to adressbar and select url
                    Sleep(10)
                    Send("^c") ; ctrl-c copy selected to clipboard
                    Sleep(10)
                    $sUrl = ClipGet() ; copy clipboard to variable

 

Link to comment
Share on other sites

  • Moderators

Moved to the appropriate AutoIt General Help and Support forum, as the Developer General Discussion forum very clearly states:

Quote

General development and scripting discussions.


Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums.

Moderation Team

"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

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