Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2008
    Location
    The Netherlands
    Posts
    109

    [Request] I'm looking for a specific plugin

    As the title says I'm looking for a plugin which can be used to handle the mouse(lets it click or lets it go to a certain point). Is there a plugin like that for free? Thanks in advance

  2. #2
    Join Date
    Jun 2008
    Location
    AMSWaves
    Posts
    231
    Hi limboo, every jobs in AMS dont have plugins or dlls we can do them with some think and api programming so why we just want create plugins and plugins and plugins use my example and see codes :

    Code:
    function SetCursorPos(X, Y)
      return tonumber(DLL.CallFunction("user32.dll", "SetCursorPos", X..", "..Y, DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL))
    end
    
    
    MOUSEEVENTF_ABSOLUTE 	= 32768
    MOUSEEVENTF_MOVE 		= 1
    MOUSEEVENTF_LEFTDOWN 	= 2
    MOUSEEVENTF_LEFTUP 		= 4
    MOUSEEVENTF_RIGHTDOWN 	= 8
    MOUSEEVENTF_RIGHTUP 	= 16
    MOUSEEVENTF_MIDDLEDOWN 	= 32
    MOUSEEVENTF_MIDDLEUP 	= 64
    MOUSEEVENTF_WHEEL 		= 2048
    
    
    function mouse_event(dwFlags, dx, dy, dwData)
      DLL.CallFunction("user32.dll", "mouse_event", dwFlags..", "..dx..", "..dy..", "..dwData..", 0", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL)
    end
    See attachment file for Example
    Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts