hi,
forgive me if I don’t have the terms right here but I wanted to know if it is possible and what the syntax is for adding a parameter to an applescript command that is supported in the framework / API but not supported in the Applescript dictionary.
specifically for growl, I need to supply a clickContext: parameter.
tell application "GrowlHelperApp" to ¬
notify with name "Today's Events" title theEventSummary description theEventDescription application name appName
and thought something like this would work without having to use “call method”
tell application "GrowlHelperApp" to ¬
notify with name "Today's Events" title theEventSummary description theEventDescription application name appName with parameter {clickContext:1}
The cocoa method is:
Post a notification from parameter data
+[GrowlApplicationBridge notifyWithTitle:
description:
notificationName:
iconData:
priority:
isSticky:
clickContext:]