Help with AppleScript Editor for Spiral Knight application

Discussion in 'Mac Programming' started by bpletcher, Sep 6, 2011.

  1. bpletcher macrumors member

    Joined:
    Jun 16, 2011
    Location:
    Michigan
    #1
    I have been trying to play Spiral Knights off of steam and have been getting apparently a common error with the game the developers have yet to figure out where the game won't open. However a solution has been found where you open Terminal and enter said commands..

    cd ~/Library/Application\ Support/Steam/SteamApps/common/spiral\ knights

    then

    sh run.sh

    I was wondering if and how I could use AppleScript to make an application with an icon to simply automatically run these commands without constantly having to go into terminal and type them out.
     
  2. DESNOS macrumors 6502

    Joined:
    Aug 24, 2011
    #2
    Don't need AppleScript. This can be done easily with a shell script executable. Try using the attached file. You can view the source using TextEdit if you want to.
     

    Attached Files:

    • Run.zip
      File size:
      597 bytes
      Views:
      31
  3. hayesk macrumors 65816

    Joined:
    May 20, 2003
  4. DESNOS macrumors 6502

    Joined:
    Aug 24, 2011
    #4
    A pure "run shell script" applescript can be simplified by making a pure shell script. ;) Even the descriptive wording is simpler.
     
  5. bpletcher, Sep 7, 2011
    Last edited: Sep 7, 2011

    bpletcher thread starter macrumors member

    Joined:
    Jun 16, 2011
    Location:
    Michigan
    #5
    My next question is, is there anyway to put that file into Launchpad? I changed the icon to the icon for the game and have all my games in a folder on launchpad but its not letting me put the executable in.
     

Share This Page