Martin Costabel wrote:
Open the Apple Script Editor, type
do shell script "export DISPLAY=:0; source /sw/bin/init.sh; appname"
save as Application.
This works great if X11.app is already running. How can it be modified to check whether X11 is running, then if it isn't, to start X11 and then run the application in which I'm interested?
I guess you need two lines then: First
tell application "X11" to activate
and then the one from above.
-- Martin
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners