public class AppleScriptRunner extends Object
Constructor and Description |
---|
AppleScriptRunner()
Creates the Runner with a default Timeout of 60 seconds
|
AppleScriptRunner(int timeout)
Create the Runner
|
Modifier and Type | Method and Description |
---|---|
String |
executeScript(String script)
Executes the AppleScripts
|
String |
formatTextAsParam(String string)
Formats a string and escapes all problematic characters
|
public AppleScriptRunner()
public AppleScriptRunner(int timeout)
timeout
- Timeout in Seconds for the execution of the Scriptspublic String executeScript(String script) throws IOException
script
- Script to executeIOException
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)