Using Open Office Impress to open Idle.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Using Open Office Impress to open Idle.

Tony Cappellini-2

Has anyone here used Open Office Impress- to launch an editor, and have the editor open a specific source file?
I'm actually trying to launch Idle- to view a python file, however I want to be able to click on a link in Impress to launch the editor.

The hyperlinks in Impress appear to only support other OO applications, not arbitrary applications.



_______________________________________________
Baypiggies mailing list
[hidden email]
To change your subscription options or unsubscribe:
http://mail.python.org/mailman/listinfo/baypiggies
Reply | Threaded
Open this post in threaded view
|

Re: Using Open Office Impress to open Idle.

Andy Wiggin
I've never done that, but it does sound kind of neat. If there were no
way to get ooimpress to do it, and you really wanted to make it work,
you could do something like implement a really simple web server (say,
using CherryPy or something else where all you have to do is write the
URL response function). It could support one URL, e.g. "open", with a
filename argument. Then, you wouldn't actually return much in the way
HTML from this URL, but as a side effect you could spawn a process
which runs idle to open the file. Then for your hyperlink in ooimpress
you use the URL of the page in the server, like
"http://locahost:4321/open?file=somefile.py". If the little web server
is running on your local machine on port 4321, it should just pop up
the window... at least if you're on Linux... other OSs it seems like
it should work too, but I'm not as familiar.

Again, never tried it, just a thought.

Cheers,
Andy

On Sun, Aug 23, 2009 at 11:00 PM, Tony Cappellini<[hidden email]> wrote:

>
> Has anyone here used Open Office Impress- to launch an editor, and have the
> editor open a specific source file?
> I'm actually trying to launch Idle- to view a python file, however I want to
> be able to click on a link in Impress to launch the editor.
>
> The hyperlinks in Impress appear to only support other OO applications, not
> arbitrary applications.
>
>
>
> _______________________________________________
> Baypiggies mailing list
> [hidden email]
> To change your subscription options or unsubscribe:
> http://mail.python.org/mailman/listinfo/baypiggies
>
_______________________________________________
Baypiggies mailing list
[hidden email]
To change your subscription options or unsubscribe:
http://mail.python.org/mailman/listinfo/baypiggies