- Registriert
- 29.01.06
- Beiträge
- 290
Moin,
es gibt doch bestimmt jemanden der weiß, wie man den aktuellen Stand eines Programms ermitteln kann.
Also wenn das Programm nicht offen ist, dann mache dies....
Ich denke System Events ist dafür richtig...
Müsste doch so was sein wie:
tell application "System Events"
if application "DVD Player" is not running then
display dialog "Not opened"
else
display dialog "Open"
end if
end tell
Das geht aber nicht...
Wie dann ?
Über gute & kooperative Antworten freue ich mich sehr... :-D
X.
es gibt doch bestimmt jemanden der weiß, wie man den aktuellen Stand eines Programms ermitteln kann.
Also wenn das Programm nicht offen ist, dann mache dies....
Ich denke System Events ist dafür richtig...
Müsste doch so was sein wie:
tell application "System Events"
if application "DVD Player" is not running then
display dialog "Not opened"
else
display dialog "Open"
end if
end tell
Das geht aber nicht...
Wie dann ?
Über gute & kooperative Antworten freue ich mich sehr... :-D
X.