在autohotkey中识别当前光标的类型

时间:2016-12-29 08:22:50

标签: documentation autohotkey

根据https://autohotkey.com/docs/Variables.htm#Cursor, 变量A_Cursor具有以下值:

A_Cursor :AppStarting,箭头,十字架,帮助,IBeam,图标,否, Size,SizeAll,SizeNESW,SizeNS,SizeNWSE,SizeWE,UpArrow,Wait,Unknown。

是否有文档(甚至图像)或参考文件,我可以识别出哪些形状对应的形状?

对于其中一些名称,例如ArrowUpArrow,我可以识别它们。但并不适合所有人。 我想要识别当前光标的类型。

1 个答案:

答案 0 :(得分:2)

基于AutoHotkey帮助的光标类型列表:

以下来源的姓名/替代名称:

AppStarting [Working In Background][Wait] - pointer + hourglass
Arrow [Normal Select] - pointer (triangle + stem)
Cross [Precision Select][Crosshair] - plus sign
Help [Help Select] - pointer + question mark
IBeam [Text Select][Beam] - capital I with crossbars
Icon - (not used)
No [Unavailable] - no entry sign
Size - (not used)
SizeAll [Move] - plus sign with 4 arrowheads
SizeNESW [Diagonal Resize 1] - slash with 2 arrowheads
SizeNS [Vertical Resize] - vertical bar with 2 arrowheads
SizeNWSE [Diagonal Resize 2] - backslash with 2 arrowheads
SizeWE [Horizontal Resize] - horizontal bar with 2 arrowheads
UpArrow [Alternate Select] - vertical bar with 1 up arrowhead
Wait [Busy] - hourglass (or rotating torus)
Unknown - (various e.g. pointing hand, grabbing hand, pen)
e.g. Unknown [Handwriting][NWPen] - pen
e.g. Unknown [Hand][Link Select] - pointing hand (back of hand with extended index finger)

(在Windows 7:控制面板中,在搜索框中键入鼠标,单击鼠标,单击指针选项卡)
从鼠标属性,指针,方案,无列表(Windows 7):

Normal Select
Help Select
Working In Background
Busy
Precision Select
Text Select
Handwriting
Unavailable
Vertical Resize
Horizontal Resize
Diagonal Resize 1
Diagonal Resize 2
Move
Alternate Select
Link Select
e.g. of cursor types not included: grabbing hand, 'Icon', 'Size'

注意:

  • 斜杠与反斜杠相比,斜杠的方向与数字7中的对角线相同。
  • 我已经看到'等待[忙]和'AppStarting [后台工作] [等待]'都被称为'等待',并且会说“等待[忙碌]”因为已建立而更值得称号游标资源'IDC_WAIT'。
  • SizeNESW,SizeNS,SizeNWSE,SizeWE,NWPen指罗盘方向。

有用的链接:

嗯,这是我粗略看一眼游标。