Hi deanishe,
Thanks, I must be confused then. I thought I would need to have the argument I type out into Alfred in the Arg field. If that's not the case, then where would I set up that argument?
Maybe I'm still having trouble expressing what it is I'm looking to do.
I have over 50 key-value pairs. For the developers here, think of an associative array. They look like so:
array(
'product1' => 'http://docs.domain.com/products-full-name-1',
'product2' => 'http://docs.domain.com/products-full-name-2',
'product3' => 'http://docs.domain.com/products-full-name-3',
'product4' => 'http://docs.domain.com/products-full-name-4',
...
'product55' => 'http://docs.domain.com/products-full-name-55',
);
I'm wondering if there is a way to set up a keyword ("wcp") workflow without any code (or minimal code) to map the argument (key in the array) to the URL (value in the array) so that when I type the following into Alfred, http://docs.domain.com/products-full-name-3 (the URL from the value) is opened in my browser:
wcp product3
How could i use the List Filter to do that? This would be the optimal workflow as it allows for CSV importing, making it easier for our team to upkeep.
This particular problem I'm trying to solve can be easily done with code and would be rather maintainable even by the team members who haven't touched a line of code in their life. That's because I could just do an array like above and look up the query. However, I'm using this as an example project so I can get more familiar with how Alfred works and what is possible with workflows out of the box.
Thanks!