Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »


Checks whether or not the running client's touchscreen mode is currently enabled.

Client Permission Restrictions

This scripting function has no Client Permission restrictions.



  • Parameters


  • Returns

boolean - True(1) if the client currently has touchscreen mode activated.

  • Scope


Code Examples
Code Snippet
#This example should be used in the Client Startup Script to check if this client is being run on a touch screen computer (judged by an IP address) and set touchscreen mode.
ipAddress =
query = "SELECT COUNT(*) FROM touchscreen_computer_ips WHERE ip_address = '%s' "
isTouchscreen = system.db.runScalarQuery(query %(ipAddress))
if isTouchscreen and not system.gui.isTouchscreenModeEnabled():
  • No labels