Dear my friend,
My problem is: When I do manual: Click: WIN + Q the Capture2text work very well. But then When I used autoit function: SEND("#Q"), it doesn't work? Can you help me? my version is Capture2Text_v4.6.2_64bit my window is 10 Pro
Thanks you so much
No body can help me?
I use Capture2Text with AHK, and it works fine.
Send #{q}
Seems to be a problem with AutoIt.
Thanks pro. I will try and feedback. Many thanks
I use it with AutoIT, but the command line version like this :
RunWait("C:\WINDOWS\system32\cmd.exe" & " /c " & 'Capture2Text_CLI.exe --clipboard --language English --screen-rect "477 371 1082 468" ', "C:\Capture2Text", @SW_HIDE) ... $text=_ClipBoard_GetData($CF_UNICODETEXT)
...also, you shoud try using SEND("{LWIN}q") instead of SEND("#Q") https://www.autoitscript.com/autoit3/docs/functions/Send.htm
The easy way is to redefine Winkey+Q to F2 for example from settings/hotkeys menu and then send("{F2}"). Something like this :
#include <AutoItConstants.au3> #include <MsgBoxConstants.au3> sleep(5000) ; this will give you 5sec. to position your mouse over some text Send('{F2}') ; redefine Winkey+Q to F2 for example from setting/hotkeys sleep(200) $pos=MouseGetPos() MouseMove($pos[0]+500,$pos[1]+50) MouseClick($MOUSE_CLICK_LEFT) $text=ClipGet() MsgBox($MB_SYSTEMMODAL, "", $text)
thanks pro.
Log in to post a comment.
No body can help me?
I use Capture2Text with AHK, and it works fine.
Seems to be a problem with AutoIt.
Thanks pro. I will try and feedback. Many thanks
I use it with AutoIT, but the command line version like this :
...also, you shoud try using SEND("{LWIN}q") instead of SEND("#Q")
https://www.autoitscript.com/autoit3/docs/functions/Send.htm
The easy way is to redefine Winkey+Q to F2 for example from settings/hotkeys menu and then send("{F2}"). Something like this :
thanks pro.