Copying text from a chrome window without clipboard

Get help with using AutoHotkey and its commands and hotkeys
msmth57
Posts: 1
Joined: 26 Mar 2019, 10:09

Copying text from a chrome window without clipboard

26 Mar 2019, 10:27

I have a program that I run that has hijacked my copy paste function. So in an attempt to find a work around I visited another forum thread that suggested that this would work for a notepad file.
!c::
ControlGet, OutputVar, selected,, Edit1, ahk_class Notepad
msgbox % OutputVar
Return

This works, but my goal is to copy from a chrome window.
My script looks something like this...

!c::
ControlGet, OutputVar, selected,, Chrome_RenderWidgetHostHWND1, ahk_class Chrome_WidgetWin_1
msgbox % OutputVar
Return

For some reason, the msgbox comes up blank (empty variable, I think). Why is this happening and what can I do to fix it?
Thank you in advance.

Return to “Ask For Help”

Who is online

Users browsing this forum: bashiok, Bing [Bot], Ernest, Google [Bot], loek6000, MrSamTime, NearbyCactus, obliteration, TAC109, wineguy, Xtra and 223 guests