batch file to applescript help

Discussion in 'Mac Programming' started by synne, Jun 17, 2009.

  1. macrumors newbie

    Joined:
    Dec 19, 2008
    #1
    Hi Im new to my macbook and am learning what I can without having to install windows as a virtual PC or as a dual boot.

    I have a download for a game I am trying to play and it contains a batch file and a java file. The batch file is very short but I havnt figured out how to convert it to an applescript file to run my java based game. Any help would be appreciated... I keep getting identifier and character errors and suspect I havnt even got the basics down.

    The batch file is:

    Code:
    @echo off
    java -cp storkpkclient.jar a.a.a.c
    pause
    Thats it, looking in the same folder for the java file. Can someone help me with this?
     
  2. Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #2
    Code:
    do shell script "java -cp storkpkclient.jar a.a.a.c"
     

Share This Page