RE: [Boa Constr] Windows SendTo
Status: Beta
Brought to you by:
riaan
From: Mike C. F. <mcf...@ho...> - 2001-06-14 17:56:18
|
You should find the code to do this stuff somewhere in PythonWin (which does support such second-click reuse of the app). If I'm not mistaken it's implemented using some kind of DDE conversation going on between the app and the system. Since Pythonwin is BSD licensed, you should be able to pull the code out and wrap it into a module. I'd suggest doing that instead of just grafting it into Boa because then you could let any python app use the mechanism. I suspect what happens is that the PythonWin executable checks for other running PythonWin executables then opens an RPC/DDE channel to pass the arguments if they exist. HTH, Mike -----Original Message----- From: boa...@li... [mailto:boa...@li...]On Behalf Of Riaan Booysen Sent: June 14, 2001 13:32 To: po...@or... Cc: Boa Constructor Users Subject: Re: [Boa Constr] Windows SendTo "Patrick K. O'Brien" wrote: > > I tried your suggestion and it works great on the first file when boa is not > already running. But then if you try it on a second file it load a > completely new instance of boa, rather than opening up in the existing boa > application. Anyone know a way around this? No simple ideas. Boa supports drag-drop from the filemanager so just drag subsequent files onto the Editor. -- Riaan Booysen ___________________________________________________ Boa Constructor - RAD GUI building IDE for wxPython http://boa-constructor.sourceforge.net _______________________________________________ Boa-constructor-users mailing list Boa...@li... http://lists.sourceforge.net/lists/listinfo/boa-constructor-users |