I am new to this so it would be nice if anyone could give me a hand.
I was able to compile an AppleScript launcher application with ScriptEditor based the "do shell script" command.
it looks like this:
do shell script "/Volumes/USB\\ 2\\ HD/Game\\ Collection/Elite\\ Force/Elite\\ Force\\ HM\\ 1.3.7.app/Contents/MacOS/iostvoyHM-1.37.ub +set fs_game RPG-X &"
it works with Cocoa based apps, but not with carbon programs.
I found a hint here:
http://www.macosxhin...030711041351836
do shell script "/System/Library/Frameworks/Carbon.framework/Versions/Current/Support/LaunchCFMApp /Path/To/Application &"
that launches the carbon application, BUT I cannot include command line parmeters for the application I want to execute, because the path to the app already is a parameter of LaunchCFMApp.
is there another (simpler) way of adding command line parameteres to carbon apps?
I found an UT OSX Infiltration launcher script but I wasn't able to adapt it to work with Quake 3 games.
it looks like this:
on run tell application "Unreal Tournament OS X" run params "Entry.unr INI=InfiltrationX.ini USERINI=InfiltrationUser.ini LOG=InfiltrationX.log" -- syntax check will always fail on the above line. Ignore any errors, unless you are having trouble. activate end tell end run
if I cange the game name and want to execute the script, Scripteditor asks for the path to the app and then gives me a syntax error (end of line expected but (") was found (right after run params)
I am quite a noob when it comes to scripting and/or coding - does anyone have a clue how I can solve this problem best?
thanks a lot

Sign In
Register
Help


MultiQuote