InjectBrowserMouseUp: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{ | {{Client function}} | ||
{{New feature/item|3.0150|1.5|| | {{New feature/item|3.0150|1.5|| | ||
This function injects a mouse click (state: up). | This function injects a mouse click (state: up). |
Revision as of 20:15, 15 September 2015
This function injects a mouse click (state: up).
Syntax
bool injectBrowserMouseUp ( browser webBrowser, string mouseButton )
OOP Syntax Help! I don't understand this!
- Method: browser:injectMouseUp(...)
- Counterpart: injectBrowserMouseUp
Required arguments
- webBrowser: The web browser
- mouseButton: The mouse button (Possible values: left, middle, right)
Returns
Returns true if the click was successfully injected, false otherwise.
Example
addEventHandler("onClientClick", root, function(button, state) if state == "down" then injectBrowserMouseDown(browser, button) else injectBrowserMouseUp(browser, button) end 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