0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【AppleScript】特定のアプリケーションが起動中か確認する方法

Posted at

AppleScriptを以下のように記述すると特定のアプリケーションが起動中か確認することができます。

if application "アプリケーション名" is running
  "running"
else
  "not running"
end if

メモアプリが起動しているか検証する場合には以下のようになります。

if application "Notes" is running
  "running"
else
  "not running"
end if
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?