# Class: oScriptButton

## $. oScriptButton

#### new $.oScriptButton(scriptFile, scriptFunction, parent)

openHarmony/openHarmony_dialog.js, line 927
  The constructor for $.oScriptButton

  Name | Type | Description
  --- | --- | ---
  `scriptFile` | string | The path to the script file that will be launched
  `scriptFunction` | string | The function name to launch from the script
  `parent` | QWidget | The parent QWidget for the button.