flow Posted October 29, 2022 Share Posted October 29, 2022 in my script I need to get the url value (string) displayed in the address bar of a chrome browser window that has the focus with winactive. The page was opened outside the script. Link to comment Share on other sites More sharing options...
Solution OJBakker Posted October 29, 2022 Solution Share Posted October 29, 2022 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 More sharing options...
Moderators JLogan3o13 Posted October 29, 2022 Moderators Share Posted October 29, 2022 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 More sharing options...
flow Posted October 30, 2022 Author Share Posted October 30, 2022 excuse me Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now