TorqueScript Reference

- Main Page
- Related Pages
- Modules
- Classes

Functions
Platform
Function Categories

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

## Detailed Description

## Function Documentation

String createUUID | ( |  | ) |

Creates a UUID string.

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

String getLocalTime | ( |  | ) |

Get the local time

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

Integer getRealTime | ( |  | ) |

Use the getRealTime function to the computer time in milliseconds.

Returns
  Returns the current real time in milliseconds.

See also
  getSimTime

Boolean setClipboard | ( | string |  | ) |

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

Parameters

  string | The new value to place in the GUI clipboard.

Returns
  Returns true if successful, false otherwise.

See also
  getClipoard")

void setMouseLock | ( | isLocked |  | ) |

Use the setMouseLock function to un/lock the mouse.

Parameters

  isLocked | A boolean value.

Returns
  No return value