The other one is that I wanted to create a shortcut for Launchpad. I tried using http://wiki.winehq.org/MacOSX/FAQs#head ... d8cad5885d with no luck because Script Editor tells me that "The variable winePrefix is not defined." I have to admit I haven't installed X11, is that necessary?
Here is my "script" for this game:
on run
set toRun to "$WINEPREFIX/drive_c/Program Files/Electronic Arts/Burnout(™) Paradise The Ultimate Box/BurnoutParadise.exe"
set dyldFallbackLibraryPath to "/opt/X11/lib"
set toRunPath to do shell script "WINEPREFIX=\"" & winePrefix & "\"; TEMPVAR=\"" & toRun & "\"; echo \"${TEMPVAR%/*}\""
set toRunFile to do shell script "WINEPREFIX=\"" & winePrefix & "\"; TEMPVAR=\"" & toRun & "\"; TEMPVAR2=\"" & toRunPath & "\"; echo \"${TEMPVAR#$TEMPVAR2/}\""
do shell script "PATH=\"" & wineLocation & ":$PATH\"; export WINEPREFIX=\"" & winePrefix & "\"; export DYLD_FALLBACK_LIBRARY_PATH=\"" & dyldFallbackLibraryPath & "\"; cd \"" & toRunPath & "\"; wine \"" & toRunFile & "\" > /dev/null 2>&1 &"
end run
HELP?
