Page 1 of 1

Quit ?

Posted: Tue Dec 13, 2005 2:01 am
by Germo
Esiste una azione di automator per uscire da una data applicazione? (Magari con la possibilità di salvarlo in iCal per programmarla).
Ciao

Posted: Tue Dec 13, 2005 2:49 am
by Kratork
non direttamente, dovresti usare un applescript o uno script shell

Posted: Tue Dec 13, 2005 3:47 am
by Germo
Sai come si fa?

Posted: Tue Dec 13, 2005 4:38 am
by Germo
Dopo aver googlato ho trovato questo sito di scriptografi:http://bbs.applescript.net/

dove ho trovato questo script:

tell application "Finder"
set RunningList to the name of every application process whose file type is "APPL"
end tell

if RunningList contains "L' APPLICAZIONE CHE VUOI" then
do shell script "killall \"L' APPLICAZIONE CHE VUOI\""
end if

Per "l' applicazione che vuoi" si intende l' applicazione di cui vuoi forzare l' uscita.
Ho salvato lo script; l'ho imprtato in Automator e salvato come plugin per iCal.
Funzia!
Ciao e grazie.

Posted: Tue Dec 13, 2005 6:04 am
by Kratork
ottimo, si... scusa avrei anche potuto specificare :oops :