OVH Cloud OVH Cloud

AppleScript et process

2 réponses
Avatar
Michel
Bonjour

j'aurai besoin d'aide, je cherche dans un AppelScript à vérifier si une
application donnée est lancée.


Par avance merci.

2 réponses

Avatar
Patrick Stadelmann
In article <444faeb4$0$6654$,
Michel wrote:

j'aurai besoin d'aide, je cherche dans un AppelScript à vérifier si une
application donnée est lancée.


set appName to "TextEdit"

tell application "System Events"
set appExists to (process appName exists)
end tell

Patrick
--
Patrick Stadelmann

Avatar
Michel
In article <444faeb4$0$6654$,
Michel wrote:

j'aurai besoin d'aide, je cherche dans un AppelScript à vérifier si une
application donnée est lancée.


set appName to "TextEdit"

tell application "System Events"
set appExists to (process appName exists)
end tell

Patrick


Merci !

Michel