On Sun, Jul 19, 2009 at 7:41 AM, Ken Thomasesken@codeweavers.com wrote:
On Jul 17, 2009, at 10:02 PM, Steven Edwards wrote:
I tried looking in to generating of AppleScript app bundles however there seems to be no documented way to do it other than to use the Apple Script tool so no automatted method.
Are you familiar with the osacompile command?
I must have missed that before but I am afraid I don't see what it buys us other than saving hassle building the directory structure by hand. I don't think we want to use AppleScript rather than bash directly as Emmanuel suggested. Take for instance starting a new application, we will need something like
do shell script "WINEPREIFX=foo path/to/wine bar.exe"
Unless you know of some way to set the environment for only the parent and child applications for a given AppleScript. I found directions on how to do it globally but any shortcuts/scripts/bundles/whatever must honor the WINEPREFIX variable for each application.
http://developer.apple.com/qa/qa2001/qa1067.html
I am very open to being proved wrong though ;)