final String script = "tell application \"GrowlHelperApp\"\n"
+ " set the allNotificationsList to {\"TVBrowserSendProgram\"}\n"
+ " register as application \"TV-Browser\" all notifications allNotificationsList default notifications allNotificationsList icon of application \"TV-Browser\"\n"
+ " notify with name \"TVBrowserSendProgram\" title \""
+ runner.formatTextAsParam(title) + "\" description \""
+ runner.formatTextAsParam(desc)
+ "\" application name \"TV-Browser\"\n" + "end tell";
try {
runner.executeScript(script);
} catch (IOException e) {
mLog.log(Level.SEVERE, "Can't execute AppleScript\n\n" + script, e);