flow Posted October 29, 2022 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.
Solution OJBakker Posted October 29, 2022 Solution 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
Moderators JLogan3o13 Posted October 29, 2022 Moderators 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!
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