def openMacSOUPSettingsFile(settingsFile)
as="tell application \"MacSOUP\"
open file \"#{settingsFile}\"
activate
with timeout of 30 * 60 seconds
purge
connect with fetching news, fetching tagged headers and sending
end timeout
end tell"
OSX.do_osascript(as)
end
(as wrappé en Ruby)
malheureusement MacSOUP passe alors en premier plan ce qui est génant
quand on frappe qqc au clavier.
comment garder MacSOUP en arrière-plan ?
autre question, si le serveur est en banane j'ai droit à un message
d'erreur de MacSOUP, comment éviter cette fenêtre par un couple try/end
try avec un on error dedans qui ne fait rien ???
--
une bévue