Jump to content

Alfred global hotkey to launch app depending on machine name (hostname)?

Recommended Posts

I just realized that I do this by adding a symlink to e.g. /Applications, and then just pointing Alfred to that. Problem solved :)


I'll go with this solution, but if anyone happens to know the answer to my original question, feel free to leave it here for future reference 😊

Share this post

Link to post

You can get the hostname of the current computer by running hostname (or hostname -s for the short name) in a Run Script action with Language = /bin/bash and using a Conditional utility to go from there.

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...