Is there a tool or workflow that can sync an arbitrary block of text from a text field / text area in one app to an arbitrary text field / text area in another app, in real time?<p>I've had this on my application wish list for workflow / productivity / tools / programming for years, and have never been able to find something like this.<p>An example use-case might be:<p><pre><code> - User types "Hello" in Description field of appOne, where it is persisted normally.
- On each keystroke, or perhaps every ~1s, that same content is synced to the Description field in appTwo.
- Both appOne and appTwo could be browser tabs.
- appOne could be a native app with appTwo being a browser tab, or vice versa.
- appOne could even be a game instance, with appTwo being a Notes application.
- Think "multi-cursor" features in IDEs, but across apps, across processes.
</code></pre>
Platform notes:<p>Windows solution preferred, but if this kind of tech is even remotely possible, I'd be willing to switch platforms for times where this workflow would be a game changer.<p>Possible matches:<p>My gut tells me that tools like Synergy, Parsec, or AutoHotkey might have the right kind of DNA to make this happen, but in the end, I'm grasping at straws trying to figure out how focus states, keyboard events, or text content could be redirected like this.<p>Thank you!
This can be done by writing an app that uses Windows API hook functions.<p>It could be made to work with most apps - since hook functions intercept messages before the app gets them.<p>A simple "Mirror whatever I type into a given window's input" is not too hard to develop.
But this is a serious security risk - what if someone set this up to some invisible window and grabbed everything you type?<p>Sure, many apps use hook functions (for example some remote desktop software), but it's a dicey thing to let some program hook everything that you type.<p>If you can trust the code, then it's cool