' List Virtual Machine Mouse Information


On Error Resume Next

Set objVS = CreateObject("VirtualServer.Application")
set colVMs = objVS.VirtualMachines

For Each objVM in colVMS
    Set objMouse = objVM.Mouse
    Wscript.Echo objVM.Name
    Wscript.Echo "Horizontal position: " & objMouse.HorizontalPosition
    Wscript.Echo "Scroll wheel position: " & objMouse.ScrollWheelPosition
    Wscript.Echo "Using absolute coordinates position: " & _
        objMouse.UsingAbsoluteCoordinatesPosition
    Wscript.Echo "Vertical position: " & objMouse.VerticalPosition
    Wscript.Echo
Next
search for scripts

VbsEdit contains all these sample scripts!


Download Now!



Download   Home   Scripts

Copyright © 2001-2024 adersοft