Tyilo Posted July 10, 2013 Share Posted July 10, 2013 How can I show the output of a script in the Alfred window instead of as a notification? The process management workflow can do this: http://www.alfredforum.com/topic/1409-process-management-with-top-and-kill/ I want to have a simple workflow called `hex` that accepts a decimal number and outputs the hexadecimal version of the number in the Alfred window. When pressing enter, I want the hexadecimal number to be copied. Script: printf "0x%x\n" {query} Link to comment
Tyler Eich Posted July 11, 2013 Share Posted July 11, 2013 How can I show the output of a script in the Alfred window instead of as a notification? The process management workflow can do this: http://www.alfredforum.com/topic/1409-process-management-with-top-and-kill/ I want to have a simple workflow called `hex` that accepts a decimal number and outputs the hexadecimal version of the number in the Alfred window. When pressing enter, I want the hexadecimal number to be copied. Script: printf "0x%x\n" {query} You should probably look into Script Filters; check out David Ferguson's post on script filter feedback for more detail. Cheers 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