You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
tell application "System Events"
|
|
|
|
|
set isRunning to <EFBFBD>
|
|
|
|
|
(count of (every process whose name is "GrowlHelperApp")) > 0
|
|
|
|
|
end tell
|
|
|
|
|
|
|
|
|
|
if isRunning then
|
|
|
|
|
|
|
|
|
|
tell application "GrowlHelperApp"
|
|
|
|
|
-- Make a list of all the notification types
|
|
|
|
|
-- that this script will ever send:
|
|
|
|
|
set the allNotificationsList to <EFBFBD>
|
|
|
|
|
{"Uniboard Update Install"}
|
|
|
|
|
|
|
|
|
|
set the enabledNotificationsList to <EFBFBD>
|
|
|
|
|
{"Uniboard Update Install"}
|
|
|
|
|
|
|
|
|
|
register as application <EFBFBD>
|
|
|
|
|
"Uniboard" all notifications allNotificationsList <EFBFBD>
|
|
|
|
|
default notifications enabledNotificationsList <EFBFBD>
|
|
|
|
|
icon of application "Uniboard"
|
|
|
|
|
|
|
|
|
|
notify with name <EFBFBD>
|
|
|
|
|
"Uniboard Update Install" title <EFBFBD>
|
|
|
|
|
"Uniboard" description <EFBFBD>
|
|
|
|
|
"Uniboard is installing a new version." application name "Uniboard"
|
|
|
|
|
|
|
|
|
|
end tell
|
|
|
|
|
end if
|