m417z / Textify

A tool for Windows to copy text from dialogs and controls which don't allow it otherwise
https://ramensoftware.com/textify
GNU General Public License v3.0
907 stars 76 forks source link

Not working for NordVPN #27

Closed sojjwr closed 1 year ago

sojjwr commented 1 year ago

Just download the setup and try it. https://downloads.nordcdn.com/apps/windows/NordVPN/latest/NordVPNSetup.exe

m417z commented 1 year ago

Textify support most, but not all apps. It relies on UI Automation, and if NordVPN doesn't implement it, e.g. if the interface is custom made and they didn't bother implementing it, then it won't work. Just like Textify doesn't work with images since there's nowhere to grab text from, and Textify doesn't do OCR.

There’s a tool from Microsoft called Inspect which shows automation-related information. It can be downloaded here. You can try it with NordVPN to make sure it's not just an issue with Textify. Let me know if you think it is.

Similar issue about Telegram: https://github.com/m417z/Textify/issues/6

sojjwr commented 1 year ago

Inspect is a legacy tool. We recommend using Accessibility Insights instead. https://learn.microsoft.com/en-us/windows/win32/winauto/inspect-objects I tried it with Accessibility Insights and found no problems. While installing the setup can't copy text but after running installed app sometimes it works, other times it doesn't.

m417z commented 1 year ago

Inspect and Accessibility Insights use the same APIs, so it shouldn't really matter. I prefer Inspect as it's more lightweight.

The setup is running as administrator (most installers are), so Textify can't grab text from it unless it's running as administrator too. If you think there's another issue, can you post a screenshot or a video comparing Inspect (or Accessibility Insights) with Textify?