- Registriert
- 06.12.10
- Beiträge
- 13
Hallo, leider habe ich über die SuFu nichts gefunden...
Ich möchte ein Programm via AppleScript starten, aber nur, wenn es nicht schon gestartet ist.
Aktuell sieht mein Script so aus:
tell application "Finder"
set Programme to name of (every process whose visible is true) as list
end tell
if Programme contains "Frizzix" then
tell application "Frizzix"
quit
end tell
else
tell application "Frizzix"
activate
end tell
end if
Hoffe jemand kann mir da weiterhelfen.
LG
Ich möchte ein Programm via AppleScript starten, aber nur, wenn es nicht schon gestartet ist.
Aktuell sieht mein Script so aus:
tell application "Finder"
set Programme to name of (every process whose visible is true) as list
end tell
if Programme contains "Frizzix" then
tell application "Frizzix"
quit
end tell
else
tell application "Frizzix"
activate
end tell
end if
Hoffe jemand kann mir da weiterhelfen.
LG