Vbscript 检测触摸板的坐标

Vbscript 检测触摸板的坐标,vbscript,coordinates,autoit,detect,touchpad,Vbscript,Coordinates,Autoit,Detect,Touchpad,我想开发像Synaptics touchpad手势应用程序这样的东西。Synaptics设置显示x和y坐标。有什么软件我可以用吗?像这样的代码: $x_start = 300 $y_start = 300 While 1 If $ontouch == True Then MouseMove($x_start + $x_touch, $y_start + $y_touch) EndIf Wend 您可以建议使用任何语言,但最好使用AutoIt或VBScript。一些图片需要

我想开发像Synaptics touchpad手势应用程序这样的东西。Synaptics设置显示x和y坐标。有什么软件我可以用吗?像这样的代码:

$x_start = 300
$y_start = 300
While 1
   If $ontouch == True Then
     MouseMove($x_start + $x_touch, $y_start + $y_touch)
   EndIf
Wend
您可以建议使用任何语言,但最好使用AutoIt或VBScript。一些图片需要澄清:

Synaptics设置显示x和y坐标。有什么软件我可以用吗

  • 可能吧
  • 屏幕上的坐标可以通过以下方式获得:。示例(按Q键退出):


你能再解释一下你的想法的功能吗?比如,你想识别手势还是触摸屏的动作。你可以看看这个==>@ShaunZyrille哦,你不是指触摸屏,你是笔记本电脑的触摸板。据我所知,这是不可能的,因为触控板不向PC发送坐标,只发送运动。还用@标记人,然后标记他们的名字,这样我们就可以收到通知。@IkeRoyle哦,谢谢你通知我,Synaptics使这成为可能,但我想我不能。
Global Const $g_iDelay     = 10
Global Const $g_sKeyExit   = 'q'
Global Const $g_sTooltip   = 'X = %i\nY = %i'

Global       $g_bStateExit = False

Main()

Func Main()
    Local $sTooltip = ''
    Local $aCoordinates

    HotKeySet($g_sKeyExit, 'SetStateExit')

    While Not $g_bStateExit

        $aCoordinates = MouseGetPos()
        $sTooltip     = StringFormat($g_sTooltip, $aCoordinates[0], $aCoordinates[1])

        ToolTip($sTooltip)
        Sleep($g_iDelay)

    WEnd

    Exit
EndFunc

Func SetStateExit()

    $g_bStateExit = True

EndFunc