Skip to content
Shakatar edited this page Nov 18, 2017 · 3 revisions

Welcome to the Bot module VB.NET wiki !

  • Bot.Click() Do a left mouse click at the cursor position
  • Bot.ClickPos(x As Integer, y As Integer) Do a left mouse click at the x,y position
  • Bot.MoveCursor(x As Integer, y As Integer) Move the cursor at the x,y position
  • Bot.getCursorPosition() Return the position (as Point) of the cursor
  • Bot.getCursorXPosition() Return the X position (as Integer) of the cursor
  • Bot.getCursorYPosition() Return the Y position (as Integer) of the cursor
  • Bot.FocusApplication(NameProcess As String) Focus an external application
  • Bot.KillApplication(NameProcess As String) Close/Kill an external application
  • Bot.OpenApplication(Path As String) Open an external application
  • Bot.Batch(Commands As String, WindowStyle As ProcessWindowStyle) Execute batch
  • Bot.WaitMilli(Milliseconds As Integer) Wait milliseconds
  • Bot.WaitSec(Seconds As Integer) Wait seconds
  • Bot.WaitMin(Minutes As Integer) Wait minutes
  • Bot.WaitHour(Hours As Integer) Wait hour
  • Bot.HideApplication(ProcessName As String) Hide an application (reduce application in task manager)
  • Bot.MinimizeApplication(ProcessName As String) Minimize an application
  • Bot.MaximizeApplication(ProcessName As String) Maximize an application
  • Bot.getPixelColor(x As Integer, y As Integer) Return pixel color (as Color) of the x,y position

Clone this wiki locally