TorqueScript Reference
Functions

Functions

String createUUID ()
 
String getClipboard ()
 
String getLocalTime ()
 
Integer getRealTime ()
 
Boolean setClipboard (string)
 
void setMouseLock (isLocked)
 

Detailed Description

Function Documentation

◆ createUUID()

String createUUID ( )

Creates a UUID string.

◆ getClipboard()

String getClipboard ( )

Use the getClipboard function to get the contents of the GUI clipboard.

Returns
Returns a string equal to the current contents of the copy the clipboard, or a NULL strain if the copy clipboard is empty.
See also
setClipboard

◆ getLocalTime()

String getLocalTime ( )

Get the local time

Returns
the local time formatted as: monthday/month/year hour/minute/second

◆ getRealTime()

Integer getRealTime ( )

Use the getRealTime function to the computer time in milliseconds.

Returns
Returns the current real time in milliseconds.
See also
getSimTime

◆ setClipboard()

Boolean setClipboard ( string  )

Use the setClipboard function to Set value on clipboard to string.

Parameters
stringThe new value to place in the GUI clipboard.
Returns
Returns true if successful, false otherwise.
See also
getClipoard")

◆ setMouseLock()

void setMouseLock ( isLocked  )

Use the setMouseLock function to un/lock the mouse.

Parameters
isLockedA boolean value.
Returns
No return value