Jump to content

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


Recommended Posts

Posted

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 😊

Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...