PDA

View Full Version : batch file to applescript help




synne
Jun 17, 2009, 05:25 PM
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:

@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?



angelwatt
Jun 17, 2009, 06:21 PM
do shell script "java -cp storkpkclient.jar a.a.a.c"