Mac OS Terminal Commands ?

Sarah Reichelt sarah.reichelt at gmail.com
Sun Jun 15 17:51:35 EDT 2008


On Mon, Jun 16, 2008 at 6:32 AM, Richmond Mathewson <geradamas at yahoo.com> wrote:
> Stephen Barncard wrote:
>
> "check out shell() and shellcommand in the docs"
>
> which I did, Thanks, but obviously I'm having a "thick patch" and don't quite understand why the following didn't work:
>
> on mouseUp
>  set the shellCommand to "/Applications/Utilities/Terminal.app"
>  shell ("KillAll Finder")
> end mouseUp


Normally, you don't have to set the shellCommand as it is set
automatically to the default for your system.
So you can just have something like:
  get shell("killall Finder")

Cheers,
Sarah



More information about the use-livecode mailing list