centzon Posted July 7, 2015 Share Posted July 7, 2015 So, I have a very simple ruby script filter that parses (`readlines`) a text file and `puts` the required workflow XML back to Alfred. How now, when one makes a selection, from that dropdown listing can I copy that value/information to the clipboard or otherwise pass it on to another script. Simply linking to the clipboard action does not seem to work. It does, however, if I `puts` a value to the clipboard action, but then I do not get the user dropdown. Thanks, ~CT Link to comment
vitor Posted July 7, 2015 Share Posted July 7, 2015 Each item in the dropdown starts with something like <item uid='myuid' arg='myarg' valid='yes'>. That myarg (that can be what you want, naturally), is what will be passed further on when you select the item from the dropdown. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now