Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Create simple launchers for standalone WIndows apps' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create simple launchers for standalone WIndows apps
Authored by: simondorfman on Mar 23, '11 09:15:38PM
A small improvement to the applescript code I posted above. This code figures out the current username, so you don't have edit the script to include your own username:

set currentUsersName to (system attribute "USER" as string)
do shell script "/opt/local/bin/wine /Users/" & currentUsersName & "/.wine/drive_c/Program\\ Files/Zillions\\ Development/Zillions\\ Demo/Zillions.exe >& /dev/null &"

[ Reply to This | # ]