This OpusScript Reference List is a list of all the OpusScript functions in alphabetical order. When using an OpusScript function in a Script Object or Script Action, you must enter the function name as it appears in this list.
Function Name: | Category: | Description: |
| A list of all the Database functions | |
| A list of all the Date functions | |
| A list of all the Math functions | |
Frame | Add a point to the current contour in the frame | |
Browsers | Goes back one page in the browser history | |
MultiFrames | Go back one frame | |
Global String | Convert a value to a Boolean | |
External DLL | Call a function within a DLL. | |
Graphical Objects | Capture the mouse input | |
Global | Change the user’s Display Mode (i.e. screen resolution) | |
String | Get the character at the specified position in the string | |
String | Get the character code at the specified position in the string | |
Text Objects | Get the character at a given position | |
Pages | Clear a Bookmark for the current page | |
Frame | Remove all script drawing elements from the frame | |
Graphical Objects | Clone an object | |
File | Close an opened file | |
Views | Close the view | |
Global String | Test if one string contains another string | |
Clock | Continue a paused clock Object | |
Slideshow | Continue a Slideshow | |
Global | Copy a file to a new location of the user’s machine | |
Graphical Objects | Copy an object to the Windows clipboard | |
Pages | Copy the page to the Windows clipboard | |
Global | Create a new CD player Object | |
Sound | Create a CD player Object | |
Clock | Creates a new clock Object | |
Text Objects | Create a hypertext link and action for a selection | |
Global | Debugging tool that uses the Script Console | |
Global | Debugging tool that creates a new pane in the Script Console | |
Global | Delete a file from the user’s machine | |
Global | Delete a value from the system registry | |
Graphical Objects | Destroy a cloned object | |
Frame | Draw an ellipse in the frame | |
Frame | Draw a line between two points in the frame | |
Frame | Draw a rectangle in the frame | |
Frame | Draw a regular polygon (eg triangle or octagon) in the frame | |
Frame | Draw a round cornered rectangle in the frame | |
Frame | Draw a star in the frame | |
Graphical Objects | Enable or disable this object | |
File | Check for the end of file marker in the specified file | |
Global | Exit the publication, via an Exit page (if any) | |
Graphical Objects | Fade an object by an amount | |
Global | Test if a file exists in a given location | |
Basic Objects | Finds the child of this object with a particular name | |
Basic Objects | Finds the descendent of this object with a particular name | |
Text Objects | Find a string of text in a Text object | |
Text Objects | Find a string of text in a selection | |
Graphical Objects | Make an object follow an animation path | |
Global | Allows lines of code to be executed simultaneously | |
Global String | Format a number as a string | |
Browsers | Goes forward one page in the browser history | |
MultiFrames | Go forward one frame | |
Graphical Objects | Get the appearance information for the Object State of a specified object | |
Pages | Get Bookmark page by its index number | |
Basic Objects | Gets a child of this object by index | |
Clock | Returns a specified clock Object | |
Graphical Objects | Get display information related to an object e.g. scale and skew | |
Pages | Get the first Bookmark page | |
Basic Objects | Gets the first child of this object | |
Text Objects | Get the first hypertext link in a specified text object | |
Search | Gets first keyword in search list | |
Search | Gets first page to search on | |
Views | Get the first view open | |
Graphical Objects | Get the height of the object | |
Clock | Returns number of hours for a clock Object | |
Global | Return the value of a specified key in a specified section of an INI file | |
Global | Return the contents of a section of an INI file as a string | |
Global | Get the current joystick state | |
Global | Get the last page in the publication | |
Publications | Get the name of the last page in the publication | |
Graphical Objects | Get the layer that the object is on | |
Video | Get the length of the video in seconds | |
Text Objects | Get the number of lines | |
Global | Get current user locale (language and country information) | |
Clock | Returns number of minutes for a clock Object | |
Pages | Get the x and y coordinates of the current mouse position | |
Basic Objects | Gets the name of the object | |
Pages | Get the next Bookmark page | |
Basic Objects | Gets the child of this object that follows another | |
Text Objects | Get the next hypertext link in a specified text object | |
Search | Gets next keyword in search list | |
Pages | Get the next page in the publication | |
Search | Gets next page to search on | |
Views | Get the next view | |
Basic Objects | Gets the number of children of this object | |
Text Objects | Get the total number of links in a specified text object | |
Views | Get the number of views open | |
Graphical Objects | Get the position and size of an object | |
Global | Get a page by name | |
Publications | Get a page by name | |
Views | Get the page currently displayed in the view | |
Global | Get the percentage complete of the page downloaded | |
Global | Get the position of the page downloaded | |
Global | Get the total size of the page downloaded | |
Pages | Return page number of current page open in the publication | |
Text Objects | Get the number of paragraphs in a Text object | |
Basic Objects | Gets the parent of this object | |
Graphical Objects | Get an object for storing information that will persist when the page is not visible | |
Graphical Objects | Get the x and y coordinate of the objects position | |
Graphical Objects | Get the x and y coordinate of an animation path’s length | |
Sound | Get the current position in seconds for a sound file | |
Video | Get the current position of a video in seconds | |
Graphical Objects | Get the x and y coordinate of an animation path from a percent along the path | |
Pages | Get the previous page in the publication | |
Pages | Get the name of the current publication | |
Graphical Objects | Get the scroll position, scroll size and scrollbar | |
Clock | Returns number of seconds for a clock Object | |
Text Objects | Gets the position of the selected characters | |
Text Objects | Get the paragraph style of selected text | |
Text Objects | Get the formatting style of selected text | |
Text Objects | Gets the selected text as a string | |
Slideshow | Get the slide currently visible | |
Slideshow | Count the number of slides in a slideshow | |
Buttons | Returns the current state of a push button | |
Text Objects | Get the text used for a hyperlink as a string | |
Text Objects | Get the number of characters | |
Graphical Objects | Get the total length of an animation path | |
Global | Get the object’s Object Type e.g. button, image etc. | |
Views | Get the View Type | |
Basic Objects | Gets a string that is unique to this object | |
Views | Get the view at a specified index position | |
Sound | Get the volume level of a specified device | |
Sound | Get the volume level of a specified sound Object | |
Graphical Objects | Get the width of the object | |
Text Objects | Get the number of words | |
Graphical Objects | Get the x coordinate of the objects position | |
Graphical Objects | Get the y coordinate of the objects position | |
Video | Set the first frame of a video | |
Graphical Objects | Go to a particular frame of a tween and start playing | |
Graphical Objects | Go to a particular frame of a tween and stop playing | |
Global | Go to the previous page in the publication | |
Pages | Go to a specific Bookmark | |
Global | Go to current page in publication | |
File | Goes to first line of an opened file | |
Global | Go to the next page in the publication | |
Graphical Objects | Go to a specific frame in a Tween. | |
File | Goes to next line of an opened file | |
Global | Go to the next page in the page history | |
Global | Go to a random page within the chapter without repeating | |
Global | Go to a given page | |
Global | Go to the previous page in the page history | |
Global | Go to a random page within the chapter | |
Slideshow | Go to a specific slide | |
Graphical Objects | Hide this object | |
Browsers | Goes to the Home page of the specified browser Object | |
String | Return the position within the String object of the substring | |
Global String | Convert a value to an integer | |
Global | Gets information from a remote server | |
Global | Post information to a remote server | |
Text | Check if an autonarrate is currently playing | |
Graphical Objects | Test if this object is enabled | |
Global | Test if a specific key is being pressed | |
Global | Test if a specified special key is being pressed | |
Graphical Objects | Test if this object is intersecting another | |
Slideshow | Check if a specified Slideshow is playing | |
Video | Check if a specified video is playing | |
Graphical Objects | Test if this object is showing | |
String | Return the position within the String object of the last match in the substring | |
Global | Open an external file | |
Global | Open the Search dialog box | |
Global | Open a URL | |
Global String | Get the left end of a string | |
Global String | Get the length of a string | |
String | The length of the string | |
Text Objects | Get the line index of a character position | |
Text Objects | Get the character index of the first character in a line | |
Text Objects | Get the number of characters in a line | |
External DLL | Load a DLL so functions from it can be accessed. | |
Number | The largest number that can be represented in OpusScript | |
Global String | Get part of the middle of a string | |
Number | The smallest number that can be represented in OpusScript | |
Graphical Objects | Move the object by its x and y coordinates | |
Graphical Objects | Move the object by its x coordinate | |
Graphical Objects | Move the object by its y coordinate | |
Number | Returns a value that is "not a number" | |
Browsers | Open a specified URL in specified browser Object | |
Number | A value representing negative infinity | |
Global String | Convert a value to a number | |
File | Opens a file and returns a new file Object | |
Global | Returns a search object containing the publication search words | |
Sound | Open a sound file but don’t play it | |
Text Objects | Returns the index number of the paragraph in a Text object | |
Text Objects | Returns the number of characters in a paragraph | |
Clock | Pause a clock Object | |
Slideshow | Pause a Slideshow | |
Slideshow | Play a Slideshow | |
Sound | Play a sound file | |
Video | Play a specified video | |
Tween | Play a Tween Animation | |
Text Objects | Begin the autonarration on this text | |
Global | Play a track from a CD | |
Sound | Play a sound file | |
Global | Play a system sound from the users computer | |
Text Objects | Get the position of a character | |
Number | A value representing positive infinity | |
Browsers | Print the contents of a Browser object | |
Global | Print the specified file | |
Global | Print the specified Object | |
Global | Print the specified page or page Object | |
Sound Objects | Pauses a WAV file | |
Global String | Get a random integer | |
File | Read a file that has been opened | |
File | Reads a field in a file that has been opened | |
File | Reads first line of an opened file | |
Global | Return the value of a specified key in the Registry | |
Global | Exit the publication immediately | |
Browsers | Redisplays the current page in the specified browser Object | |
Event Objects | Set a function to be called when a certain event triggers on the object. | |
Graphical Objects | Release the mouse input | |
Text Objects | Remove all hypertext links for this text | |
Graphical Objects | Remove Alpha effect from specified object | |
Graphical Objects | Remove Background style from specified object | |
Graphical Objects | Remove Blur from specified object | |
Graphical Objects | Remove Border style from specified object | |
Graphical Objects | Remove Button style from specified object | |
Graphical Objects | Remove Flare effect from specified object | |
Graphical Objects | Remove Image file from specified object | |
Frame | Remove a point from the contour in the frame | |
Graphical Objects | Remove Shadow effect from specified object | |
Graphical Objects | Remove Texture effect from specified object | |
Text Objects | Replaces the current selection with a specified string | |
Global | Close the open log file | |
Global | Get the filename of the current log file | |
Global | Set the output file for logging actions | |
Global | Write a string to the current log file | |
Graphical Objects | Reset an animation | |
Publications | Reset all the publications variables to their default | |
Pages | Reset all page properties variables | |
Sound Objects | Resumes a WAV sound previously paused | |
Global | Return a number indicating a RGB colour value | |
Global String | Get the right end of a string | |
Graphical Objects | Roll an object by a specified angle | |
Graphical Objects | Rotate an object by a specified angle | |
Graphical Objects | Scale an object horizontally and vertically by a percentage | |
Graphical Objects | Scale an object horizontally by a percentage | |
Graphical Objects | Scale an object vertically by a percentage | |
Text Objects | Scroll the text by line, paragraph or page | |
Sound | Reposition the starting point of a sound | |
Video | Reposition the starting point of a video | |
Global | Send an email | |
Graphical Objects | Set Alpha effect on a specified object | |
Graphical Objects | Set Background style on a specified object | |
Graphical Objects | Set Blur on a specified object | |
Pages | Bookmark the current page | |
Graphical Objects | Set Border style on a specified object | |
Graphical Objects | Set Button style on a specified object | |
Text Objects | Set the colour of text in a Text object | |
Graphical Objects | Set display information related to an object e.g. | |
Polygons | Set the fill colour of a polygon in a Vector object | |
Frame | Set the fill colour for the script drawing in the frame | |
Graphical Objects | Set Flare effect on a specified object | |
Graphical Objects | Set the keyboard input focus | |
Graphical Objects | Set Image file on a specified object | |
Global | Set the value of a specified key in a specified section of an INI file | |
Chapter | Set the initial position a chapter window will open at, using an absolute position | |
Chapter | Set the initial position a chapter window will open at, as a percentage of the screen size | |
Graphical Objects | Set the layer that the object is on | |
Polygons | Set the line colour of a polygon in a Vector object | |
Frame | Set the line colour for the script drawing in the frame | |
Frame | Set the line style for the script drawing in the frame | |
Text Objects | Set the highlighted area in a Listbox object to a new line | |
Graphical Objects | Set the position and size of an object | |
Graphical Objects | Set aspects of the objects position | |
Sound | Set the current position in seconds for a sound file | |
Graphical Objects | Set the x coordinate of the objects position | |
Graphical Objects | Set the y coordinate of the objects position | |
Graphical Objects | Set an objects roll to a specified angle | |
Graphical Objects | Set an objects rotation to a specified angle | |
Graphical Objects | Set the horizontal and vertical scale of an object to a percentage | |
Graphical Objects | Set the horizontal scale of an object to a percentage | |
Graphical Objects | Set the vertical scale of an object to a percentage | |
Graphical Objects | Set the scroll position of the object | |
Text Objects | Selects a range of characters in the text object | |
Text Objects | Set the paragraph style of selected text | |
Text Objects | Set the formatting style of selected text | |
Graphical Objects | Set Shadow effect on a specified object | |
Graphical Objects | Skew an object horizontally and vertically to a specified angle | |
Graphical Objects | Skew an object horizontally to a specified angle | |
Graphical Objects | Skew an object vertically to a specified angle | |
Graphical Objects | Set an objects spin to a specified angle | |
Buttons | Sets the current state of a push button | |
Graphical Objects | Set Texture effect on a specified object | |
Graphical Objects | Set the objects transparency | |
Sound | Set the volume level for a specified device | |
Sound | Set the volume level for a specified sound Object | |
Graphical Objects | Show this object | |
Pages | Show the Bookmark Dialog box | |
Graphical Objects | Spin an object by a specified angle | |
String | Split a String object into an array of strings | |
Clock | Start a clock Object | |
Timelines | Start a specified Timeline | |
Browsers | Stops the specified browser Object | |
Clock | Stop a clock Object | |
Slideshow | Stop a Slideshow | |
Sound | Stop a sound file | |
Timelines | Stop a specified Timeline | |
Tweens | Stops the specified Tween Animation | |
Video | Stop a specified video | |
Graphical Objects | Stop an animation | |
Text Objects | End the autonarration on this text | |
Global String | Convert a value to a string | |
String | Returns a substring of a specified string | |
Publications | Get the number of seconds a publication has been running | |
MultiFrames | Go to last frame in the MultiFrame | |
MultiFrames | Go to a given frame in the MultiFrame | |
Global String | Get a lower case version of a string | |
String | Converts the String object to lower case | |
MultiFrames | Go to first frame in the MultiFrame | |
Boolean | Converts a Boolean object to a string | |
File | Returns the type of object as a string | |
Number | Converts the Number object into a string | |
String | Converts the String object into a string | |
Global String | Get an upper case version of a string | |
String | Converts the String object to upper case | |
Event Objects | Activate a Custom Trigger for a specified object. | |
Event Objects | Remove a previously registered event handler. | |
Boolean | Returns a primitive value of a Boolean Object | |
Number | Returns the primitive value of the Number Object | |
String | Returns the primitive value of the String object | |
Global String | Get a word from a string | |
File | Write a string to an opened file | |
File | Write a string to a field in an opened file | |
File | Write a string to a line in an opened file | |
Global | Write a value to the system registry |