是否有任何独立于平台的方式来访问剪贴板?
我有一个小项目想要写,但尚未决定使用哪种语言。最终,我想要一种以独立于平台的方式访问和/或修改剪贴板的方法。
我想学习一门新的语言来做到这一点,最好是这样的语言:
- 我会从中学到很多东西。
- 在我的简历上会很好看。
...而且我倾向于某种函数式语言(Lisp 是理想的选择)。也就是说,我可能还想尝试将 C 与其他语言连接起来,因此 C 库也是可以接受的。是否有任何库可以用符合上述标准的语言来实现我正在寻找的功能?
I have a small side project I want to write and have yet to decide on a language. Ultimately, I want a way to access and/or modify the clipboard in a platform-independent way.
I'd like to learn a new language to do this, preferably something that:
- I'll learn a lot from.
- Will look good on my resume.
...and I'm leaning towards a functional language of some kind (Lisp would be ideal). That said, I might also want to experiment with interfacing C with other languages, so a C library would also be acceptable. Are there any libraries out there that would do what I'm looking for in a language that meets the above criteria?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
一个跨平台库(例如 wxWidgets 框架,它可以让您在 C++、Python 中实现, Ruby 以及其他一些)将为您提供一种跨平台方式来实现这一点......
A crossplatform library (like thewxWidgets framework, which would let you implement in C++, Python, Ruby, and several more) would give you a way to implement this is a cross-platform manner...
一种方法是使用 Java 的剪贴板类。这为我提供了相当广泛的语言可供选择。
One approach to this is to use Java's clipboard class. This gives me a pretty wide selection of languages to choose from.