09-01-2018, 02:05 PM
(This post was last modified: 09-01-2018, 02:14 PM by InterestedNewbie.)
Hide Notepad but keeping it activated for text input
|
If possible, it is difficult and/or unreliable. Maybe create a keylogger that pastes captured text into notepad when it is activated. Or try to find software that can do it.
getwintext and setwintext will work while notepad is hidden i've used this before and had good results
basic example
int w=win("" "Notepad") I am not sure what exactly your trying to do. Was just offering this as an alternative to pasting.Works even if window is inactive or hidden. If you give us a better idea of what exactly your trying to do maybe can come up with a solution.
09-01-2018, 07:14 PM
Better not to hide the window incase something goes wrong . if function/macro errors window will remain hidden .Use minimize and restore instead
here is a quick example of getting clipboard text and transferring it to notepad this function will run in the background and transfer text copied from the clipboard to notepad window. Function CopyClipboardToNotepadExample int w=win("" "Notepad")
09-01-2018, 08:02 PM
I do not know if this is what you wanted, but in the below tutorial it is explained how you can get and set text from/to notepad++ while notepad++ is in-active. Mind you this is not windows notepad. The explained method only works in scintilla based editors (like notepad++).
https://www.youtube.com/watch?v=OZwj1dMo5TY&t=93s (go to the 01:33 mark if the above link doesn't navigate you to it.)
09-01-2018, 09:50 PM
Thanks for the input all! Sorry, I should've been a little bit more specific. I used Notepad as an example but it could be any application that accepts text input.
What I'm trying to achieve is to create a possibility for speech recognition users to dictate into Notepad while it's window is (preferably) hidden (if not possible, minimized) so that they can see the full program window they are currently working in, without notepad taking up screen space. It shouldn't use a clipboard function. Speech recognition programs will dictate into any window that is active and has focus. Is this possible?
09-02-2018, 06:10 PM
i cannot test dragon so cant be of much help. but from looking at dragon online help maybe you could use the dictation box read its text from qm and then put it in other applications . For some apps can use getwintext,setwintext. others can use acc , others can use activex libraries .If you can read the text from the dictation box in qm you could do this but there isn't a one solution for all to put the text into inactive windows.
09-02-2018, 11:26 PM
(This post was last modified: 09-02-2018, 11:28 PM by InterestedNewbie.)
Yes it appears that direct dictation is only possible when the active window is visible and has the focus when it comes to speech recognition. Anyway, thanks for taking the trouble, always appreciated.
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 5 Guest(s)