Jump to content
ResNDev

List of Placeholders

Recommended Posts

Does anyone have a list of placeholders in Alfred? 

I'm trying to do specialty actions with my contacts and other things in Alfred while using local application URLs. However, I'm trying to do things like hit enter on the name, but call a URL using the email address of that same user. 

Is that possible?

Edited by ResNDev

Share this post


Link to post

@Vero Thanks. I found that page, but it had very little to show what is available for all Placeholders (i.e. {query}, for example). I was hoping there was a list or all-in-one reference that someone could point me to. I wasn't able to find one via search. 

Share this post


Link to post

@ResNDev In fact, depending on how simple the action you want to perform is, you may not even need a workflow object.

 

In the Features > Contacts preferences, you can set the contact field to email, and the action to pass to a URL scheme, if it's available for the app you have in mind.

 

Here's an example of it in use with macOS' Handoff. Pressing return on a phone number will result in FaceTime (the default app for tel://) to launch. :)

 

Screen Shot 2017-01-10 at 15.38.37.png

 

Hope this helps!

 

Cheers,
Vero

Share this post


Link to post

@Vero

Thank you for the info. Though, I think my question is being lost. I understand how to use URL Schema's and such. I'm just wondering if there is a special method that Alfred allows to obtain other fields from the contact if selecting a separate field. Perhaps a better way to phrase the question is - is the contact in Alfred an object or is it simple just a string? 

Thanks a bunch for your patience.  

Share this post


Link to post

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
×