1
votes

Is it possible to quit an application in Applescript using process id(unix id in AS)? I have multiple instances of same application running and need to close one specific instance. Something like: tell application App (whose process unix id is 14241) to quit

1

1 Answers

1
votes

You can use the shell, for example:

do shell script "kill 14241"