Total Pageviews

Saturday 23 July 2022

提高你的工作效率的工具uTools

 这软件果然是诚意满满,让我们来看一下,这软件都包括什么吧,总之是能够让你极大提升工作效率的利器……

官方网站

  • https://u.tools , https://yuanliao.info/
  • https://u.tools/docs/guide/about-uTools.html

应用介绍

uTools 是一个极简、插件化、跨平台的现代桌面软件工具平台,集成了许多不同的实用工具,所有的功能都由插件来提供,你可以选择自己需要的插件来提高自己的工作效率。


软件的主界面只有一个简单的输入框,可以在任何时候通过全局快捷键(默认 alt+space )快速打开它。

uTools 的所有的功能都由插件来提供,所以你首先要输入" plugins "进入插件中心,挑选你需要的插件。这种方式可以为你带来最大的自由度,自取所需。

(安装uTools后,我们通过按键alt+空格,同样在桌面会调出一个搜索框。

我们需要点击搜索框右边的黑色图标来进入uTools的插件中心。

你需要uTools带给你怎样的功能,就需要安装对应的插件。比如我们需要uTools像Everything和Listary拥有本地搜索功能。那么我们首当其冲的就是给uTools安装本地搜索功能。

安装本地搜索功能后我们再调出uTools就可以搜索本地文件了,因为uTools本地搜索功能是基于Everything开发的,所以搜索速度和搜索能力就不用多说了。)

------------

基于 Electron 实现 uTools 的超级面板

前言

为了进一步提高开发工作效率,最近我们基于 electron 开发了一款媲美 uTools 的开源工具箱 rubick。该工具箱不仅仅开源,最重要的是可以使用 uTools 生态内所有开源插件!这将是巨大的能力,意味着 uTools 生态内所有插件可以无差异化使用到 rubick 中。

设计交互上为了更能提高用户的使用效率,我们又尝试去实现了 uTools 中非常优秀的一些设计,比如:超级面板。该功能可以通过鼠标快速唤起uTools 插件能力,而不用再打开应用。比如上传图片,只要我们安装了图床插件,那么当鼠标选择桌面上某张图片时,即可快速呼出上传图片的菜单选项,方便省事。接下来一起看看实现方式吧!

代码仓库

Rubick github

功能截图:

文件夹下长按右建

选择文件后长按右键

选择文字后长按右键

实现原理

获取选中文案

要实现改功能核心是要读取当前用户选中的文案或者文件,根据当前选择内容进行不同功能展示。但是核心有一个问题是如何来实现获取当前选中的内容。这个问题思考了很久很久,要想获取选中的文案,感觉唯一的办法是使用 ctrl + c 或者 command + c 来先复制到剪切板,再通过 electron clipboard 来获取当前剪切板内容。但是 utools 可不是通过先复制再长按这样的操作来实现的,而是直接选中文本或者文件长按后呼起超级面板。所以一定要在右击长按前获取到当前选中的内容。

如果要这么干,可能真的无解了,之前就因为这么想,才被无解了。正确的思路应该是先长按再获取选中的内容。别看只是掉了个个,但实现确实天壤之别:

  1. 先获取选中内容:这就要求我们必须监听原生系统选中事件,但是 electron 并没有提供能力,我们也无法监听系统选择事件。
  2. 先右击,后获取内容,这样的好处在于先右击可以通过监听鼠标右击事件,相比选择事件更加容易。

from https://github.com/muwoo/blogs/issues/49

-----

Electron based open source toolbox, free integration of rich plug-ins. 基于 electron 的开源工具箱,自由集成丰富插件。  

rubickcenter.github.io/rubick/

Rubick

release release building npm star 码云

Based on electron open source toolbox, free integration of rich plug-ins, to create the ultimate desktop efficiency tool。Rubick is one of the heroes of Dota ,The core skill is the ability to use other heroes as plug-ins,Finished the walk 。Very consistent with the design concept of this tool,So named Rubick。

Installation package

Feature list

  • Plug-in management based on npm package mode, installing plugins is as easy as installing npm packages.
  • Support system plug-ins, as long as rubick is running, plug-ins can be used at any time.
  • Support global shortcut key settings
  • Support clipboard file search
  • Support searching for locally installed apps or preferences
  • Support MacOS
  • Support Windows
  • Support Linux

Docs

Rubick Docs

Core function

1. Search system application

Support pinyin and abbreviations to search system applications:

2. UI plug-in installation

Click the rubick icon on the right side of the search box to enter the plug-in market, select the desired plug-in, and click the download button to download. After the download is complete, you can find the installed plug-in under the Installed tab

After the installation is complete, enter the plug-in call up command to use the corresponding plug-in:

3. System plug-in installation

The system plug-in installation method is the same as that of the UI category. In the plug-in market, select the system category and find the system plug-in that suits you to install it.

After the system plug-in is installed successfully, rubick needs to be restarted to take effect

4. The input box focus automatically matches the plug-in according to the clipboard content

Search for Preferences in rubick, and then turn on the Auto Paste function to match the clipboard content and automatically match the plug-in for use.

More features

If you need more features, please come here to give us suggestions:issues 。 We will add valuable ideas to the later development. At the same time, welcome to join and build together。

from https://github.com/rubickCenter/rubick

 

 

 

 


 

No comments:

Post a Comment