$fullscreen: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m Changed category to Window Identifiers |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Returns [[$true]] if an application is currently running fullscreen. | Returns [[$true]] if an application is currently running in fullscreen mode. | ||
$fullscreen | $fullscreen | ||
* This function has no parameters. | * This function has no parameters. | ||
==Example== | ==Example== | ||
[[on open|on *:OPEN:?:*:{]] | [[on open|on *:OPEN:?:*:{]] | ||
[[if]] ($ | [[if]] ($fullscreen) { [[msg]] [[$nick]] I am currently playing a game, I'll get back to you shortly. } | ||
} | } | ||
The above script would notify a user when they opened a new query window with you and you have a full screen application/game running. | The above script would notify a user when they opened a new query window with you and you have a full screen application/game running. | ||
==See Also== | ==See Also== | ||
* [[$appactive]] | * [[$appactive]] | ||
[[Category:Identifiers]] | [[Category:Window Identifiers]] |
Latest revision as of 16:09, 30 September 2008
Returns $true if an application is currently running in fullscreen mode.
$fullscreen
- This function has no parameters.
Example
on *:OPEN:?:*:{ if ($fullscreen) { msg $nick I am currently playing a game, I'll get back to you shortly. } }
The above script would notify a user when they opened a new query window with you and you have a full screen application/game running.