Difference between revisions of "$fullscreen"

From Scriptwiki
Jump to: navigation, search
 
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]] ($locked) { [[msg]] [[$nick]] I am currently playing a game, I'll get back to you shortly. }
+
   [[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 18: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.

See Also