On Mar 23, 2009, at 5:39 PM, ulfarsson wrote:

> would it be possible to make the notebook files clickable in the
> following sense:
> If I have a file test.sws at /user/Documents/mySAGEfiles that I click
> then SAGE opens a new
> session by opening up a notebook server using the files at /user/
> Documents/mySAGEfiles.

This has been discussed recently when the Mac application was created:
http://groups.google.com/group/sage-devel/browse_thread/thread/442c406be6d8990f

IIRC there is no way to do this currently.  It's trivial as soon as we  
can do something like:
sage -notebook_open /path/to/file
or if we have a special url that will open the file.

I keep thinking that I am going to get around to doing this one day,  
but I keep having more important things (e.g. work that people pay me  
for) come up.  Any help, suggestions or pointers would be  
appreciated.  Maybe I ought to open a trac ticket, but it appears to  
be down at the moment.

> This might even be done with AppleScript on the Mac, but I don't know
> how to...


Applescript might work, but only for a single browser and only if the  
browser is Applescript-able.  i.e. Safari would need a different  
script than Firefox (and IIRC Firefox's Applescript support is  
virtually non-existent).

-Ivan

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to