3
2

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 5 years have passed since last update.

リモートデスクトップを開く Mac アプリを作成する

Posted at

小ネタ。

やりたいこと

ローカルネットワークに Mac mini があり、別の MacBook からこの Mac mini をリモートデスクトップで操作したい。

Finder の「サーバへ接続 (command + K)」を使えば接続できるが、頻繁に使うのでもっと簡単に起動できるようにしたく、デスクトップにあるアイコンをダブルクリックしたら接続できるようにしたい。

やりかた

Automator でアプリケーションを作成し、「シェルスクリプトを実行」で open vnc://<hostname> を実行するように設定して保存する。

image.png

保存したコレをダブルクリックしたらリモートデスクトップが起動する。

image.png

VNC によるリモートデスクトップだけでなく、 smb://...afp://... を指定すれば Finder でファイルサーバを開くショートカットとかもできそう。

3
2
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
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?