Well learning AS certainly won't hurt =) But these two lines should do the job:
tell application "X11" to activate do shell script "export DISPLAY=:0; source /sw/bin/init.sh; appname
Thanks! It works well. Now if only I could find some time to learn AS...
BCW
------------------------------------------------------- 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