ShadowThrone
29-08-2011, 20:04
Ho creato uno script che avia due programmi: ThunderBird e DavMail per la posta aziendale. Quando chiudo Thunderbird lo script chiude DavMail.
Funzionicchia... ma alle volte chiudo Thunderbird ed il mac va in stop! :confused:
Questo è lo script.
set Server to "ESTERNO"
tell application "Thunderbird"
activate
do shell script "/Applications/DavMail.app/Contents/MacOS/davmail Esterno"
end tell
tell application "System Events"
if not (exists process "Thunderbird") then
tell application "DavMail" to quit
else
sleep 10
end if
end tell
non sono un programmato e ho cercato in giro ma ogni aiuto è ben accetto.
Funzionicchia... ma alle volte chiudo Thunderbird ed il mac va in stop! :confused:
Questo è lo script.
set Server to "ESTERNO"
tell application "Thunderbird"
activate
do shell script "/Applications/DavMail.app/Contents/MacOS/davmail Esterno"
end tell
tell application "System Events"
if not (exists process "Thunderbird") then
tell application "DavMail" to quit
else
sleep 10
end if
end tell
non sono un programmato e ho cercato in giro ma ogni aiuto è ben accetto.