Giter VIP home page Giter VIP logo

Comments (6)

actionee avatar actionee commented on May 28, 2024 1

我一直是mac+win双系统,在macOS上,用的时Alfred + YoudaoTranslator,非常好用,在 Windows 上找替代方案时发现了本项目。体验非常好,非常感谢!

YoudaoTranslator可以做到划词后,快捷键直接翻译的功能,类似下图。不知道有没有参考价值,仅分享一下。

CleanShot 2024-04-15 at 11 24 44

from powertranslator.

N0I0C0K avatar N0I0C0K commented on May 28, 2024

采纳, 之前在 #4 也被提到过. 当时研究了一下, 看来这个需求确实比较重要 !会在后面得大版本更新实现 (如果可以的话)

from powertranslator.

Gaia-X-Alter avatar Gaia-X-Alter commented on May 28, 2024

您好 不知道能否实现划词功能

描述如下:

  1. 选中一段文本
  2. 打开run时使用翻译命令(现在默认的'# '),或者之前使用过翻译有翻译命令存留
  3. 对选中文本进行翻译
  4. 如果运行翻译命令时无选中文本,则显示上次翻译结果
  5. 此功能和翻译剪贴板功能有冲突,或许可以在设置里进行选择,或用不同的翻译命令区分开?

最后感谢作者的工作: )

使用autohotkey,目前可以实现这个功能
F3::Send ^c!{Space}{!}
该命令使用 F3 发送 ctrl+c alt+space "!",达成一键翻译-哪里不会点哪里

from powertranslator.

themql avatar themql commented on May 28, 2024

使用autohotkey,目前可以实现这个功能
F3::Send ^c!{Space}{!}
该命令使用 F3 发送 ctrl+c alt+space "!",达成一键翻译-哪里不会点哪里

您好,感谢您的解决方案,ahk确实是个很🐂的软件;但我有时需要查看剪贴板的记录,基于复制功能实现查词可能会造成一定影响

from powertranslator.

form1essdata avatar form1essdata commented on May 28, 2024

给作者大大一个大拇哥!👍❤️💕

from powertranslator.

pilgrimlyieu avatar pilgrimlyieu commented on May 28, 2024

使用autohotkey,目前可以实现这个功能
F3::Send ^c!{Space}{!}
该命令使用 F3 发送 ctrl+c alt+space "!",达成一键翻译-哪里不会点哪里

您好,感谢您的解决方案,ahk确实是个很🐂的软件;但我有时需要查看剪贴板的记录,基于复制功能实现查词可能会造成一定影响

如果想要剪贴内容不变的话(剪贴板记录应该会变),也许可以先保存目前的剪贴内容,用剪贴板划词,然后用 WinActive() 检测 PT 是否在活跃状态,等到不是时则恢复剪贴内容

from powertranslator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.