TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: OS-level tool to sync input across applications / processes?

1 pointsby smolgumballover 2 years ago
Is there a tool or workflow that can sync an arbitrary block of text from a text field &#x2F; text area in one app to an arbitrary text field &#x2F; text area in another app, in real time?<p>I&#x27;ve had this on my application wish list for workflow &#x2F; productivity &#x2F; tools &#x2F; 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 &quot;Hello&quot; 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 &quot;multi-cursor&quot; 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&#x27;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&#x27;m grasping at straws trying to figure out how focus states, keyboard events, or text content could be redirected like this.<p>Thank you!

1 comment

rep_movsdover 2 years ago
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 &quot;Mirror whatever I type into a given window&#x27;s input&quot; 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&#x27;s a dicey thing to let some program hook everything that you type.<p>If you can trust the code, then it&#x27;s cool