On Dec 24, 2008, at 1:59 PM, mabshoff wrote:
> > > > On Dec 24, 1:18 pm, adam <ahauskne...@umassd.edu> wrote: >> Hi all, > > Hi Adam, > >> It is easy to create an AppleScript applet that will launch "sage". >> Assuming the sage >> folder is within the Mac OS X Applications folder, the script is >> >> tell application "Terminal" >> do script "/Applications/sage/sage" >> end tell >> >> This script can be saved as a double-clickable application with its >> own icon. >> Let me know if you would like a copy of the version I created with an >> icon >> based on the sage logo. > > See http://trac.sagemath.org/sage_trac/ticket/4817 for something very > similar that can handle moving Sage around gracefully. > >> Adam > > Cheers, > > Michael I was looking at this and the explanation in the bug seems a little complicated. One can create a project (of almost any kind) in Xcode and build it. I called mine "sage" and got a "sage.app" from the build. Delete the Resources directory. Take a /bin/sh script that calls "open -f Terminal.app $location/sage" and move it to sage.app/Contents/MacOS/ sage. This turns "sage.app" into a double-clickable app that launches sage and shuts down. The icon is just gravy. - ray --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---