Skip to content

Windows only release, new feature: use scroll quick select window rectangle

Compare
Choose a tag to compare
@lededev lededev released this 26 Dec 21:26
· 33 commits to scrollwin since this release

新功能:用鼠标上下滚轮快速选择包含鼠标光标位置的窗口,选择后可以移动鼠标变更位置再使用滚轮重新选择其他窗口,仅支持Windows。

  • 将鼠标移动到一个窗口,向上滚动鼠标滚轮,将从包含鼠标光标当前坐标位置,选择面积最小的窗口,继续向上滚动滚轮,选择的窗口逐步增大,直到包括全部显示器的最大全屏窗口。之后回环到面积最小的窗口。例如Ctrl+a可以用滚轮上、下来实现。
  • 将鼠标移动到一个窗口,向下滚动鼠标滚轮,将从包含鼠标光标当前坐标位置,选择面积最小的应用程序主窗口,继续向下滚动滚轮,选择的窗口逐步减小,直到最小窗口。之后回环到全部显示器的最大全屏窗口。如果下滚一次选定的区域不是你需要的主程序窗口区域,那可能当前鼠标位置有多个主窗口重叠,可以再次向上滚动鼠标滚轮,选择更大一些的主程序窗口或者大面积窗口。
  • 增加可配置热键Shift+s和Shift+d对应以上的向上和向下滚动鼠标滚轮。
  • 置顶贴图窗口可以消除边沿阴影,在置顶贴图窗口点选右键菜单执行。
  • Windows下支持命令行功能。行为与*nix有一定差异。在Windows下,如果Flameshot没有运行时,执行带命令行参数例如:flameshot.exe gui --pin,将先启动Flameshot到Windows托盘中,然后执行截图并在确认后置顶贴图,然而windows托盘中的Flameshot程序将不会主动退出,而是常驻在后台。下次再执行命令行时,将由这个后台程序来完成截图,命令行执行的副本程序会立刻退出。由于技术原因--path指定图片保存路径目前暂不支持。

改动:对原版的一些行为,进行了符合我本人操作习惯的一些改变:

  • 鼠标右键行为改变为退出,类似Esc键,以便支持截图全过程均可鼠标单手操作,无需键盘。
  • 呼出调色盘改为Ctrl+鼠标右键,或鼠标中键。
  • 改变工具按钮大小改为Ctrl+鼠标滚轮,此功能在Windows下似乎无效? 数字键改大小更加快捷。
  • 增加可选项用回车键置顶贴图。
  • 截图全局热键Print Screen让给系统默认程序,改为Shift+Print Screen作为本程序热键。
  • 显示截图历史全局热键改为Ctrl+Alt+Shift+Win+S键。
  • 改动和新功能的快捷键在“设置”窗口的“快捷键”标签页可查,部分可修改。
  • 补全和变更了一些简体中文翻译文字。

以下是机器翻译内容,如有不尽之处以中文说明为准。The following is machine translation content. If there are any inaccuracies, the Chinese description shall prevail.

New feature: Use the mouse scroll wheel up and down to quickly select the window containing the mouse cursor position. After selection, you can move the mouse to change the position and then use the scroll wheel to reselect other windows. Only supports Windows.

  • Move the mouse to a window and roll the mouse wheel upward to select the smallest window containing the current coordinates of the mouse cursor. Continue to roll the wheel upward and the selected window will gradually increase until it reaches the largest full-screen window that includes all monitors. Then loop back to the window with the smallest area. For example, Ctrl+a can be achieved by using the scroll wheel up and down.
  • Move the mouse to a window and scroll the mouse wheel downward to select the main application window with the smallest area from the current coordinate position of the mouse cursor. Continue to scroll the wheel downward and the selected window will gradually decrease until the smallest window is reached. Then loop back to the largest full-screen window on all monitors. If the area selected by scrolling down once is not the main program window area you need, there may be multiple main windows overlapping at the current mouse position. You can scroll the mouse wheel up again to select a larger main program window or a large area window.
  • Added configurable hotkeys Shift+s and Shift+d for scrolling the mouse wheel up and down.
  • The edge shadow can be eliminated in the top map window. Click the right-click menu in the top map window to execute.
  • Supports command line functions under Windows. The behavior is somewhat different from *nix. Under Windows, if Flameshot is not running, executing command line parameters such as: flameshot.exe gui --pin will first start Flameshot in the Windows tray, then execute a screenshot and pin the image to the top after confirmation. However, in the Windows tray The Flameshot program will not exit automatically, but will stay in the background. The next time you execute the command line, this background program will complete the screenshot, and the copy program executed by the command line will exit immediately. Due to technical reasons, --path specifies the image saving path is currently not supported.

Changes: Some changes to some behaviors of the original version have been made to suit my own operating habits:

  • The behavior of the right mouse button is changed to exit, similar to the Esc key, so that the entire screenshot process can be operated with one hand using the mouse without the need for a keyboard.
  • Change the color palette to Ctrl + right mouse button, or middle mouse button.
  • Change the tool button size to Ctrl+mouse wheel. This function seems to be invalid under Windows? Changing the size using the numeric keys is faster.
  • Added the option to use the Enter key to pin the image to the top.
  • The global hotkey for screenshots, Print Screen, has been given to the system default program and changed to Shift+Print Screen as the hotkey for this program.
  • The global hotkey for displaying screenshot history has been changed to Ctrl+Alt+Shift+Win+S.
  • The shortcut keys for changes and new functions can be viewed on the "Shortcut Keys" tab of the "Settings" window, and some can be modified.
  • Completed and changed some Simplified Chinese translation text.