InjectBrowserMouseMove: Difference between revisions
Jump to navigation
Jump to search
m (Jusonex moved page Cef/injectBrowserMouseMove to InjectBrowserMouseMove) |
|||
Line 20: | Line 20: | ||
==Example== | ==Example== | ||
<syntaxhighlight lang="lua">function onCursorMove ( relativeX , relativeY , absoluteX , absoluteY ) | |||
injectBrowserMouseMove ( browser , absoluteX , absoluteY ) | |||
end | |||
addEventHandler ( "onClientCursorMove" , root , onCursorMove )</syntaxhighlight> | |||
==See Also== | ==See Also== |
Revision as of 09:48, 13 April 2015
This function injects a mouse movement.
Syntax
bool injectBrowserMouseMove ( browser webBrowser, int posX, int posY )
OOP Syntax Help! I don't understand this!
- Method: browser:injectMouseMove(...)
- Counterpart: injectBrowserMouseMove
Required arguments
- webBrowser: The browser which will retrieve the mouse movement
- posX: Absolute X screen coordinate
- posY: Absolute Y screen coordinate
Returns
Returns true if the movement was injected successfully, false otherwise.
Example
function onCursorMove ( relativeX , relativeY , absoluteX , absoluteY ) injectBrowserMouseMove ( browser , absoluteX , absoluteY ) end addEventHandler ( "onClientCursorMove" , root , onCursorMove )
See Also
Todo
See also
- canBrowserNavigateBack
- canBrowserNavigateForward
- createBrowser
- executeBrowserJavascript
- focusBrowser
- getBrowserProperty
- getBrowserSettings
- getBrowserSource
- getBrowserTitle
- getBrowserURL
- injectBrowserMouseDown
- injectBrowserMouseMove
- injectBrowserMouseUp
- injectBrowserMouseWheel
- isBrowserDomainBlocked
- isBrowserFocused
- isBrowserLoading
- isBrowserRenderingPaused
- loadBrowserURL
- navigateBrowserBack
- navigateBrowserForward
- reloadBrowserPage
- requestBrowserDomains
- resizeBrowser
- setBrowserAjaxHandler
- setBrowserProperty
- setBrowserRenderingPaused
- setBrowserVolume
- toggleBrowserDevTools