欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

基 礎(chǔ) 函 數(shù) 參 考


MouseGetPos

獲取鼠標(biāo)的當(dāng)前坐標(biāo)位置.

MouseGetPos ( [返回] )

參 數(shù)

返回 [可選參數(shù)] 決定返回值的類型. 見返回值表.

返 回 值

返回
返回包含鼠標(biāo)坐標(biāo)的 2 元素數(shù)組: $array[0] = X 水平坐標(biāo), $array[1] = Y 垂直坐標(biāo)
0 返回 X 坐標(biāo)的整數(shù)值.
1 返回 Y 坐標(biāo)的整數(shù)值.


如果"返回"參數(shù)值不是數(shù)字, 將設(shè)置 @error 為 1.

備 注

參考 MouseCoordMode 相對/絕對位置的設(shè)置. 如果設(shè)置為相對位置, 坐標(biāo)值可能是負(fù)數(shù).

相 關(guān) 函 數(shù)

MouseClick, MouseClickDrag, MouseMove, MouseCoordMode (Option), MouseDown, MouseGetCursor, MouseUp, MouseWheel, PixelGetColor

函 數(shù) 示 例


Local $pos = MouseGetPos()
MsgBox(2048, "", "當(dāng)前光標(biāo)位置 x,y:  " & $pos[0] & "," & $pos[1])

provider with jb51.net (unicode)