Jump to content

possible to pass "enter" key through text arguments?

Recommended Posts

Apologies in advance if this question is already answered somewhere...I'm sure I'm not the first to ask, but I spent quite a while googling and searching this forum to no avail...


Is it possible to pass the "enter"/"return" key through the "text" argument field? currently when I want to execute the workflow I need to hit the hotkey and then hit "enter" manually so that alfred executes the command...I would like for the hotkey to execute the command on its own without me having to hit "enter" separately. Is this possible?


Or do I need to do this by modifying the script? If so, what's the correct way to tell the script to do this?


Thanks in advance!

Link to comment

i'm using the workflow found in the final post in this thread (post by BigHandsome) - I've embedded his post below.


I've set F10 as my hotkey for "volume up":



screenshot #1 of my workflow setup: https://www.dropbox.com/s/2h6py8wpzsh7q0g/Screenshot%202014-06-25%2016.16.06.png


screenshot #2 of my workflow setup: https://www.dropbox.com/s/jyguzm7d2z4g4gl/Screenshot%202014-06-25%2016.16.12.png


full thread: http://www.alfredforum.com/topic/1968-volume-adjust-workflow/



I really like your volume script.  However, I really wanted to be able to use the true mute functionality.  I have added mute, added some error checking, and changed how level works to account for mute.  Please let me know what you think.  I would love some feedback!


Here is a link to the download: Volume Adjust Workflow


Here is a link to the repository.  Please fork me of file a bug ticket!

Edited by lmachado
Link to comment

that worked! thanks so much! 


now i'm trying to figure out how to use that workflow to bind mute/unmute to F8...looking through the script, it looks like mute and unmute are done using two separate arguments...so how can I set up a single hotkey to do both?

Link to comment

i thought so, but alfred won't let me assign the same hotkey (ie F8) twice...how do i get around that?


also, when i hook up "mute" to the applescript node and trigger it, the notification saying "The volume has been muted" pops up, but nothing else happens - my computer's volume remains unmuted...any idea why?


Thanks again!

Link to comment

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...