1. Re: edita 0.1.6/WM_COPYDATA experts?
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> May 25, 2005
- 412 views
- Last edited May 26, 2005
HI, Can anyone on EUforum help me with this? The 4-line code below (plus my eama.ew) is returning rubbish on XP. It works fine on win98. You need to have edita running, and then run this. Regards, Pete On Wed, 25 May 2005 12:45:31 -0500, Michael Bolin <mbolin at highstream.net> wrote: >Here's the ex.err file. I'm trying to open Window Painter while editing >c:\euphoria\testingide\ide.exw. Hope this provides some illumination. Can you try this:
include eama.ew constant FileName=getCurrentFile() printf(1,"Editing \"%s\"",{FileName}) if getc(0) then end if
(eama.ew is included in the "plus" and "source" releases) For some reason it seems to get "Edita - C:\euphoria\testingide" on your machine; it gets "C:\euphoria\testingide\ide.exw" here. Michael replied: >Sorry, I don't quite understand. Do you want me to run this code as >its own file? If so, it just prints ' Editing "" '. If not , please >explain. Thanks! Yes, Michael, you did exactly what I wanted you to; as it works consistently fine here, but not for you, I have to ask for help. Regards, Pete