Creating your own launch Application

Discussion in 'Mac Apps and Mac App Store' started by telemark948, Sep 18, 2010.

  1. telemark948 macrumors member

    Jul 31, 2010
    I have an shell script that I launch from the command line. Is there an easy way to run this script using its own Icon in the applications folder.


  2. dws90 macrumors regular

    Jan 16, 2008
    There very well may be a way to do this directly, but it could be easily accomplished by creating an AppleScript application that calls your shell script. The AppleScript editor will allow you to save the script as an application bundle.
  3. telemark948 thread starter macrumors member

    Jul 31, 2010
    Thanks for advice. I have been trying unsuccessfully to get the AppleScript Editor to work.

    The shell script is not mine, I downloaded DbSchema which I run from the terminal window just with ./ as it doesn't have a application launcher with it, this works fine and launches the script.

    But with the Apple Script Editor I get an error

    I have tried:
    do shell script "~/Applications/DbSchema/"
    do shell script " /bin/tcsh -c '~/Applications/DbSchema/'"
    do shell script " /bin/csh -c '~/Applications/DbSchema/'"

    and other various combinations.

    The error I get is
    It would be nice to figure out where i have gone wrong. However I did manage to create an app from the script using


  4. r.j.s Moderator emeritus


    Mar 7, 2007
    Have you tried making an Automator app that will run the shell script?

Share This Page