Execute a shell script with a click

Discussion in 'macOS' started by Greebazoid, Sep 29, 2006.

  1. Greebazoid macrumors regular

    Joined:
    Mar 20, 2006
    Location:
    Cape Town
    #1
    morning boffins..

    Any one know how I can execute a .sh file from the desktop with just a click of my mouse?

    At present, if I do that, it opens the shell script for edit - I want it to launch.

    I've written a workflow that does it for me, but problem is I can only launch one at a time, I need to be able to run it several times concurrently
     
  2. bousozoku Moderator emeritus

    Joined:
    Jun 25, 2002
    Location:
    Gone but not forgotten.
    #2
    Create an AppleScript application to run your shell script using "do shell script". You can double click the AppleScript application and it will run the shell script for you.
     
  3. Greebazoid thread starter macrumors regular

    Joined:
    Mar 20, 2006
    Location:
    Cape Town
    #3
    Thank you very much. Will give it a good go at getting that working

    :D
     

Share This Page