adium/adium
Clone
Summary
Browse
Changes
Graph
Add a short delay to the contentAdded event, to ensure it's run after the content has been appended.
JSXtras
2013-04-16, Thijs Alkemade
30446d4b7b9f
Add a short delay to the contentAdded event, to ensure it's run after the content has been appended.
global
HandyAdiumScripts
on
run
tell
application
"Adium"
try
set
frontmost
to
false
error
on
error
number
num
--trap all errors
if
num
is
-
2700
then
error
-- if the error is the default error, caused by the 'error' directive, pass it along the chain
--otherwise, the command threw correctly
end
try
end
tell
end
run