I believe that if you just create a shell script file that starts with 
#!/bin/bash 

ensure it has the execute privileges and then associated that with a keyboard 
commander that the terminal will launch and execute the command. 
Will the command you are thinking of produce output? Depending on that output 
and possibly what you want to do with that output might provide the best 
suggestion of completing your task. You can also create automations that could 
have files "dragged" onto them and have those files act as input to the 
automation. I haven't actually investigated creating droplets like this. 

The talking status messages that Alex Hall has provided to this group all 
include wrapping one or more shell commands around a handler that then uses the 
VoiceOver Applesccript command "output" to speak the information requested.

You can reach me off list if you want some help getting everything working. 
Scripting screen readers is a hobby for me these days, since I no longer 
professionally write JAWS scripts.
 
                Best wishes,

Jonathan Cohn



> On Nov 1, 2017, at 7:52 PM, Ryan Dour <rd...@me.com> wrote:
> 
> You can use AppleScript, wrap your Terminal command in the syntax:
> 
> do shell script "/usr/bin/command --argument 1"
> 
> Details here:
> https://developer.apple.com/library/content/technotes/tn2065/_index.html
>> On Nov 1, 2017, at 5:29 PM, dan d. <dandun...@gmail.com> wrote:
>> 
>> 
>> Hello,
>> 
>> Is it possible to set an alias,ie. a keyboard shortcut to run an application 
>> in terminal?
>> 
>> If so, how might one do it?
>> 
>> Thnks.
>> 
>> -- 
>> XB
>> 
>> -- 
>> The following information is important for all members of the Mac 
>> Visionaries list.
>> 
>> If you have any questions or concerns about the running of this list, or if 
>> you feel that a member's post is inappropriate, please contact the owners or 
>> moderators directly rather than posting on the list itself.
>> 
>> Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
>> macvisionaries+modera...@googlegroups.com and your owner is Cara Quinn - you 
>> can reach Cara at caraqu...@caraquinn.com
>> 
>> The archives for this list can be searched at:
>> http://www.mail-archive.com/macvisionaries@googlegroups.com/
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "MacVisionaries" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to macvisionaries+unsubscr...@googlegroups.com.
>> To post to this group, send email to macvisionaries@googlegroups.com.
>> Visit this group at https://groups.google.com/group/macvisionaries.
>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> The following information is important for all members of the Mac Visionaries 
> list.
> 
> If you have any questions or concerns about the running of this list, or if 
> you feel that a member's post is inappropriate, please contact the owners or 
> moderators directly rather than posting on the list itself.
> 
> Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
> macvisionaries+modera...@googlegroups.com and your owner is Cara Quinn - you 
> can reach Cara at caraqu...@caraquinn.com
> 
> The archives for this list can be searched at:
> http://www.mail-archive.com/macvisionaries@googlegroups.com/
> --- 
> You received this message because you are subscribed to the Google Groups 
> "MacVisionaries" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to macvisionaries+unsubscr...@googlegroups.com.
> To post to this group, send email to macvisionaries@googlegroups.com.
> Visit this group at https://groups.google.com/group/macvisionaries.
> For more options, visit https://groups.google.com/d/optout.

-- 
The following information is important for all members of the Mac Visionaries 
list.

If you have any questions or concerns about the running of this list, or if you 
feel that a member's post is inappropriate, please contact the owners or 
moderators directly rather than posting on the list itself.

Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
macvisionaries+modera...@googlegroups.com and your owner is Cara Quinn - you 
can reach Cara at caraqu...@caraquinn.com

The archives for this list can be searched at:
http://www.mail-archive.com/macvisionaries@googlegroups.com/
--- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to macvisionaries+unsubscr...@googlegroups.com.
To post to this group, send email to macvisionaries@googlegroups.com.
Visit this group at https://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.

Reply via email to