On Monday, January 27, 2014 4:42:32 PM UTC+1, Rob McBroom wrote:
> I assume AppeScript has some concept of an image. There’s probably a way
> to get one using the path to a file. Didn’t try it.
>
I thought about it too, but path doesn't work. Instead raw data should
work. But, although it doesn't output an error, QS doesn't display it and
defaults to its app icon. Any ideas?
set ImageRawData to {JPEG picture:«data
JPEGFFD8FFE000104A46494600010100000100010000FFE207B84943435F50524F46494C45000101000007A86170706C022000006D6E74725247422058595A2007D900020019000B001A000B616373704150504C000000006170706C000000000000000000000000000000000000F6D6000100000000D32D6170706C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000B64657363000001080000006F6473636D000001780000056C63707274000006E400000038777470740000071C000000147258595A00000730000000146758595A00000744000000146258595A0000075800000014725452430000076C0000000E636861640000077C0000002C625452430000076C0000000E675452430000076C0000000E64657363000000000000001447656E65726963205247422050726F66696C6500000000000000000000001447656E65726960»}
tell application "Quıcĸsıɩⅴεʀ" to show notification "Error" image data
ImageRawData text "This notification isn't working"
It appears to accept input similar to -[QSResourceManager imageNamed:],
> though it doesn’t work with bundle identifiers. So you can use anything the
> OS already knows about, and anything defined by a plug-in under
> QSResourceAdditions.
>
It actually works with bundle identifiers.
tell application "Quıcĸsıɩⅴεʀ" to show notification "Mail" image name
"com.apple.mail" text "This notification works"
--
You received this message because you are subscribed to the Google Groups
"Quicksilver" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/blacktree-quicksilver.
For more options, visit https://groups.google.com/groups/opt_out.