Getting Quicksilver show notification to work

Anybody trying to use “show notification” Applescript with Quicksilver b54 (3815) may get this error: “Quicksilver got an error: Some parameter is missing for show notification”

Looks like it is a bug on this version, as more people reported here.

You may try providing all parameters. Here are some examples:


tell application "Quicksilver"
	show notification "QS Notification" text "QS text" image name "Quicksilver.icns" image data read (path to resource "Quicksilver.icns") as picture
	show notification "Yes Notification" text "Yes text" image name "BooleanYES.png" image data read (path to resource "BooleanYES.png") as picture
	show notification "No Notification" text "No text" image name "BooleanNO.png" image data read (path to resource "BooleanNO.png") as picture
	show notification "Toggle Notification" text "Toggle text" image name "BooleanTOGGLE.png" image data read (path to resource "BooleanTOGGLE.png") as picture
	show notification "App icon" text "App icon text" image name "com.apple.safari" image data read (path to resource "Quicksilver.icns") as picture
end tell

Now it should work. Note that the displayed image will be defined by the image name, not the image data, which seems to be just ignored.

Advertisement

Leave a Comment

Filed under Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s