• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Help with terminal script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with terminal script


  • Subject: Re: Help with terminal script
  • From: Axel Luttgens <email@hidden>
  • Date: Fri, 3 Nov 2017 09:46:59 +0100
  • Ironport-phdr: 9a23:0userB9EPoxjK/9uRHKM819IXTAuvvDOBiVQ1KB31u0cTK2v8tzYMVDF4r011RmSDNWds6oMotGVmpioYXYH75eFvSJKW713fDhBt/8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1Ifn+FpLPg8it2e2//57ebx9UiDahfLh/MAi4oQLNu8cMnIBsMLwxyhzHontJf+RZ22ZlLk+Nkhj/+8m94odt/zxftPw9+cFAV776f7kjQrxDEDsmKWE169b1uhTFUACC+2ETUmQSkhpPHgjF8BT3VYr/vyfmquZw3jSRMMvrRr42RDui9b9mRwPnhykaNzA28m/ZitZ/gqxYrhKvuRtxzpXIYIGMMfpyYqPdcc8YSGdHQ81fVzZBAoS5b4YXE+cAMvhXr43grFUIsBu+GRWsBOzxxT9OnX/9wKo33P4uEA7Y2AwsBdYOsGnIrNXpO6cdT+a1zLLTwDXYbPNX2TH955bUchw7uv6DQ6t9fMzMwkchEAPFi0+fqY3jPz6NyuQCrXKb7+9hVeKpkWEnrxt9rSK3xsc0jITCm4Ebykjc+ClkxIs4K8e0RFN/bNK4CpdcqSGXO5dsTs88RWxjpTw0xaccuZGheSgH0JEnxxnCZPOZa4WI+RfjVPqJITd/mXJlZKqzhxas/kikze3xTs273EtIoyZbiNXBuGwB2wbP5sSdV/dw8UOs1jCX2wDS7OFLP1w0mLLGJ5MlzLM8jIcfvEDfEiPshkn7jLOael869uSw7uToeLTmppuSN49ujQH+N7wjldawAOsmNggCRWyb+fmg1L3/8k32XrNKjuYtn6nCs5DbJcIbqbClAwNPyYks9Q6zDy2639QAgXkHMFVFdQqdgIjxI1HOJO73DeyjjFS2kTdr3+zGMqT8ApXWMHfDiqzhcK15605d0woz0ctf64hOBbEZOPLzXlH+uMbEAR8+Ngzni9rgXdxmy8tKUHqXBqKCO7nTqUPN+/kiOfKkYI4OpC27IuA94/Oohng8zwwncLGtzKcQPXmjA7wyKl2BZXf3ic0ACXtPoxEzVvfCjFyZTSUVbm6qW6967TY+XtGIF4DGE6m9jbjJ+DqnApJbYHsOXlmcHHOuc5iYR/gBbjm6OcxwlDEYE7KsHdxynSqyvRP3nuI0ZtHf/TcV4Mru

> Le 2 nov. 2017 à 20:43, dan d. a écrit :
>
>
> Hello scripters,
>
> At least a year ago some kind person with far more experience scripting then
> I; did a script for me to use in terminal applications.
>
> I used it to run a shell script by using a voiceover key commander; which
> then ran the script in the terminal even when in a gui application.
>
> It used a 'do shell script', but Icann't for the life of me recall the
> preceding lines of syntax except one included "terminal".
>
> I have a use for this again, having lost the original somehow.
>
> Can anyone recall having done it and/or provide such an apple script please.

Hello Dan,

Do you mean something like this:

        tell application "Terminal"
                do script "/usr/bin/say 'Hello world!'"
        end tell

On the other hand, is it really needed to have the shell script run in
Terminal.app?
If not, this one directly executes the shell script:

        do shell script "/usr/bin/say 'Hello world!'"

HTH,
Axel

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Help with terminal script (From: "dan d." <email@hidden>)

  • Prev by Date: Re: Zoom question
  • Next by Date: Re: Zoom question
  • Previous by thread: Help with terminal script
  • Next by thread: Re: Help with terminal script
  • Index(es):
    • Date
    • Thread