InjectBrowserMouseMove: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__NOTOC__ {{Client_function}} This function injects a mouse movement. ==Syntax== <syntaxhighlight lang="lua"> bool injectBrowserMouseMove ( browser webBrowser, int posX, int posY ) </syntaxhighlight> ...") |
mNo edit summary |
||
(8 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{ | {{Client function}} | ||
{{New feature/item|3.0150|1.5|| | |||
This function injects a mouse movement. | This function injects a mouse movement. | ||
}} | |||
==Syntax== | ==Syntax== | ||
Line 7: | Line 9: | ||
bool injectBrowserMouseMove ( browser webBrowser, int posX, int posY ) | bool injectBrowserMouseMove ( browser webBrowser, int posX, int posY ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{OOP||[[Element/Browser|browser]]:injectMouseMove}} | |||
===Required arguments=== | ===Required arguments=== | ||
Line 17: | Line 20: | ||
==Example== | ==Example== | ||
<syntaxhighlight lang="lua"> | |||
addEventHandler("onClientCursorMove", root, | |||
function (relativeX, relativeY, absoluteX, absoluteY) | |||
injectBrowserMouseMove(browser, absoluteX, absoluteY) | |||
end | |||
) | |||
</syntaxhighlight> | |||
==See also== | |||
{{CEF_functions}} | |||
[[hu:injectBrowserMouseMove]] | |||
[[RO:injectBrowserMouseMove]] |
Latest revision as of 08:29, 20 April 2020
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(...)
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
addEventHandler("onClientCursorMove", root, function (relativeX, relativeY, absoluteX, absoluteY) injectBrowserMouseMove(browser, absoluteX, absoluteY) end )
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