Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Run Terminal commands outside application?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="nabl" data-source="post: 949837" data-attributes="member: 43512"><p>Sure, you could do that in a number of ways, but Automator is probably the easiest. I've attached a simple application that will prompt you for a command and execute it. It doesn't even output the result of the command (the nature of your example doesn't require it), but you can easily edit it in Automator and out a method for output if you desire.</p><p></p><p><em>Edit:</em> You could also save this as a service and assign a keyboard shortcut so that you could run a single command quickly whenever you need to.</p><p></p><p>[ATTACH=full]11664[/ATTACH]</p></blockquote><p></p>
[QUOTE="nabl, post: 949837, member: 43512"] Sure, you could do that in a number of ways, but Automator is probably the easiest. I've attached a simple application that will prompt you for a command and execute it. It doesn't even output the result of the command (the nature of your example doesn't require it), but you can easily edit it in Automator and out a method for output if you desire. [i]Edit:[/i] You could also save this as a service and assign a keyboard shortcut so that you could run a single command quickly whenever you need to. [ATTACH=full]11664[/ATTACH] [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Run Terminal commands outside application?
Top