回复 3# afan
呵呵,我是有点兴趣,不过来晚了,P版已经写出了很精彩的代码
我也写了段代码,当做个练习,可调圈数,鼠标可调移动快慢;圈数总数的一半会向内旋,一半向外旋。
HotKeySet("{Esc}", "_Exit")
_Circle(@DesktopWidth / 2, @DesktopHeight / 2, 200,15,8);$iRound自定义圈数,$iStep自定义移动快慢
Func _Circle($iCenterX, $iCenterY, $iRadius, $iRound = 20, $iStep = 5, $pi = 3.14159265358979)
Local $iMouseX, $iMouseY,$iend = $iRound *360,$iR = $iRadius
For $i = 1 To $iend Step $iStep
$iMouseX = $iCenterX + $iR * Cos($i * $pi / 180)
$iMouseY = $iCenterY + $iR * Sin($i * $pi / 180)
$iR -= ($iRadius/($iRound/2)/(360/$iStep))
MouseMove($iMouseX, $iMouseY, 1)
Next
EndFunc ;==>_Circle
Func _Exit()
Exit
EndFunc ;==>_Exit
|