InjectBrowserMouseWheel: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:
==Syntax==
==Syntax==
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
bool injectBrowserMouseUp ( browser webBrowser, int verticalScroll, int horizontalScroll )
bool injectBrowserMouseWheel ( browser webBrowser, int verticalScroll, int horizontalScroll )
</syntaxhighlight>
</syntaxhighlight>



Revision as of 20:15, 6 February 2015

This function injects mouse scrolling.

Syntax

bool injectBrowserMouseWheel ( browser webBrowser, int verticalScroll, int horizontalScroll )

Required arguments

  • webBrowser: The web browser
  • verticalScroll: Amount of units you want the browser to scroll along the Y-axe.
  • horizontalScroll: Amount of units you want the browser to scroll along the X-axe.

Returns

Returns true if the mouse action was successfully injected, false otherwise.

Example

Todo

See Also

Todo

See also