FocusBrowser: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
{{Needs Example}} | {{Needs Example}} | ||
{{New feature/item|3.0150|1.5|| | {{New feature/item|3.0150|1.5|| | ||
This function will attempt to focus the [[Element/Browser|browser]] or unfocus all browsers. | This function will attempt to focus the [[Element/Browser|browser]] or unfocus all browsers. The browser that is focused will retrieve keyboard input. | ||
}} | }} | ||
Revision as of 07:19, 27 August 2015
Script Example Missing Function FocusBrowser needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
This function will attempt to focus the browser or unfocus all browsers. The browser that is focused will retrieve keyboard input.
Syntax
bool focusBrowser ( browser webBrowser )
OOP Syntax Help! I don't understand this!
- Method: browser:focus(...)
- Counterpart: focusBrowser
Required Arguments
- webBrowser: The web browser to be focused - if this is nil, it will unfocus all browsers.
Returns
Returns true if the browser was focused or if nil was passed, false if it failed to focus or the browser does not exist.
Example
--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