KeyMagic 1.0.0
Download
| File | For |
|---|---|
| KeyMagic-1.0.0-Setup.exe | Most people. Bilingual wizard — pick English or Persian on the first screen. |
| KeyMagic-1.0.0.msi | Group Policy / Intune / SCCM deployment. |
Windows will warn that the publisher is unknown — the installer isn't code-signed. Click More info → Run anyway, or build it yourself with python build.py.
Requires: Windows 10 or 11 (64-bit). Python is bundled.
What it does
You type a Persian message while the keyboard is still on English:
سلام چطوری → sghl ]xdvd
Press F10. No selecting, no retyping — the text is rewritten in place, in whatever app you're in.
sghl ]xdvd → سلام چطوری
lk kld n,kl → من نمی دونم
Works in both directions, in Word, Chrome, Telegram, VS Code, terminals, and elevated apps.
| Shortcut | Action |
|---|---|
| F10 | Fix keyboard layout (selection, or current line) |
| Ctrl+G | Google-search the selected text |
| Ctrl+T | Open Google Translate with the selected text |
- Restores your clipboard afterwards — nothing is lost
- Tray control panel, English/Persian with full RTL
- Mute the notification sound, or hide notifications entirely
- Starts with Windows by default; one click to disable, always quittable
Notes on this build
Hotkeys are claimed through the native Win32 RegisterHotKey API rather than a keyboard-hook library. The hook approach broke in a subtle way: to suppress combinations it must buffer every Ctrl press, which also caught the app's own synthetic Ctrl+C and released the pieces out of order — the target window received a bare c and typed a stray character. It surfaced as sghl + F10 producing سلامز, that trailing ز being exactly c run through the layout map.
Clipboard reads synchronise on the OS clipboard sequence number instead of a fixed sleep, and key events carry real hardware scan codes via SendInput so hardened apps accept them.
دانلود
| فایل | برای چه کسی |
|---|---|
| KeyMagic-1.0.0-Setup.exe | انتخاب معمول. ویزارد دوزبانه — در صفحهٔ اول زبان را میپرسد. |
| KeyMagic-1.0.0.msi | استقرار سازمانی از طریق Group Policy یا Intune. |
ویندوز هشدار میدهد که ناشر ناشناس است — فایل امضای دیجیتال ندارد. روی More info ← Run anyway بزنید، یا خودتان با python build.py بسازیدش.
پیشنیاز: ویندوز ۱۰ یا ۱۱ (۶۴ بیتی). پایتون داخل فایل قرار دارد.
چه کار میکند؟
یک پیام فارسی مینویسید در حالی که کیبورد هنوز روی انگلیسی است:
سلام چطوری → sghl ]xdvd
کلید F10 را بزنید. بدون انتخاب کردن، بدون تایپ دوباره — متن همانجا و در همان برنامه بازنویسی میشود.
sghl ]xdvd → سلام چطوری
lk kld n,kl → من نمی دونم
در هر دو جهت کار میکند: در ورد، کروم، تلگرام، VS Code، ترمینال و حتی برنامههای با دسترسی ادمین.
| میانبر | کار |
|---|---|
| F10 | اصلاح چیدمان کیبورد (متن انتخابشده، یا خط جاری) |
| Ctrl+G | جستوجوی متن انتخابشده در گوگل |
| Ctrl+T | باز کردن گوگل ترنسلیت با متن انتخابشده |
- کلیپبورد شما را بعد از عملیات برمیگرداند — چیزی از دست نمیرود
- پنل کنترل در سینی سیستم، انگلیسی/فارسی با راستچینی کامل
- صدای اعلان را بیصدا کنید، یا اعلانها را کامل مخفی کنید
- پیشفرض با ویندوز اجرا میشود؛ با یک کلیک خاموش میشود و همیشه قابل خروج است