![](/img/trans.png)
[英]How can i MouseClickDrag position while holding Ctrl+Windows key ? Autohotkey
[英]AutoHotkey's MouseClickDrag issues in dealing with selecting Paint.NET images squared area?
(如果要重現此示例,請從此處下載Paint.NET,它是免費的,並且比Microsoft Paint具有更多的功能)。
當您打開Paint.NET時,加載一個簡單的圖像並將矩形選擇作為工具。
我寫了這個簡單的腳本:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
^d::
MouseClickDrag, Left, 365, 434, 906, 460
;You can change mouse coordinates as you wish
Send, ^c
Return
使用Ctrl
+ d
運行它。
我無法選擇這些坐標所描述的區域,但是使用矩形顏色填充儀效果很好。
如果我使用矩形選擇器,似乎AutoHotkey不會突出顯示該區域。
你有同樣的問題嗎?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.