I agree that this would be awesome, but I have no idea how it would be implemented. I think that when you type "2**18" into Spotlight it calls the calculator application in OS X, instead of handling the calculation itself. If you could reroute the call to Sage you might be able to make something happen.
Henning On Nov 19, 6:30 am, John H Palmieri <jhpalmier...@gmail.com> wrote: > Here's an odd idea: in Mac OS X, "Spotlight" lets you search for files > and strings and such, but it also does basic mathematical > computations: click on the magnifying glass at the right end of the > menu bar and type in "2**18", for instance, and it prints out "2**18 = > 262144". Is there a way of getting this to interact with Sage, so I > could type in "sage(Sq(2) * Sq(2))" and have it evaluate it and print > the answer, "Sq(2) * Sq(2) = Sq(1,1)"? (Or even better if I didn't > have to type "sage"...) I don't know anything about Spotlight or what > would be involved, but you could impress a lot of people if you could > do Steenrod algebra calculations, or elliptic curve computations, or > other things, straight from Spotlight. > > John -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org