List of boolean conditions: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Ronie
No edit summary
m (Marked as Outdated)
(139 intermediate revisions by 30 users not shown)
Line 1: Line 1:
{| class="usertable" border="1"
{{mininav|[[Development]]|[[Add-on development]]|[[Skinning]]}}
|- class="userrow"
 
| class="usercell" | AudioScrobbler.Enabled
 
| class="usercell" | Returns true if songs played are submitted to audioscrobbler.
{{outdated|This page has become too large and complex to maintain by volunteer editors, and has been only sporadically updated over the last few years.<br/>This page has missing data, and also shows data that has been deprecated.<br/>'''Refer to the up to date [https://xbmc.github.io/docs.kodi.tv/master/kodi-base/d5/d11/modules__infolabels_boolean_conditions.html Doxygen documentation]'''}}
|- class="userrow"
 
| class="usercell" | ButtonScroller.HasFocus(id)
 
| class="usercell" | Returns true if the buttonscroller is focused, and the current button has id ?id?.
<section begin="main content" />
|- class="userrow"
Skins can use boolean conditions with the <visible> tag or with condition attributes. Scripts can read boolean conditions with <code>xbmc.getCondVisibility(condition)</code>.
| class="usercell" | Container.HasThumb
 
| class="usercell" | Returns true if the current container you are in has a thumb assigned to it
 
|- class="userrow"
 
| class="usercell" | Container.Content(parameter)
=== Container ===
| class="usercell" | Returns true if the current container you are in contains the following: '''files, songs, artists, albums, movies, tvshows, seasons, episodes, musicvideos, genres, years, actors, playlists, plugins, studios, directors''' (Note: these currently only work in the Video and Music Library or unless a Plugin has set the value) also available are '''Addons''' true when a list of add-ons is shown '''LiveTV''' true when a htsp (tvheadend) directory is shown
{| class="prettytable" width="100%"
|- class="userrow"
! InfoLabels
| class="usercell" | Container(id).OnNext
! style="80%" | Definition
| class="usercell" | Returns true if the container with id (or current container if id is omitted) is moving to the next item.  Allows views to be custom-designed (such as 3D coverviews etc.)
! Version
|- class="userrow"
|-
| class="usercell" | Container(id).OnScrollNext
| <code>Container.HasThumb</code>
| class="usercell" | Returns true if the container with id (or current container if id is omitted) is scrolling to the next item. Differs from OnNext in that OnNext triggers on movement even if there is no scroll involved.
| Returns true if the current container you are in has a thumb assigned to it
|- class="userrow"
|
| class="usercell" | Container(id).OnPrevious
|-
| class="usercell" | Returns true if the container with id (or current container if id is omitted) is moving to the previous item.  Allows views to be custom-designed (such as 3D coverviews etc.)
| <code>Container.Content(parameter)</code>
|- class="userrow"
| Returns true if the current container you are in contains the following: '''files, songs, artists, albums, movies, tvshows, seasons, episodes, musicvideos, genres, years, actors, playlists, plugins, studios, directors, sets, tags, countries, roles, images''' (Note: these currently only work in the Video and Music Library or unless a Plugin has set the value) also available are '''Addons''' true when a list of add-ons is shown '''LiveTV''' true when a htsp (tvheadend) directory is shown
| class="usercell" | Container(id).OnScrollPrevious
|
| class="usercell" | Returns true if the container with id (or current container if id is omitted) is scrolling to the previous item. Differs from OnPrevious in that OnPrevious triggers on movement even if there is no scroll involved.
|-
|- class="userrow"
| <code>Container(id).OnNext</code>
| class="usercell" | Container(id).HasFocus(item_number)
| Returns true if the container with id (or current container if id is omitted) is moving to the next item.  Allows views to be custom-designed (such as 3D coverviews etc.)
| class="usercell" | Returns true if the container with id (or current container if id is omitted) has static content and is focused on the item with id item_number.
|
|- class="userrow"
|-
| class="usercell" | Container(id).HasFiles
| <code>Container(id).OnScrollNext</code>
| class="usercell" | Returns true if the container contains files (or current container if id is omitted).
| Returns true if the container with id (or current container if id is omitted) is scrolling to the next item. Differs from OnNext in that OnNext triggers on movement even if there is no scroll involved.
|- class="userrow"
|
| class="usercell" | Container(id).HasFolders
|-
| class="usercell" | Returns true if the container contains folders (or current container if id is omitted).
| <code>Container(id).OnPrevious</code>
|- class="userrow"
| Returns true if the container with id (or current container if id is omitted) is moving to the previous item.  Allows views to be custom-designed (such as 3D coverviews etc.)
| class="usercell" | Container(id).HasNext
|
| class="usercell" | Returns true if the container (id) has a next page.
|-
|- class="userrow"
| <code>Container(id).OnScrollPrevious</code>
| class="usercell" | Container(id).HasPrevious
| Returns true if the container with id (or current container if id is omitted) is scrolling to the previous item. Differs from OnPrevious in that OnPrevious triggers on movement even if there is no scroll involved.
| class="usercell" | Returns true if the container (id) has a previous page.
|
|- class="userrow"
|-
| class="usercell" | Container(id).IsStacked
| <code>Container(id).HasFocus(item_number)</code>
| class="usercell" | Returns true if the container is currently in stacked mode (or current container if id is omitted).
| Returns true if the container with id (or current container if id is omitted) has static content and is focused on the item with id item_number.
|- class="userrow"
|
| class="usercell" | Container(id).Row(row)
|-
| class="usercell" | Returns true if the container with id (or current container if id is omitted) is focused on the row given.
| <code>Container.HasFiles</code>
|- class="userrow"
| Returns true if the container contains files.
| class="usercell" | Container(id).Column(col)
|
| class="usercell" | Returns true if the container with id (or current container if id is omitted) is focused on the column given.
|-
|- class="userrow"
| <code>Container.HasFolders</code>
| class="usercell" | Container(id).Position(pos)
| Returns true if the container contains folders.
| class="usercell" | Returns true if the container with id (or current container if id is omitted) is focused on the position given.
|
|- class="userrow"
|-
| class="usercell" | Container(id).Scrolling
| <code>Container(id).HasNext</code>
| class="usercell" | Returns true if the user is currently scrolling through the container with id (or current container if id is omitted). Note that this is slightly delayed from the actual scroll start.  Use Container(id).OnScrollNext/OnScrollPrevious to trigger animations immediately on scroll.
| Returns true if the container or textbox with id (id) has a next page.
|- class="userrow"
|
| class="usercell" | Control.IsEnabled(id)
|-
| class="usercell" | Returns true if the control with id "id" is enabled.
| <code>Container(id).HasPrevious</code>
|- class="userrow"
| Returns true if the container or textbox with id (id) has a previous page.
| class="usercell" | Control.IsVisible(id)
|
| class="usercell" | Returns true if the control with id "id" is visible.
|-
|- class="userrow"
| <code>Container(id).IsUpdating</code>
| class="usercell" | Control.HasFocus(id)
| Returns true if the container with [[Dynamic List Content|dynamic list content]] is currently updating.
| class="usercell" | Returns true if the currently focused control has id "id".
|
|- class="userrow"
|-
| class="usercell" | ControlGroup(group).HasFocus(id)
| <code>Container.IsStacked</code>
| class="usercell" | Returns true if the control group with id “group” has control id “id” as it's focused item. If “id” is not present, or is 0, then it will return true if the currently focused control is in the control group with id “group”. Note that if the control group with id “group” does not have focus, then this will still return true if the last focused item in the group had control id “id”.  
| Returns true if the container is currently in stacked mode.
|- class="userrow"
|
| class="usercell" | IntegerGreaterThan([[InfoLabels|info]],number)
|-
| class="usercell" | Returns true if the value of the [[InfoLabels|infolabel]] is greater than the supplied number.<br>Example:<br>
| <code>Container.CanFilter</code>
IntegerGreaterThan(ListItem.Year,2000)
| Returns true when the current container can be filtered.
|- class="userrow"
|
| class="usercell" | LastFM.RadioPlaying
|-
| class="usercell" | Returns true if Last.fm radio is playing.
| <code>Container.CanFilterAdvanced</code>
|- class="userrow"
| Returns true when advanced filtering can be applied to the current container.
| class="usercell" | LastFM.CanLove
|
| class="usercell" | Returns true if the current song can be added to the users Last.fm loved songs.
|-
|- class="userrow"
| <code>Container.Filtered</code>
| class="usercell" | LastFM.CanBan
| Returns true when a mediafilter is applied to the current container.
| class="usercell" | Returns true if the current song can be banned from the users Last.fm radio.
|
|- class="userrow"
|-
| class="usercell" | Library.HasContent(string)
| <code>Container(id).HasParent</code>
| class="usercell" | Returns true if the XBMC libraries have the content from string. Valid Strings are (Video, Music, Movies, TVShows, MusicVideos)
| Return true when the container with id (or current container if id is omitted) contains a parent ('..') item.
|- class="userrow"
|
| class="usercell" | Library.IsScanningMusic
|-
| class="usercell" | Returns true if the music library is being updated
| <code>Container.SortDirection(ascending)</code>
|- class="userrow"
| Returns true the sort direction of a container is ascending.
| class="usercell" | Library.IsScanningVideo
|
| class="usercell" | Returns true if the video library is being updated
|-
|- class="userrow"
| <code>Container.SortDirection(descending)</code>
| class="usercell" | ListItem.IsFolder
| Returns true the sort direction of a container is descending.
| class="usercell" | Returns whether the current ListItem is a folder
|
|- class="userrow"
|-
| class="usercell" | ListItem.IsPlaying
| <code>Container(id).Row(row)</code>
| class="usercell" | Returns whether the current ListItem.* [[InfoLabels|info labels]] and images are currently Playing media
| Returns true if the container with id (or current container if id is omitted) is focused on the row given.
|- class="userrow"
|
| class="usercell" | ListItem.IsSelected
|-
| class="usercell" | Returns whether the current ListItem is selected (f.e. currently playing in playlist window)
| <code>Container(id).Column(col)</code>
|- class="userrow"
| Returns true if the container with id (or current container if id is omitted) is focused on the column given.
| class="usercell" | ListItem.Property(IsSpecial)
|
| class="usercell" | Returns whether the current Season/Episode is a Special
|-
|- class="userrow"
| <code>Container(id).Position(pos)</code>
| class="usercell" | MusicPlayer.HasNext
| Returns true if the container with id (or current container if id is omitted) is focused on the position given.
| class="usercell" | Returns true if the music player has a next song queued inthe Playlist.
|
|- class="userrow"
|-
| class="usercell" | MusicPlayer.HasPrevious
| <code>Container(id).Scrolling</code>
| class="usercell" | Returns true if the music player has a a Previous Song in the Playlist .
| Returns true if the user is currently scrolling through the container with id (or current container if id is omitted).  Note that this is slightly delayed from the actual scroll start. Use Container(id).OnScrollNext/OnScrollPrevious to trigger animations immediately on scroll.
|- class="userrow"
|
| class="usercell" | MusicPlayer.Offset(number).Exists
|-
| class="usercell" | Returns true if the music players playlist has a song queued in position (number).
| Container(id).SubItem
|- class="userrow"
| Returns true if the container with id (or current container if id is omitted) is focused on the specified subitem.
| class="usercell" | MusicPartyMode.Enabled
|
| class="usercell" | Returns true if Party Mode is enabled
|-
|- class="userrow"
| Container.Sortmethod(id)
| class="usercell" | Player.HasMedia
| Returns true if the current sort method matches the specified SortID [[https://kodi.wiki/view/List_of_built-in_functions#List_of_sort_methods see list of sort methods]].
| class="usercell" | Returns true if the player has an audio or video file.
|
|- class="userrow"
|}
| class="usercell" | Player.HasAudio
 
| class="usercell" | Returns true if the player has an audio file.
=== Control ===
|- class="userrow"
{| class="prettytable" width="100%"
| class="usercell" | Player.HasDuration
! InfoLabels
| class="usercell" | Returns true if Media isn't a true stream
! style="80%" | Definition
|- class="userrow"
! Version
| class="usercell" | Player.HasVideo
|-
| class="usercell" | Returns true if the player has a video file.
| <code>Control.IsEnabled(id)</code>
|- class="userrow"
| Returns true if the control with id "id" is enabled.
| class="usercell" | Player.Playing
|
| class="usercell" | Returns true if the player is currently playing (ie not ffwding, rewinding or paused.)
|-
|- class="userrow"
| <code>Control.IsVisible(id)</code>
| class="usercell" | Player.Paused
| Returns true if the control with id "id" is visible.
| class="usercell" | Returns true if the player is paused.
|
|- class="userrow"
|-
| class="usercell" | Player.Forwarding
| <code>Control.HasFocus(id)</code>
| class="usercell" | Returns true if the player is fast forwarding.
| Returns true if the currently focused control has id "id".
|- class="userrow"
|
| class="usercell" | Player.Forwarding2x
|-
| class="usercell" | Returns true if the player is fast forwarding at 2x.
| <code>ControlGroup(group).HasFocus(id)</code>
|- class="userrow"
| Returns true if the control group with id “group” has control id “id” as it's focused item. If “id” is not present, or is 0, then it will return true if the currently focused control is in the control group with id “group”. Note that if the control group with id “group” does not have focus, then this will still return true if the last focused item in the group had control id “id”.  
| class="usercell" | Player.Forwarding4x
|
| class="usercell" | Returns true if the player is fast forwarding at 4x.
|}
|- class="userrow"
 
| class="usercell" | Player.Forwarding8x
=== Integer ===
| class="usercell" | Returns true if the player is fast forwarding at 8x.
{| class="prettytable" width="100%"
|- class="userrow"
! InfoLabels
| class="usercell" | Player.Forwarding16x
! style="80%" | Definition
| class="usercell" | Returns true if the player is fast forwarding at 16x.
! Version
|- class="userrow"
|-
| class="usercell" | Player.Forwarding32x
| <code>Integer.IsEqual([[InfoLabels|info]],number)</code>
| class="usercell" | Returns true if the player is fast forwarding at 32x.
| Returns true if the value of the [[InfoLabels|infolabel]] is equal to the supplied number.<br />Example: Integer.IsEqual(ListItem.Year,2000)
|- class="userrow"
| {{nowrap|v17 Addition}}
| class="usercell" | Player.Rewinding
|-
| class="usercell" | Returns true if the player is rewinding.
| <code>Integer.IsEven([[InfoLabels|info]])</code>
|- class="userrow"
| Returns true if the value of the [[InfoLabels|infolabel]] is even.<br />Example: Integer.IsEven(ListItem.CurrentItem)
| class="usercell" | Player.Rewinding2x
| {{nowrap|v19 Addition}}
| class="usercell" | Returns true if the player is rewinding at 2x.
|-
|- class="userrow"
| <code>Integer.IsGreater([[InfoLabels|info]],number)</code>
| class="usercell" | Player.Rewinding4x
| Returns true if the value of the [[InfoLabels|infolabel]] is greater than to the supplied number.<br />Example: Integer.IsGreater(ListItem.Year,2000)
| class="usercell" | Returns true if the player is rewinding at 4x.
| {{nowrap|v17 Addition}}
|- class="userrow"
|-
| class="usercell" | Player.Rewinding8x
| <code>Integer.IsGreaterOrEqual([[InfoLabels|info]],number)</code>
| class="usercell" | Returns true if the player is rewinding at 8x.
| Returns true if the value of the [[InfoLabels|infolabel]] is greater or equal to the supplied number.<br />Example: Integer.IsGreaterOrEqual(ListItem.Year,2000)
|- class="userrow"
| {{nowrap|v17 Addition}}
| class="usercell" | Player.Rewinding16x
|-
| class="usercell" | Returns true if the player is rewinding at 16x.
| <code>Integer.IsLess([[InfoLabels|info]],number)</code>
|- class="userrow"
| Returns true if the value of the [[InfoLabels|infolabel]] is less than the supplied number.<br />Example: Integer.IsLess(ListItem.Year,2000)
| class="usercell" | Player.Rewinding32x
| {{nowrap|v17 Addition}}
| class="usercell" | Returns true if the player is rewinding at 32x.
|-
|- class="userrow"
| <code>Integer.IsLessOrEqual([[InfoLabels|info]],number)</code>
| class="usercell" | Player.CanRecord
| Returns true if the value of the [[InfoLabels|infolabel]] is less or equal to the supplied number.<br />Example: Integer.IsLessOrEqual(ListItem.Year,2000)
| class="usercell" | Returns true if the player can record the current internet stream.
| {{nowrap|v17 Addition}}
|- class="userrow"
|-
| class="usercell" | Player.Recording
| <code>Integer.IsOdd([[InfoLabels|info]])</code>
| class="usercell" | Returns true if the player is recording the current internet stream.
| Returns true if the value of the [[InfoLabels|infolabel]] is odd.<br />Example: Integer.IsOdd(ListItem.CurrentItem)
|- class="userrow"
| {{nowrap|v19 Addition}}
| class="usercell" | Player.Caching
| class="usercell" | Returns true if the player is current <span class="nobr">re-caching</span> data (internet based video playback).
|- class="userrow"
| class="usercell" | Player.SeekBar
| class="usercell" | Returns true for the first 2.5 seconds after a video seek.
|- class="userrow"
| class="usercell" | Player.DisplayAfterSeek
| class="usercell" | Returns true after any seek.
|- class="userrow"
| class="usercell" | Player.Seeking
| class="usercell" | Returns true if a seek is in progress
|- class="userrow"
| class="usercell" | Player.ShowTime
| class="usercell" | Returns true if the user has requested the time to show (occurs in video fullscreen)
|- class="userrow"
| class="usercell" | Player.ShowInfo
| class="usercell" | Returns true if the user has requested the song info to show (occurs in visualisation fullscreen and slideshow)
|- class="userrow"
| class="usercell" | Player.ShowCodec
| class="usercell" | Returns true if the user has requested the codec to show (occurs in visualisation and video fullscreen)
|- class="userrow"
| class="usercell" | Player.Muted
| class="usercell" | Returns true if the volume is muted.
|- class="userrow"
| class="usercell" | Playlist.IsRandom
| class="usercell" | Returns true if the player is in random mode.
|- class="userrow"
| class="usercell" | Playlist.IsRepeat
| class="usercell" | Returns true if the player is in repeat all mode.
|- class="userrow"
| class="usercell" | Playlist.IsRepeatOne
| class="usercell" | Returns true if the player is in repeat one mode.
|- class="userrow"
| class="usercell" | Skin.HasTheme(theme)
| class="usercell" | Returns true if the user has selected the theme with name ?theme?.
|- class="userrow"
| class="usercell" | Skin.HasSetting(setting)
| class="usercell" | Returns the state of the <span class="nobr">skin-specified</span> setting ?setting?. You can toggle a setting from a button by using <onclick>Skin.ToggleSetting(setting)</onclick>.
|- class="userrow"
| class="usercell" | Skin.String(string)
| class="usercell" | Returns whether the skin string (set via Skin.SetString, Skin.SetPath, or Skin.SetImage) is <span class="nobr">non-empty</span>.
|- class="userrow"
| class="usercell" | Slideshow.IsActive
| class="usercell" | Returns true if the picture slideshow is running
|- class="userrow"
| class="usercell" | Slideshow.IsPaused
| class="usercell" | Returns true if the picture slideshow is paused
|- class="userrow"
| class="usercell" | Slideshow.IsRandom
| class="usercell" | Returns true if the picture slideshow is in random mode
|- class="userrow"
| class="usercell" | StringCompare([[InfoLabels|info]],string)
| class="usercell" | Returns true if the [[InfoLabels|info]] equals the string. example of info: ListItem.Title, ListItem.Genre. Please note that string can also be a $LOCALIZE[] or [[InfoLabels|info label]]. Also note that in a panelview or similar this only works on the focused item.
|- class="userrow"
| class="usercell" | SubString([[InfoLabels|info]],string)
| class="usercell" | Returns true if the string is found anywhere in the [[InfoLabels|info]]
|- class="userrow"
| class="usercell" | SubString([[InfoLabels|info]],string,[Left or Right])
| class="usercell" | Returns true if the string is found from the start or the end.<br>Example:<br>
(foobars,foob,Left) -> true<br>
(foobars,foob,Right) -> False<br>
(foobars,bars,Right) -> true
|- class="userrow"
| class="usercell" | System.HasAddon(id)
| class="usercell" | Returns true if the specified addon is installed on the system.
|- class="userrow"
| class="usercell" | System.HasAlarm(alarm)
| class="usercell" | Returns true if the system has the ?alarm? alarm set.
|- class="userrow"
| class="usercell" | System.AlarmLessOrEqual(alarmname,seconds)
| class="usercell" | Returns true if the alarm with ?alarmname? has less or equal to ?seconds? left. Standard use would be system.alarmlessorequal(shutdowntimer,119), which would return true when the shutdowntimer has less then 2 minutes left.
|- class="userrow"
| class="usercell" | System.HasNetwork
| class="usercell" | Returns true if the ethernet cable is plugged in.
|- class="userrow"
| class="usercell" | System.HasMediadvd
| class="usercell" | Returns true if there is a CD or DVD in the <span class="nobr">DVD-ROM</span> drive.
|- class="userrow"
| class="usercell" | System.IdleTime(time)
| class="usercell" | Returns true if XBMC has had no input for ?time? amount of seconds.
|- class="userrow"
| class="usercell" | System.IsStandalone
| class="usercell" | Returns true if XBMC is running in standalone mode.
|- class="userrow"
| class="usercell" | System.IsFullscreen
| class="usercell" | Returns true if XBMC is running fullscreen.
|- class="userrow"
| class="usercell" | System.KaiConnected
| class="usercell" | Returns true if XBMC's Kai client is connected to the PC engine.
|- class="userrow"
| class="usercell" | System.AutoDetection
| class="usercell" | Returns true if another Xbox is detected on network.
|- class="userrow"
| class="usercell" | System.IsLoggedOn
| class="usercell" | Returns true if a user is currently logged on under a [[Profiles|profile]]
|- class="userrow"
| class="usercell" | System.HasLoginScreen
| class="usercell" | Returns true if the [[Profiles|profile]] login screen is enabled
|- class="userrow"
| class="usercell" | System.Time(startTime,endTime)
| class="usercell" | Returns true if the current system time is >= startTime and < endTime.  endTime is optional.  Time must be specified in the format HH:mm, using a 24 hour clock.
|- class="userrow"
| class="usercell" | System.Date(startDate,endDate)
| class="usercell" | Returns true if the current system date is >= startDate and < endDate.  endDate is optional.  Date must be specified in the format MM-DD.
|- class="userrow"
| class="usercell" | System.Platform.Linux
| class="usercell" | Returns true if XBMC is running on a linux/unix/osx based computer.
|- class="userrow"
| class="usercell" | System.Platform.Windows
| class="usercell" | Returns true if XBMC is running on a windows based computer.
|- class="userrow"
| class="usercell" | System.CanPowerDown
| class="usercell" | Returns true if XBMC can powerdown the system.
|- class="userrow"
| class="usercell" | System.CanSuspend
| class="usercell" | Returns true if XBMC can suspend the system.
|- class="userrow"
| class="usercell" | System.CanHibernate
| class="usercell" | Returns true if XBMC can hibernate the system.
|- class="userrow"
| class="usercell" | System.CanReboot
| class="usercell" | Returns true if XBMC can reboot the system.
|- class="userrow"
| class="usercell" | VideoPlayer.UsingOverlays
| class="usercell" | Returns true if the video player is using the hardware overlays render method. Useful, as with hardware overlays you have no alpha blending to the video image, so shadows etc. need redoing, or disabling.
|- class="userrow"
| class="usercell" | VideoPlayer.IsFullscreen
| class="usercell" | Returns true if the video player is in fullscreen mode.
|- class="userrow"
| class="usercell" | VideoPlayer.HasMenu
| class="usercell" | Returns true if the video player has a menu (ie is playing a DVD)
|- class="userrow"
| class="usercell" | VideoPlayer.HasInfo
| class="usercell" | Returns true if the current playing video has information from the library or from a plugin (eg director/plot etc.)
|- class="userrow"
| class="usercell" | VideoPlayer.Content(parameter)
| class="usercell" | Returns true if the current Video you are playing is contained in corresponding Video Library sections. The following values are accepted : files, movies, episodes, musicvideos, livetv
|- class="userrow"
|- class="userrow"
| class="usercell" | VideoPlayer.HasSubtitles
| class="usercell" | Returns true if there are subtitles available for video. (available for version 11.0 and above)
|- class="userrow"
|- class="userrow"
|- class="userrow"
| class="usercell" | VideoPlayer.SubtitlesEnabled
| class="usercell" | Returns true if subtitles are turned on for video. (available for version 11.0 and above)
|- class="userrow"
| class="usercell" | Visualisation.Enabled
| class="usercell" | Returns true if any visualisation has been set in settings (so not None).
|- class="userrow"
| class="usercell" | Visualisation.Locked
| class="usercell" | Returns true if the current visualisation preset is locked (eg in Milkdrop.)
|- class="userrow"
| class="usercell" | Weather.IsFetched
| class="usercell" | Returns true if the weather data has been downloaded.
|- class="userrow"
| class="usercell" | Window.IsVisible(window)
| class="usercell" | Returns true if the window is visible (includes fade out time on dialogs)
|- class="userrow"
| class="usercell" | Window.IsActive(window)
| class="usercell" | Returns true if the window with id or title ?window? is active (excludes fade out time on dialogs) [[Window IDs|See here for a list of windows]]
|- class="userrow"
| class="usercell" | Window.IsMedia
| class="usercell" | Returns true if this window is a media window (programs, music, video, scripts, pictures)
|- class="userrow"
| class="usercell" | Window.Next(window)
| class="usercell" | Returns true if the window with id or title ?window? is being moved to. [[Window IDs|See here for a list of windows]]. Only valid while windows are changing.
|- class="userrow"
| class="usercell" | Window.Previous(window)
| class="usercell" | Returns true if the window with id or title ?window? is being moved from. [[Window IDs|See here for a list of windows]]. Only valid while windows are changing.
|}
|}


=== Library ===
{| class="prettytable" width="100%"
! InfoLabels
! style="80%" | Definition
! Version
|-
| <code>Library.HasContent(string)</code>
| Returns true if the Kodi libraries have the content from string.  Valid Strings are (Video, Music, Movies, TVShows, MusicVideos, MovieSets, BoxSets)
|
|-
| <code>Library.IsScanningMusic</code>
| Returns true if the music library is being updated
|
|-
| <code>Library.IsScanningVideo</code>
| Returns true if the video library is being updated
|
|-
| <code>Library.HasContent(Role, Composer)</code>
| Tag can be Composer, Conductor, Orchestra, Lyricist, Remixer, Arranger, Engineer, Producer, DJMixer or Mixer. Returns true if there are any artists with that role in the library
| v17 addition
|-
| <code>Library.HasNode(path)</code>
| Returns True if the specified node is available (example: Library.HasNode(library://video/movies/titles.xml))
| v19 addition
|}
=== ListItem ===
{| class="prettytable" width="100%"
! InfoLabels
! style="80%" | Definition
! Version
|-
| <code>ListItem.IsFolder</code>
| Returns whether the current ListItem is a folder
|
|-
| <code>ListItem.IsPlaying</code>
| Returns whether the current ListItem.* [[InfoLabels|info labels]] and images are currently Playing media
|
|-
| <code>ListItem.IsResumable</code>
| Returns true when the current ListItem has been partially played
|
|-
| <code>ListItem.IsCollection</code>
| Returns true when the current ListItem is a movie set
|
|-
| <code>ListItem.IsSelected</code>
| Returns whether the current ListItem is selected (f.e. currently playing in playlist window)
|
|-
| <code>ListItem.HasArchive</code>
| returns True when the selected channel has a server-side back buffer (PVR)
| v19 addition
|-
| <code>ListItem.HasEpg</code>
| Returns true when the selected programme has epg info (PVR)
|
|-
| <code>ListItem.HasReminder</code>
| returns True if the item has a reminder set (PVR)
| v19 addition
|-
| <code>ListItem.HasReminderRule</code>
| returns True if the item was scheduled by a reminder timer rule (PVR)
| v19 addition
|-
| <code>ListItem.HasTimer</code>
| Returns true when a recording timer has been set for the selected programme (PVR)
|
|-
| <code>ListItem.IsRecording</code>
| Returns true when the selected programme is being recorded (PVR)
|
|-
| <code>ListItem.IsEncrypted</code>
| Returns true when the selected programme is encrypted (PVR)
|
|-
| <code>ListItem.IsStereoscopic</code>
| Returns true when the selected video is a 3D (stereoscopic) video
|
|-
| <code>ListItem.Property(IsSpecial)</code>
| Returns whether the current Season/Episode is a Special
|
|-
| <code>ListItem.Property(DateLabel)</code>
| Can be used in the rulerlayout of the epggrid control. Will return true if the item is a date label, returns false if the item is a time label.
|
|-
| <code>ListItem.Property(Addon.IsEnabled)</code>
| Returns true when the selected addon is enabled (for use in the addon info dialog only).
|
|-
| <code>ListItem.Property(Addon.IsInstalled)</code>
| Returns true when the selected addon is installed (for use in the addon info dialog only).
|
|-
| <code>ListItem.Property(Addon.HasUpdate)</code>
| Returns true when there's an update available for the selected addon.
|
|-
| <code>ListItem.HasTimerSchedule</code>
|  Whether the item is part of a repeating timer schedule (PVR).
|  v16 addition
|-
|  <code>ListItem.TimerHasError</code>
|  Whether the item has a timer and it won't be recorded because of an error (PVR).
|  v17 addition
|-
|  <code>ListItem.TimerHasConflict</code>
|  Whether the item has a timer and it won't be recorded because of a conflict (PVR).
|  v17 addition
|-
|  <code>ListItem.TimerIsActive</code>
|  Whether the item has a timer that will be recorded, i.e. the timer is enabled (PVR).
|  v17 addition
|-
| <code>ListItem.Property(Addon.Orphaned)</code>
| Returns true if the slected addon is orphaned (not needed anymore by any other addon)
| v17 addition
|-
| <code>ListItem.IsParentFolder</code>
| Returns true is the slected item is the 'up' item
| v17 addition
|-
| <code>ListItem.IsNew</code>
| [PVR] will return true if the item is a premiere (for example, a Live TV show that will be first aired).
| v19 addition
|-
| <code>ListItem.IsPlayable</code>
| Returns True when the selected programme can be played (PVR)
| v19 addition
|-
| <code>ListItem.IsBoxset</code>
| Returns True if the item is part of a boxset album
| v19 addition
|-
| <code>ListItem.IsPremiere</code>
| Returns true if the item is a premiere (for example, a Movie first showing or season first on Live TV)
| v19 addition
|-
| <code>ListItem.IsFinale</code>
| Returns true if the item is a finale (for example, a season finale showing on Live TV)
| v19 addition
|-
| <code>ListItem.IsLive</code>
| Returns true if the item is live (for example, a Live TV sports event)
| v19 addition
|-
| <code>ListItem.Property(Addon.IsFromOfficialRepo)</code>
| Returns true if the addon is from an official repository
| v19 addition
|-
| <code>ListItem.Property(Addon.IsBinary)</code>
| Returns true for binary addons
| v19 addition
|-
| <code>ListItem.Property(Addon.IsUpdate)</code>
| Returns True if this add-on is a valid update of an installed outdated add-on
| v19 addition
|-
| <code>ListItem.IsAutoUpdateable</code>
| Returns True if this add-on can be updated automatically
| v19 addition
|}
=== Player ===
{| class="prettytable" width="100%"
! InfoLabels
! style="80%" | Definition
! Version
|-
| <code>Player.HasMedia</code>
| Returns true if the player has an audio or video file.
|
|-
| <code>Player.HasAudio</code>
| Returns true if the player has an audio file.
|
|-
| <code>Player.HasDuration</code>
| Returns true if Media isn't a true stream
|
|-
| <code>Player.HasVideo</code>
| Returns true if the player has a video file.
|
|-
| <code>Player.Passthrough</code>
| Returns true if the player is using audio passthrough.
|
|-
| <code>Player.Playing</code>
| Returns true if the player is currently playing (ie not ffwding, rewinding or paused.)
|
|-
| <code>Player.Paused</code>
| Returns true if the player is paused.
|
|-
| <code>Player.Forwarding</code>
| Returns true if the player is fast forwarding.
|
|-
| <code>Player.Forwarding2x</code>
| Returns true if the player is fast forwarding at 2x.
|
|-
| <code>Player.Forwarding4x</code>
| Returns true if the player is fast forwarding at 4x.
|
|-
| <code>Player.Forwarding8x</code>
| Returns true if the player is fast forwarding at 8x.
|
|-
| <code>Player.Forwarding16x</code>
| Returns true if the player is fast forwarding at 16x.
|
|-
| <code>Player.Forwarding32x</code>
| Returns true if the player is fast forwarding at 32x.
|
|-
| <code>Player.Rewinding</code>
| Returns true if the player is rewinding.
|
|-
| <code>Player.Rewinding2x</code>
| Returns true if the player is rewinding at 2x.
|
|-
| <code>Player.Rewinding4x</code>
| Returns true if the player is rewinding at 4x.
|
|-
| <code>Player.Rewinding8x</code>
| Returns true if the player is rewinding at 8x.
|
|-
| <code>Player.Rewinding16x</code>
| Returns true if the player is rewinding at 16x.
|
|-
| <code>Player.Rewinding32x</code>
| Returns true if the player is rewinding at 32x.
|
|-
| <code>Player.PauseEnabled</code>
| Returns true if the currently playing stream can be paused.
|
|-
| <code>Player.Caching</code>
| Returns true if the player is current <span class="nobr">re-caching</span> data (internet based video playback).
|
|-
| <code>Player.DisplayAfterSeek</code>
| Returns true for the first 2.5 seconds after a seek.
|
|-
| <code>Player.Seeking</code>
| Returns true if a seek is in progress
|
|-
| <code>Player.SeekEnabled</code>
| Returns true if player can seek
|
|-
| <code>Player.ShowTime</code>
| Returns true if the user has requested the time to show (occurs in video fullscreen)
|
|-
| <code>Player.ShowInfo</code>
| Returns true if the user has requested the song info to show (occurs in visualisation fullscreen and slideshow)
|
|-
| <code>Player.IsInternetStream</code>
| Returns true if the player is playing an internet stream.
|
|-
| <code>Player.Muted</code>
| Returns true if the volume is muted.
|
|-
| <code>Player.Process(videohwdecoder)</code>
| Returns true if the currently playing video is decoded in hardware
| v17 addition
|-
| <code>Player.TempoEnabled</code>
| Returns true if the current player supports changing the playback speed
| v17 addition
|-
| <code>Player.IsTempo</code>
| Returns true if the current playbackspeed is not equal to 1
| v17 addition
|-
| <code>Player.HasGame</code>
| Returns true if the player is playing a game
| v18
|-
| <code>Player.HasResolutions</code>
| Returns true when multiple resolutions are available
| v18
|-
| <code>Player.FrameAdvance</code>
| Returns true if player is in frame advance mode
| v18
|-
| <code>Player.ChannelPreviewActive</code>
| Returns true if PVR channel preview is active (used channel tag different from played tag)
|
|}
==== MusicPlayer ====
{| class="prettytable" width="100%"
! InfoLabels
! style="80%" | Definition
! Version
|-
| <code>MusicPlayer.HasNext</code>
| Returns true if the music player has a next song queued in the Playlist.
|
|-
| <code>MusicPlayer.HasPrevious</code>
| Returns true if the music player has a a Previous Song in the Playlist .
|
|-
| <code>MusicPlayer.Offset(number).Exists</code>
| Returns true if the music players playlist has a song queued in position (number).
|
|-
| <code>MusicPlayer.Content(parameter)</code>
| Returns true if the current audio you are playing matches the specified content. The following values are accepted: files, livetv
|
|-
| <code>MusicPartyMode.Enabled</code>
| Returns true if Party Mode is enabled
|
|-
|<code>MusicPlayer.IsMultiDisc</code>
| Returns true if the current album consists of two or more discs
| v19 addition
|}
==== VideoPlayer ====
{| class="prettytable" width="100%"
! InfoLabels
! style="80%" | Definition
! Version
|-
| <code>VideoPlayer.UsingOverlays</code>
| Returns true if the video player is using the hardware overlays render method. Useful, as with hardware overlays you have no alpha blending to the video image, so shadows etc. need redoing, or disabling.
|
|-
| <code>VideoPlayer.IsFullscreen</code>
| Returns true if the video player is in fullscreen mode.
|
|-
| <code>VideoPlayer.HasMenu</code>
| Returns true if the video player has a menu (ie is playing a DVD)
|
|-
| <code>VideoPlayer.HasInfo</code>
| Returns true if the current playing video has information from the library or from a plugin (eg director/plot etc.)
|
|-
| <code>VideoPlayer.Content(parameter)</code>
| Returns true if the current Video you are playing is contained in corresponding Video Library sections. The following values are accepted : files, movies, episodes, musicvideos, livetv
|
|-
| <code>VideoPlayer.HasSubtitles</code>
| Returns true if there are subtitles available for video. (available for version 11.0 and above)
|
|-
| <code>VideoPlayer.IsStereoscopic</code>
|  Returns true when the currently playing video is a 3D (stereoscopic) video
|
|-
| <code>VideoPlayer.SubtitlesEnabled</code>
| Returns true if subtitles are turned on for video. (available for version 11.0 and above)
|
|-
| <code>VideoPlayer.HasEpg</code>
| Returns true when epg information is available for the currently playing programme (PVR).
|
|-
| <code>VideoPlayer.HasTeletext</code>
| Returns true when teletext is available.
|
|}
=== PlayList ===
{| class="prettytable" width="100%"
! InfoLabels
! style="80%" | Definition
! Version
|-
| <code>Playlist.IsRandom</code>
| Returns true if the player is in random mode.
|
|-
| <code>Playlist.IsRepeat</code>
| Returns true if the player is in repeat all mode.
|
|-
| <code>Playlist.IsRepeatOne</code>
| Returns true if the player is in repeat one mode.
|
|}
=== PVR ===
{| class="prettytable" width="100%"
! InfoLabels
! style="80%" | Definition
! Version
|-
| <code>Pvr.HasTimer</code>
| Returns true when a recording timer is active.
|
|-
| <code>Pvr.HasNonRecordingTimer</code>
| Returns true when a non recording timer is active.
|
|-
| <code>Pvr.HasTVChannels</code>
| Returns true if there are tv channels available
|
|-
| <code>Pvr.HasRadioChannels</code>
| Returns true if there are radio channels available
|
|-
| <code>Pvr.IsPlayingTv</code>
| Returns true when live tv is being watched.
|
|-
| <code>Pvr.IsPlayingRadio</code>
| Returns true when live radio is being listened to.
|
|-
| <code>Pvr.IsPlayingRecording</code>
| Returns true when a recording is being watched.
|
|-
| <code>Pvr.IsRecording</code>
| Returns true when the system is recording a tv programme.
|
|-
| <code>Pvr.IsTimeShift</code>
| Returns true when the playback is timeshifted.
|
|-
| <code>Pvr.ActStreamIsEncrypted</code>
|  Returns true if the stream is encrypted
|
|-
| <code>Pvr.RadioNextRecordingChannelIcon</code>
| Icon of the next recording radio channel
| {{nowrap|v17 Addition}}
|-
| <code>Pvr.IsRecordingTV</code>
| Returns true when the system is recording a tv programme.
| {{nowrap|v17 Addition}}
|-
| <code>Pvr.HasTVTimer</code>
| Returns true if at least one tv timer is active.
| {{nowrap|v17 Addition}}
|-
| <code>Pvr.HasNonRecordingTVTimer</code>
| Returns true if there are tv timers present who currently not do recording
| {{nowrap|v17 Addition}}
|-
| <code>Pvr.IsRecordingRadio</code>
| Returns true when the system is recording a radio programme.
| {{nowrap|v17 Addition}}
|-
| <code>Pvr.HasRadioTimer</code>
| Returns true if at least one radio timer is active.
| {{nowrap|v17 Addition}}
|-
| <code>Pvr.HasNonRecordingRadioTimer</code>
| Returns true if there are radio timers present who currently not do recording
| {{nowrap|v17 Addition}}
|
|-
| <code>Pvr.CanRecordPlayingChannel</code>
| Returns true if the player can record the current internet stream.
| {{nowrap|v18 Addition}}
|-
| <code>Pvr.IsRecordingPlayingChannel</code>
| Returns true if the player is recording the current internet stream.
| {{nowrap|v18 Addition}}
|-
| <code>Pvr.IsPlayingActiveRecording</code>
| Returns true when Kodi is currently playing a recording that is in progress.
| {{nowrap|v19 Addition}}
|}
=== RDS ===
{| class="prettytable" width="100%"
! InfoLabels
! style="80%" | Definition
! Version
|-
| <code>RDS.HasRds</code>
| Returns true if RDS is present
|
|-
| <code>RDS.HasRadioText</code>
| Returns true if RDS contains also Radiotext
|
|-
| <code>RDS.HasRadioTextPlus</code>
| Returns true if RDS with Radiotext contains also the plus information
|
|-
| <code>RDS.HasHotline</code>
| Returns true if a hotline phone number is present (Only be available on RadiotextPlus)
|
|-
| <code>RDS.HasStudio</code>
| Returns true if a studio name is present (Only be available on RadiotextPlus)
|
|}
=== Skin ===
{| class="prettytable" width="100%"
! InfoLabels
! style="80%" | Definition
! Version
|-
| <code>Skin.HasTheme(theme)</code>
| Returns true if the user has selected the theme with name ?theme?.
|
|-
| <code>Skin.HasSetting(setting)</code>
| Returns the state of the <span class="nobr">skin-specified</span> setting ?setting?. You can toggle a setting from a button by using <onclick>Skin.ToggleSetting(setting)</onclick>.
|
|-
| <code>Skin.String(string)</code>
| Returns whether the skin string (set via Skin.SetString, Skin.SetPath, or Skin.SetImage) is <span class="nobr">non-empty</span>.
|
|-
| <code>Skin.String(string1,string2)</code>
| Same as String.IsEqual(Skin.String(string1),string2). Returns true if Skin.String(string1) equals string2.
|
|}
=== SlideShow ===
{| class="prettytable" width="100%"
! InfoLabels
! style="80%" | Definition
! Version
|-
| <code>Slideshow.IsActive</code>
| Returns true if the picture slideshow is running
|
|-
| <code>Slideshow.IsPaused</code>
| Returns true if the picture slideshow is paused
|
|-
| <code>Slideshow.IsRandom</code>
| Returns true if the picture slideshow is in random mode
|
|-
| <code>Slideshow.IsVideo</code>
| Returns true if the picture slideshow is playing a video
|
|}
=== String ===
{| class="prettytable" width="100%"
! InfoLabels
! style="80%" | Definition
! Version
|-
| <code>String.IsEmpty([[InfoLabels|info]])</code>
| Returns true if the [[InfoLabels|info]] is empty.<br />Example of info: ListItem.Title, ListItem.Genre. Please note that string can also be a $LOCALIZE[]. Also note that in a panelview or similar this only works on the focused item.
| {{nowrap|v17 Addition}}
|-
| <code>String.IsEqual([[InfoLabels|info]],string)</code>
| Returns true if the [[InfoLabels|info]] is equal to the given string.<br />Example of info: ListItem.Title, ListItem.Genre. Please note that string can also be a $LOCALIZE[] or [[InfoLabels|info label]] (without $INFO prefix). Also note that in a panelview or similar this only works on the focused item.
| {{nowrap|v17 Addition}}
|-
| <code>String.StartsWith([[InfoLabels|info]],substring)</code>
| Returns true if the [[InfoLabels|info]] starts with the given substring.<br />Example of info: ListItem.Title, ListItem.Genre. Please note that string can also be a $LOCALIZE[] or [[InfoLabels|info label]] (without $INFO prefix). Also note that in a panelview or similar this only works on the focused item.
| {{nowrap|v17 Addition}}
|-
| <code>String.EndsWith([[InfoLabels|info]],substring)</code>
| Returns true if the [[InfoLabels|info]] ends with the given substring.<br />Example of info: ListItem.Title, ListItem.Genre. Please note that string can also be a $LOCALIZE[] or [[InfoLabels|info label]] (without $INFO prefix). Also note that in a panelview or similar this only works on the focused item.
| {{nowrap|v17 Addition}}
|-
| <code>String.Contains([[InfoLabels|info]],substring)</code>
| Returns true if the [[InfoLabels|info]] contains the given substring.<br />Example of info: ListItem.Title, ListItem.Genre. Please note that string can also be a $LOCALIZE[] or [[InfoLabels|info label]] (without $INFO prefix). Also note that in a panelview or similar this only works on the focused item.
| {{nowrap|v17 Addition}}
|}
=== System ===
{| class="prettytable" width="100%"
! InfoLabels
! style="80%" | Definition
! Version
|-
| <code>System.AddonIsEnabled(id)</code>
| Returns true if the specified addon is enabled on the system
| v19 addition
|-
| <code>System.HasAddon(id)</code>
| Returns true if the specified addon is installed on the system.
|
|-
| <code>System.HasPVRAddon</code>
| Returns true if at least one PVR addon is installed on the system.
|
|-
| <code>System.HasAlarm(alarm)</code>
| Returns true if the system has the ?alarm? alarm set.
|
|-
| <code>System.AlarmLessOrEqual(alarmname,seconds)</code>
| Returns true if the alarm with ?alarmname? has less or equal to ?seconds? left. Standard use would be system.alarmlessorequal(shutdowntimer,119), which would return true when the shutdowntimer has less then 2 minutes left.
|
|-
| <code>System.HasNetwork</code>
| Returns true if the ethernet cable is plugged in.
|
|-
| <code>System.InternetState</code>
| Returns true if the system is connected to the internet, returns false in case no internet connection is available.
|
|-
| <code>System.HasMediadvd</code>
| Returns true if there is a CD or DVD in the <span class="nobr">DVD-ROM</span> drive.
|
|-
| <code>System.HasMediaAudioCD</code>
| Returns true if there is an audio CD in the optical drive. False if no drive available, empty drive or other medium.
| v18 Addition
|-
| <code>System.IdleTime(time)</code>
| Returns true if Kodi has had no input for ?time? amount of seconds.
|
|-
| <code>System.IsStandalone</code>
| Returns true if Kodi is running in standalone mode.
|
|-
| <code>System.IsFullscreen</code>
| Returns true if Kodi is running fullscreen.
|
|-
| <code>System.IsLoggedOn</code>
| Returns true if a user is currently logged on under a [[Profiles|profile]]
|
|-
| <code>System.HasLoginScreen</code>
| Returns true if the [[Profiles|profile]] login screen is enabled
|
|-
| <code>System.HasActiveModalDialog</code>
| Returns true true when a modal dialog is active, disregarding any animations (Leia (v18) and newer versions)
| v18
|-
| <code>System.HasVisibleModalDialog</code>
| Returns true if a modal dialog is visible, eg when the animations are finished (Leia (v18) and newer versions)
| v18
|-
| <code>System.Time(startTime,endTime)</code>
| Returns true if the current system time is >= startTime and < endTime.  endTime is optional.  Time must be specified in the format HH:mm, using a 24 hour clock.
|
|-
| <code>System.Date(startDate,endDate)</code>
| Returns true if the current system date is >= startDate and < endDate.  endDate is optional.  Date must be specified in the format MM-DD.
|
|-
| <code>System.Platform.Linux</code>
| Returns true if Kodi is running on a linux/unix based computer.
|
|-
| <code>System.Platform.Windows</code>
| Returns true if Kodi is running on a windows based computer.
|
|-
| <code>System.Platform.OSX</code>
| Returns true if Kodi is running on an OSX based computer.
|
|-
| <code>System.Platform.IOS</code>
| Returns true if Kodi is running on an IOS device.
|
|-
| <code>System.Platform.Darwin</code>
| Returns true if Kodi is running on an OSX or IOS system.
|
|-
| <code>System.Platform.Android</code>
| Returns true if Kodi is running on an android device.
|
|-
| <code>System.Platform.UWP</code>
| Returns true if Kodi is running on Universal Windows Platform (UWP).
| {{nowrap|v18 Addition}}
|-
| <code>System.CanPowerDown</code>
| Returns true if Kodi can powerdown the system.
|
|-
| <code>System.CanSuspend</code>
| Returns true if Kodi can suspend the system.
|
|-
| <code>System.CanHibernate</code>
| Returns true if Kodi can hibernate the system.
|
|-
| <code>System.HasHiddenInput</code>
| Return true when to osd keyboard/numeric dialog requests a password/pincode.
|
|-
| <code>System.CanReboot</code>
| Returns true if Kodi can reboot the system.
|
|-
| <code>System.ScreenSaverActive</code>
| Returns true if ScreenSaver is active.
|
|-
| <code>System.Setting(hidewatched)</code>
| Returns true if 'hide watched items' is selected.
|
|-
| <code>System.IsInhibit</code>
| Returns true when shutdown on idle is disabled.
|
|-
| <code>System.HasShutdown</code>
| Returns true when shutdown on idle is enabled.
|
|-
| <code>System.HasCMS</code>
| Returns true if colour management is supported in Kodi.
| {{nowrap|v17 Addition}}
|-
| <code>System.GetBool(boolean)</code>
| Returns the value of any standard system boolean setting.  Will not work with settings in advancedsettings.xml
|
|-
| <code>System.HasLocks</code>
| Returns true if the profile has lock preferences configured
|
|-
| <code>System.IsMaster</code>
| Returns true if the profile has entered the master mode
|
|-
| <code>System.SupportsCPUUsage</code>
| Return True if the system provides CPU info
| {{nowrap|v19 Addition}}
|}
=== Visualisation ===
{| class="prettytable" width="100%"
! InfoLabels
! style="80%" | Definition
! Version
|-
| <code>Visualisation.Enabled</code>
| Returns true if any visualisation has been set in settings (so not None).
|
|-
| <code>Visualisation.HasPresets</code>
| Returns true if the visualisation has built in presets.
|
|-
| <code>Visualisation.Locked</code>
| Returns true if the current visualisation preset is locked (eg in Milkdrop.)
|
|}
=== Weather ===
{| class="prettytable" width="100%"
! InfoLabels
! style="80%" | Definition
! Version
|-
| <code>Weather.IsFetched</code>
| Returns true if the weather data has been downloaded.
|
|}
=== Window ===
{| class="prettytable" width="100%"
! InfoLabels
! style="80%" | Definition
! Version
|-
| <code>Window.IsVisible(window)</code>
| Returns true if the window is visible (includes fade out time on dialogs)
|
|-
| <code>Window.IsActive(window)</code>
| Returns true if the window with id or title ?window? is active (excludes fade out time on dialogs) [[Window IDs|See here for a list of windows]]
|
|-
| <code>Window.IsTopMost(window)</code>
| Returns true if the window with id or title ?window? is on top of the window stack (excludes fade out time on dialogs) [[Window IDs|See here for a list of windows]]
|
|-
| <code>Window.IsMedia</code>
| Returns true if this window is a media window (programs, music, video, scripts, pictures)
|
|-
| <code>Window.Next(window)</code>
| Returns true if the window with id or title ?window? is being moved to. [[Window IDs|See here for a list of windows]]. Only valid while windows are changing.
|
|-
| <code>Window.Previous(window)</code>
| Returns true if the window with id or title ?window? is being moved from. [[Window IDs|See here for a list of windows]]. Only valid while windows are changing.
|
|-
| <code>Window.Is(name)</code>
| Useful in xml files that are shared between multiple windows/dialogs. Will return true if the window with the given name is visible
| v17 addition
|}
<section end="main content" />
== See also ==
'''Development:'''
* [[Add-on development]]
* [[Skinning]]
* [[Conditional visibility]]
{{top}}


[[category:Skin Development]]
[[Category:Skin development]]
[[Category:HTTP API]]
[[Category:Add-on development]]
[[category:Python]]
[[category:Inner Workings]]
[[category:Development]]

Revision as of 23:13, 22 February 2023

Home icon grey.png   ▶ Development ▶ Add-on development ▶ Skinning ▶ List of boolean conditions


Time.png THIS PAGE IS OUTDATED:

This page has become too large and complex to maintain by volunteer editors, and has been only sporadically updated over the last few years.
This page has missing data, and also shows data that has been deprecated.
Refer to the up to date Doxygen documentation


Skins can use boolean conditions with the <visible> tag or with condition attributes. Scripts can read boolean conditions with xbmc.getCondVisibility(condition).


Container

InfoLabels Definition Version
Container.HasThumb Returns true if the current container you are in has a thumb assigned to it
Container.Content(parameter) Returns true if the current container you are in contains the following: files, songs, artists, albums, movies, tvshows, seasons, episodes, musicvideos, genres, years, actors, playlists, plugins, studios, directors, sets, tags, countries, roles, images (Note: these currently only work in the Video and Music Library or unless a Plugin has set the value) also available are Addons true when a list of add-ons is shown LiveTV true when a htsp (tvheadend) directory is shown
Container(id).OnNext Returns true if the container with id (or current container if id is omitted) is moving to the next item. Allows views to be custom-designed (such as 3D coverviews etc.)
Container(id).OnScrollNext Returns true if the container with id (or current container if id is omitted) is scrolling to the next item. Differs from OnNext in that OnNext triggers on movement even if there is no scroll involved.
Container(id).OnPrevious Returns true if the container with id (or current container if id is omitted) is moving to the previous item. Allows views to be custom-designed (such as 3D coverviews etc.)
Container(id).OnScrollPrevious Returns true if the container with id (or current container if id is omitted) is scrolling to the previous item. Differs from OnPrevious in that OnPrevious triggers on movement even if there is no scroll involved.
Container(id).HasFocus(item_number) Returns true if the container with id (or current container if id is omitted) has static content and is focused on the item with id item_number.
Container.HasFiles Returns true if the container contains files.
Container.HasFolders Returns true if the container contains folders.
Container(id).HasNext Returns true if the container or textbox with id (id) has a next page.
Container(id).HasPrevious Returns true if the container or textbox with id (id) has a previous page.
Container(id).IsUpdating Returns true if the container with dynamic list content is currently updating.
Container.IsStacked Returns true if the container is currently in stacked mode.
Container.CanFilter Returns true when the current container can be filtered.
Container.CanFilterAdvanced Returns true when advanced filtering can be applied to the current container.
Container.Filtered Returns true when a mediafilter is applied to the current container.
Container(id).HasParent Return true when the container with id (or current container if id is omitted) contains a parent ('..') item.
Container.SortDirection(ascending) Returns true the sort direction of a container is ascending.
Container.SortDirection(descending) Returns true the sort direction of a container is descending.
Container(id).Row(row) Returns true if the container with id (or current container if id is omitted) is focused on the row given.
Container(id).Column(col) Returns true if the container with id (or current container if id is omitted) is focused on the column given.
Container(id).Position(pos) Returns true if the container with id (or current container if id is omitted) is focused on the position given.
Container(id).Scrolling Returns true if the user is currently scrolling through the container with id (or current container if id is omitted). Note that this is slightly delayed from the actual scroll start. Use Container(id).OnScrollNext/OnScrollPrevious to trigger animations immediately on scroll.
Container(id).SubItem Returns true if the container with id (or current container if id is omitted) is focused on the specified subitem.
Container.Sortmethod(id) Returns true if the current sort method matches the specified SortID [see list of sort methods].

Control

InfoLabels Definition Version
Control.IsEnabled(id) Returns true if the control with id "id" is enabled.
Control.IsVisible(id) Returns true if the control with id "id" is visible.
Control.HasFocus(id) Returns true if the currently focused control has id "id".
ControlGroup(group).HasFocus(id) Returns true if the control group with id “group” has control id “id” as it's focused item. If “id” is not present, or is 0, then it will return true if the currently focused control is in the control group with id “group”. Note that if the control group with id “group” does not have focus, then this will still return true if the last focused item in the group had control id “id”.

Integer

InfoLabels Definition Version
Integer.IsEqual(info,number) Returns true if the value of the infolabel is equal to the supplied number.
Example: Integer.IsEqual(ListItem.Year,2000)
v17 Addition
Integer.IsEven(info) Returns true if the value of the infolabel is even.
Example: Integer.IsEven(ListItem.CurrentItem)
v19 Addition
Integer.IsGreater(info,number) Returns true if the value of the infolabel is greater than to the supplied number.
Example: Integer.IsGreater(ListItem.Year,2000)
v17 Addition
Integer.IsGreaterOrEqual(info,number) Returns true if the value of the infolabel is greater or equal to the supplied number.
Example: Integer.IsGreaterOrEqual(ListItem.Year,2000)
v17 Addition
Integer.IsLess(info,number) Returns true if the value of the infolabel is less than the supplied number.
Example: Integer.IsLess(ListItem.Year,2000)
v17 Addition
Integer.IsLessOrEqual(info,number) Returns true if the value of the infolabel is less or equal to the supplied number.
Example: Integer.IsLessOrEqual(ListItem.Year,2000)
v17 Addition
Integer.IsOdd(info) Returns true if the value of the infolabel is odd.
Example: Integer.IsOdd(ListItem.CurrentItem)
v19 Addition

Library

InfoLabels Definition Version
Library.HasContent(string) Returns true if the Kodi libraries have the content from string. Valid Strings are (Video, Music, Movies, TVShows, MusicVideos, MovieSets, BoxSets)
Library.IsScanningMusic Returns true if the music library is being updated
Library.IsScanningVideo Returns true if the video library is being updated
Library.HasContent(Role, Composer) Tag can be Composer, Conductor, Orchestra, Lyricist, Remixer, Arranger, Engineer, Producer, DJMixer or Mixer. Returns true if there are any artists with that role in the library v17 addition
Library.HasNode(path) Returns True if the specified node is available (example: Library.HasNode(library://video/movies/titles.xml)) v19 addition

ListItem

InfoLabels Definition Version
ListItem.IsFolder Returns whether the current ListItem is a folder
ListItem.IsPlaying Returns whether the current ListItem.* info labels and images are currently Playing media
ListItem.IsResumable Returns true when the current ListItem has been partially played
ListItem.IsCollection Returns true when the current ListItem is a movie set
ListItem.IsSelected Returns whether the current ListItem is selected (f.e. currently playing in playlist window)
ListItem.HasArchive returns True when the selected channel has a server-side back buffer (PVR) v19 addition
ListItem.HasEpg Returns true when the selected programme has epg info (PVR)
ListItem.HasReminder returns True if the item has a reminder set (PVR) v19 addition
ListItem.HasReminderRule returns True if the item was scheduled by a reminder timer rule (PVR) v19 addition
ListItem.HasTimer Returns true when a recording timer has been set for the selected programme (PVR)
ListItem.IsRecording Returns true when the selected programme is being recorded (PVR)
ListItem.IsEncrypted Returns true when the selected programme is encrypted (PVR)
ListItem.IsStereoscopic Returns true when the selected video is a 3D (stereoscopic) video
ListItem.Property(IsSpecial) Returns whether the current Season/Episode is a Special
ListItem.Property(DateLabel) Can be used in the rulerlayout of the epggrid control. Will return true if the item is a date label, returns false if the item is a time label.
ListItem.Property(Addon.IsEnabled) Returns true when the selected addon is enabled (for use in the addon info dialog only).
ListItem.Property(Addon.IsInstalled) Returns true when the selected addon is installed (for use in the addon info dialog only).
ListItem.Property(Addon.HasUpdate) Returns true when there's an update available for the selected addon.
ListItem.HasTimerSchedule Whether the item is part of a repeating timer schedule (PVR). v16 addition
ListItem.TimerHasError Whether the item has a timer and it won't be recorded because of an error (PVR). v17 addition
ListItem.TimerHasConflict Whether the item has a timer and it won't be recorded because of a conflict (PVR). v17 addition
ListItem.TimerIsActive Whether the item has a timer that will be recorded, i.e. the timer is enabled (PVR). v17 addition
ListItem.Property(Addon.Orphaned) Returns true if the slected addon is orphaned (not needed anymore by any other addon) v17 addition
ListItem.IsParentFolder Returns true is the slected item is the 'up' item v17 addition
ListItem.IsNew [PVR] will return true if the item is a premiere (for example, a Live TV show that will be first aired). v19 addition
ListItem.IsPlayable Returns True when the selected programme can be played (PVR) v19 addition
ListItem.IsBoxset Returns True if the item is part of a boxset album v19 addition
ListItem.IsPremiere Returns true if the item is a premiere (for example, a Movie first showing or season first on Live TV) v19 addition
ListItem.IsFinale Returns true if the item is a finale (for example, a season finale showing on Live TV) v19 addition
ListItem.IsLive Returns true if the item is live (for example, a Live TV sports event) v19 addition
ListItem.Property(Addon.IsFromOfficialRepo) Returns true if the addon is from an official repository v19 addition
ListItem.Property(Addon.IsBinary) Returns true for binary addons v19 addition
ListItem.Property(Addon.IsUpdate) Returns True if this add-on is a valid update of an installed outdated add-on v19 addition
ListItem.IsAutoUpdateable Returns True if this add-on can be updated automatically v19 addition

Player

InfoLabels Definition Version
Player.HasMedia Returns true if the player has an audio or video file.
Player.HasAudio Returns true if the player has an audio file.
Player.HasDuration Returns true if Media isn't a true stream
Player.HasVideo Returns true if the player has a video file.
Player.Passthrough Returns true if the player is using audio passthrough.
Player.Playing Returns true if the player is currently playing (ie not ffwding, rewinding or paused.)
Player.Paused Returns true if the player is paused.
Player.Forwarding Returns true if the player is fast forwarding.
Player.Forwarding2x Returns true if the player is fast forwarding at 2x.
Player.Forwarding4x Returns true if the player is fast forwarding at 4x.
Player.Forwarding8x Returns true if the player is fast forwarding at 8x.
Player.Forwarding16x Returns true if the player is fast forwarding at 16x.
Player.Forwarding32x Returns true if the player is fast forwarding at 32x.
Player.Rewinding Returns true if the player is rewinding.
Player.Rewinding2x Returns true if the player is rewinding at 2x.
Player.Rewinding4x Returns true if the player is rewinding at 4x.
Player.Rewinding8x Returns true if the player is rewinding at 8x.
Player.Rewinding16x Returns true if the player is rewinding at 16x.
Player.Rewinding32x Returns true if the player is rewinding at 32x.
Player.PauseEnabled Returns true if the currently playing stream can be paused.
Player.Caching Returns true if the player is current re-caching data (internet based video playback).
Player.DisplayAfterSeek Returns true for the first 2.5 seconds after a seek.
Player.Seeking Returns true if a seek is in progress
Player.SeekEnabled Returns true if player can seek
Player.ShowTime Returns true if the user has requested the time to show (occurs in video fullscreen)
Player.ShowInfo Returns true if the user has requested the song info to show (occurs in visualisation fullscreen and slideshow)
Player.IsInternetStream Returns true if the player is playing an internet stream.
Player.Muted Returns true if the volume is muted.
Player.Process(videohwdecoder) Returns true if the currently playing video is decoded in hardware v17 addition
Player.TempoEnabled Returns true if the current player supports changing the playback speed v17 addition
Player.IsTempo Returns true if the current playbackspeed is not equal to 1 v17 addition
Player.HasGame Returns true if the player is playing a game v18
Player.HasResolutions Returns true when multiple resolutions are available v18
Player.FrameAdvance Returns true if player is in frame advance mode v18
Player.ChannelPreviewActive Returns true if PVR channel preview is active (used channel tag different from played tag)

MusicPlayer

InfoLabels Definition Version
MusicPlayer.HasNext Returns true if the music player has a next song queued in the Playlist.
MusicPlayer.HasPrevious Returns true if the music player has a a Previous Song in the Playlist .
MusicPlayer.Offset(number).Exists Returns true if the music players playlist has a song queued in position (number).
MusicPlayer.Content(parameter) Returns true if the current audio you are playing matches the specified content. The following values are accepted: files, livetv
MusicPartyMode.Enabled Returns true if Party Mode is enabled
MusicPlayer.IsMultiDisc Returns true if the current album consists of two or more discs v19 addition

VideoPlayer

InfoLabels Definition Version
VideoPlayer.UsingOverlays Returns true if the video player is using the hardware overlays render method. Useful, as with hardware overlays you have no alpha blending to the video image, so shadows etc. need redoing, or disabling.
VideoPlayer.IsFullscreen Returns true if the video player is in fullscreen mode.
VideoPlayer.HasMenu Returns true if the video player has a menu (ie is playing a DVD)
VideoPlayer.HasInfo Returns true if the current playing video has information from the library or from a plugin (eg director/plot etc.)
VideoPlayer.Content(parameter) Returns true if the current Video you are playing is contained in corresponding Video Library sections. The following values are accepted : files, movies, episodes, musicvideos, livetv
VideoPlayer.HasSubtitles Returns true if there are subtitles available for video. (available for version 11.0 and above)
VideoPlayer.IsStereoscopic Returns true when the currently playing video is a 3D (stereoscopic) video
VideoPlayer.SubtitlesEnabled Returns true if subtitles are turned on for video. (available for version 11.0 and above)
VideoPlayer.HasEpg Returns true when epg information is available for the currently playing programme (PVR).
VideoPlayer.HasTeletext Returns true when teletext is available.

PlayList

InfoLabels Definition Version
Playlist.IsRandom Returns true if the player is in random mode.
Playlist.IsRepeat Returns true if the player is in repeat all mode.
Playlist.IsRepeatOne Returns true if the player is in repeat one mode.

PVR

InfoLabels Definition Version
Pvr.HasTimer Returns true when a recording timer is active.
Pvr.HasNonRecordingTimer Returns true when a non recording timer is active.
Pvr.HasTVChannels Returns true if there are tv channels available
Pvr.HasRadioChannels Returns true if there are radio channels available
Pvr.IsPlayingTv Returns true when live tv is being watched.
Pvr.IsPlayingRadio Returns true when live radio is being listened to.
Pvr.IsPlayingRecording Returns true when a recording is being watched.
Pvr.IsRecording Returns true when the system is recording a tv programme.
Pvr.IsTimeShift Returns true when the playback is timeshifted.
Pvr.ActStreamIsEncrypted Returns true if the stream is encrypted
Pvr.RadioNextRecordingChannelIcon Icon of the next recording radio channel v17 Addition
Pvr.IsRecordingTV Returns true when the system is recording a tv programme. v17 Addition
Pvr.HasTVTimer Returns true if at least one tv timer is active. v17 Addition
Pvr.HasNonRecordingTVTimer Returns true if there are tv timers present who currently not do recording v17 Addition
Pvr.IsRecordingRadio Returns true when the system is recording a radio programme. v17 Addition
Pvr.HasRadioTimer Returns true if at least one radio timer is active. v17 Addition
Pvr.HasNonRecordingRadioTimer Returns true if there are radio timers present who currently not do recording v17 Addition
Pvr.CanRecordPlayingChannel Returns true if the player can record the current internet stream. v18 Addition
Pvr.IsRecordingPlayingChannel Returns true if the player is recording the current internet stream. v18 Addition
Pvr.IsPlayingActiveRecording Returns true when Kodi is currently playing a recording that is in progress. v19 Addition

RDS

InfoLabels Definition Version
RDS.HasRds Returns true if RDS is present
RDS.HasRadioText Returns true if RDS contains also Radiotext
RDS.HasRadioTextPlus Returns true if RDS with Radiotext contains also the plus information
RDS.HasHotline Returns true if a hotline phone number is present (Only be available on RadiotextPlus)
RDS.HasStudio Returns true if a studio name is present (Only be available on RadiotextPlus)

Skin

InfoLabels Definition Version
Skin.HasTheme(theme) Returns true if the user has selected the theme with name ?theme?.
Skin.HasSetting(setting) Returns the state of the skin-specified setting ?setting?. You can toggle a setting from a button by using <onclick>Skin.ToggleSetting(setting)</onclick>.
Skin.String(string) Returns whether the skin string (set via Skin.SetString, Skin.SetPath, or Skin.SetImage) is non-empty.
Skin.String(string1,string2) Same as String.IsEqual(Skin.String(string1),string2). Returns true if Skin.String(string1) equals string2.

SlideShow

InfoLabels Definition Version
Slideshow.IsActive Returns true if the picture slideshow is running
Slideshow.IsPaused Returns true if the picture slideshow is paused
Slideshow.IsRandom Returns true if the picture slideshow is in random mode
Slideshow.IsVideo Returns true if the picture slideshow is playing a video

String

InfoLabels Definition Version
String.IsEmpty(info) Returns true if the info is empty.
Example of info: ListItem.Title, ListItem.Genre. Please note that string can also be a $LOCALIZE[]. Also note that in a panelview or similar this only works on the focused item.
v17 Addition
String.IsEqual(info,string) Returns true if the info is equal to the given string.
Example of info: ListItem.Title, ListItem.Genre. Please note that string can also be a $LOCALIZE[] or info label (without $INFO prefix). Also note that in a panelview or similar this only works on the focused item.
v17 Addition
String.StartsWith(info,substring) Returns true if the info starts with the given substring.
Example of info: ListItem.Title, ListItem.Genre. Please note that string can also be a $LOCALIZE[] or info label (without $INFO prefix). Also note that in a panelview or similar this only works on the focused item.
v17 Addition
String.EndsWith(info,substring) Returns true if the info ends with the given substring.
Example of info: ListItem.Title, ListItem.Genre. Please note that string can also be a $LOCALIZE[] or info label (without $INFO prefix). Also note that in a panelview or similar this only works on the focused item.
v17 Addition
String.Contains(info,substring) Returns true if the info contains the given substring.
Example of info: ListItem.Title, ListItem.Genre. Please note that string can also be a $LOCALIZE[] or info label (without $INFO prefix). Also note that in a panelview or similar this only works on the focused item.
v17 Addition

System

InfoLabels Definition Version
System.AddonIsEnabled(id) Returns true if the specified addon is enabled on the system v19 addition
System.HasAddon(id) Returns true if the specified addon is installed on the system.
System.HasPVRAddon Returns true if at least one PVR addon is installed on the system.
System.HasAlarm(alarm) Returns true if the system has the ?alarm? alarm set.
System.AlarmLessOrEqual(alarmname,seconds) Returns true if the alarm with ?alarmname? has less or equal to ?seconds? left. Standard use would be system.alarmlessorequal(shutdowntimer,119), which would return true when the shutdowntimer has less then 2 minutes left.
System.HasNetwork Returns true if the ethernet cable is plugged in.
System.InternetState Returns true if the system is connected to the internet, returns false in case no internet connection is available.
System.HasMediadvd Returns true if there is a CD or DVD in the DVD-ROM drive.
System.HasMediaAudioCD Returns true if there is an audio CD in the optical drive. False if no drive available, empty drive or other medium. v18 Addition
System.IdleTime(time) Returns true if Kodi has had no input for ?time? amount of seconds.
System.IsStandalone Returns true if Kodi is running in standalone mode.
System.IsFullscreen Returns true if Kodi is running fullscreen.
System.IsLoggedOn Returns true if a user is currently logged on under a profile
System.HasLoginScreen Returns true if the profile login screen is enabled
System.HasActiveModalDialog Returns true true when a modal dialog is active, disregarding any animations (Leia (v18) and newer versions) v18
System.HasVisibleModalDialog Returns true if a modal dialog is visible, eg when the animations are finished (Leia (v18) and newer versions) v18
System.Time(startTime,endTime) Returns true if the current system time is >= startTime and < endTime. endTime is optional. Time must be specified in the format HH:mm, using a 24 hour clock.
System.Date(startDate,endDate) Returns true if the current system date is >= startDate and < endDate. endDate is optional. Date must be specified in the format MM-DD.
System.Platform.Linux Returns true if Kodi is running on a linux/unix based computer.
System.Platform.Windows Returns true if Kodi is running on a windows based computer.
System.Platform.OSX Returns true if Kodi is running on an OSX based computer.
System.Platform.IOS Returns true if Kodi is running on an IOS device.
System.Platform.Darwin Returns true if Kodi is running on an OSX or IOS system.
System.Platform.Android Returns true if Kodi is running on an android device.
System.Platform.UWP Returns true if Kodi is running on Universal Windows Platform (UWP). v18 Addition
System.CanPowerDown Returns true if Kodi can powerdown the system.
System.CanSuspend Returns true if Kodi can suspend the system.
System.CanHibernate Returns true if Kodi can hibernate the system.
System.HasHiddenInput Return true when to osd keyboard/numeric dialog requests a password/pincode.
System.CanReboot Returns true if Kodi can reboot the system.
System.ScreenSaverActive Returns true if ScreenSaver is active.
System.Setting(hidewatched) Returns true if 'hide watched items' is selected.
System.IsInhibit Returns true when shutdown on idle is disabled.
System.HasShutdown Returns true when shutdown on idle is enabled.
System.HasCMS Returns true if colour management is supported in Kodi. v17 Addition
System.GetBool(boolean) Returns the value of any standard system boolean setting. Will not work with settings in advancedsettings.xml
System.HasLocks Returns true if the profile has lock preferences configured
System.IsMaster Returns true if the profile has entered the master mode
System.SupportsCPUUsage Return True if the system provides CPU info v19 Addition

Visualisation

InfoLabels Definition Version
Visualisation.Enabled Returns true if any visualisation has been set in settings (so not None).
Visualisation.HasPresets Returns true if the visualisation has built in presets.
Visualisation.Locked Returns true if the current visualisation preset is locked (eg in Milkdrop.)

Weather

InfoLabels Definition Version
Weather.IsFetched Returns true if the weather data has been downloaded.

Window

InfoLabels Definition Version
Window.IsVisible(window) Returns true if the window is visible (includes fade out time on dialogs)
Window.IsActive(window) Returns true if the window with id or title ?window? is active (excludes fade out time on dialogs) See here for a list of windows
Window.IsTopMost(window) Returns true if the window with id or title ?window? is on top of the window stack (excludes fade out time on dialogs) See here for a list of windows
Window.IsMedia Returns true if this window is a media window (programs, music, video, scripts, pictures)
Window.Next(window) Returns true if the window with id or title ?window? is being moved to. See here for a list of windows. Only valid while windows are changing.
Window.Previous(window) Returns true if the window with id or title ?window? is being moved from. See here for a list of windows. Only valid while windows are changing.
Window.Is(name) Useful in xml files that are shared between multiple windows/dialogs. Will return true if the window with the given name is visible v17 addition


See also

Development:


Return to top