DocPane losing focus when interacting with external apps
Hi,
As shown in the screencast (http://bit.ly/39Zhupy), DocPane is losing focus when interacting with external apps.
In the screencast I exemplified using an AutoHotkey menu with scripts to (a) send text into IQ DocPane, (b) getting text from IQ DocPane and send to MSWord. In both cases, I couldn’t accomplish the tasks because IQ is losing focus from DocPane to the actual grid’s item.
So (a) send text into IQ DocPane overlaps the actual grid’s item instead, and (b) getting text from IQ DocPane and send to MSWord is sending the actual grid’s item text instead.
For exemplifying similar scenarios in which the (a) and (b) do work, I used in the screencast Freeplane and Mindmanager “Note Panes” interaction.
Would it be possible to stick the focus on IQ DocPane, like Freeplane and Mindmanager do?
Thank you!
Carlos
Comments
Send ^c
Sleep 200
Send ^c
!#s:: ;shortcut (! alt / # win / ^ ctrl / + shift)
sleep 150 ;minimum time needed to run the script from an AHK menu, allowing the focus to return to IQ after clicking on the menu (no need to `WinActivate, IQ` since after clicking on the menu the focus goes to the 'below' application automatically)
Send ^c
SendMode, Input
RunWait, winword
WinActivate, Microsoft Word
sleep 700 ;time needed to create a new .docx file and paste IQ content into it (necessary to uncheck 'Word options>Start up options> Show the Start screen when this application starts')
Send ^v