1. I've done it Pete

First I downloaded 
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=f1

Then I put it in folder called Help. I put that folder in my EUDIR.

Then I added at line 1084 of eamenus.e:
,{"F1 Jockey",                      M_Help,0,0,0,R(PROC,"F1Jockey"),{""}}

And at line 751 of eaqj.ew I added:

global procedure F1Jockey(sequence name)--I added this
object helpfilepath
integer k, fn
    helpfilepath = getenv("EUDIR")
    if atom(helpfilepath) then
        void = messageBox("Euphoria Manual not found",
                          "EUDIR not set", 0 )
    else
        if length(name) then
            for i=2 to length(lib) by 2 do
                if name[1]<=lib[i] then
                    helpfilepath=getenv("EUDIR")&"/help/F1Jockey.hlp"
                    while 1 do
                        k=find('\\',helpfilepath)
                        if k=0 then exit end if
                        helpfilepath[k]='/'
                    end while
                    fn=open(helpfilepath,"w")
puts(fn,sprintf(redirect,{getenv("EUDIR"),lib[i-1],lib[i],name}))
                    close(fn)
                    exit
                end if
            end for
        else
            -- open the HTML version of refman.doc
            helpfilepath=getenv("EUDIR")&"\\help\\F1Jockey.hlp"
            if atom(dir(helpfilepath)) then
                void = messageBox("Euphoria Manual not found",
                        "F1 Jockey not present in Euphoria directory"&10&13&
                         helpfilepath, 0 )
                return
            end if
        end if

void = shellExecute(NULL, "open", helpfilepath, NULL, NULL,
        SW_SHOWNORMAL)
--      if void=ERROR_FILE_NOT_FOUND then end if --2
    end if
end procedure

Works good,
Don Cole
 A Bug is an un-documented feature.
A Feature is a documented Bug.

new topic     » topic index » view message » categorize

2. Re: I've done it Pete

Hi Don, Pete:

I missed the original post about adding context sensitive help but I thought I'd
mention that with the Euphoria 2.5 CHM that I compiled, I also included a simple
demo of how to call it up from within your programs.  The Help API support is
fairly minimal at this point but I can always enhance it if need be.

Might be worth a look...

-- Brian

new topic     » goto parent     » topic index » view message » categorize

3. Re: I've done it Pete

Brian Broker wrote:
> 
> Hi Don, Pete:
> 
> I missed the original post about adding context sensitive help but I thought
> I'd mention that with the Euphoria 2.5 CHM that I compiled, I also included
> a simple demo of how to call it up from within your programs.  The Help API
> support is fairly minimal at this point but I can always enhance it if need
> be.
> 
> Might be worth a look...
> 
> -- Brian

Hi Brian ,
 I don't know if Pete has seen or even approves of my messing with his Edita.
I just like the Windows style Help Menu with Contents, Index and Find tabs.
So if you want info on printf you just type in pri. I don't know if this
Context Sensitive Help or not. Your program didn't seem to have the Contents,
Index,Find formatt which I prefer when looking up something you forgot while
working with the editor. The HTML format is good if you want to study something
new or that you are unfamiliar with. But for quick Reference you can't beat 
the Windows Help format. This is just my opinion. I don't see why you can't
have both formats in the help menu. Let the user decide which help file he
prefers.

Don Cole
 A Bug is an un-documented feature.
A Feature is a documented Bug.

new topic     » goto parent     » topic index » view message » categorize

4. Re: I've done it Pete

don cole wrote:
> 
> Brian Broker wrote:
> > 
> > Hi Don, Pete:
> > 
> > I missed the original post about adding context sensitive help but I thought
> > I'd mention that with the Euphoria 2.5 CHM that I compiled, I also included
> > a simple demo of how to call it up from within your programs.  The Help API
> > support is fairly minimal at this point but I can always enhance it if need
> > be.
> > 
> > Might be worth a look...
> > 
> > -- Brian
> 
> Hi Brian ,
>  I don't know if Pete has seen or even approves of my messing with his Edita.
> I just like the Windows style Help Menu with Contents, Index and Find tabs.
> So if you want info on printf you just type in pri. I don't know if this
> Context Sensitive Help or not. Your program didn't seem to have the Contents,
> Index,Find formatt which I prefer when looking up something you forgot while
> working with the editor. The HTML format is good if you want to study
> something
> new or that you are unfamiliar with. But for quick Reference you can't beat
> 
> the Windows Help format. This is just my opinion. I don't see why you can't
> have both formats in the help menu. Let the user decide which help file he
> prefers.
> 
> Don Cole

I'm not sure that you understand the capabilites of the CHM help file format. 
My CHM package provides exactly what you are asking as far as I can tell.  If you
could provide me with more details as to what it lacks, then I will fill in the
gaps...  I have yet to have somebody ask me about interfacing with my help file.

What am I missing?
-- Brian

new topic     » goto parent     » topic index » view message » categorize

5. Re: I've done it Pete

Brian Broker wrote:
> 
> don cole wrote:
> > 
> > Brian Broker wrote:
> > > 
> > > Hi Don, Pete:
> > > 
> > > I missed the original post about adding context sensitive help but I
> > > thought
> > > I'd mention that with the Euphoria 2.5 CHM that I compiled, I also
> > > included
> > > a simple demo of how to call it up from within your programs.  The Help
> > > API
> > > support is fairly minimal at this point but I can always enhance it if
> > > need
> > > be.
> > > 
> > > Might be worth a look...
> > > 
> > > -- Brian
> > 
> > Hi Brian ,
> >  I don't know if Pete has seen or even approves of my messing with his
> >  Edita.
> > I just like the Windows style Help Menu with Contents, Index and Find tabs.
> > So if you want info on printf you just type in pri. I don't know if this
> > Context Sensitive Help or not. Your program didn't seem to have the
> > Contents,
> > Index,Find formatt which I prefer when looking up something you forgot while
> > working with the editor. The HTML format is good if you want to study
> > something
> > new or that you are unfamiliar with. But for quick Reference you can't beat
> > 
> > the Windows Help format. This is just my opinion. I don't see why you can't
> > have both formats in the help menu. Let the user decide which help file he
> > prefers.
> > 
> > Don Cole
> 
> I'm not sure that you understand the capabilites of the CHM help file format.
>  My CHM package provides exactly what you are asking as far as I can tell. 
> If you could provide me with more details as to what it lacks, then I will
> fill
> in the gaps...  I have yet to have somebody ask me about interfacing with my
> help file.
> 
> What am I missing?
> -- Brian

Let me re-phrase...  The CHM format *can* provide that support.  However, I'll
probably have to download Edita to prove it.  If somebody wants to use my chm and
help api to do it then let me know because then I'll probably just let you do it.

I still think I'm missing something here so I guess it's time to d/l edita.

-- Brian

new topic     » goto parent     » topic index » view message » categorize

6. Re: I've done it Pete

Brian Broker wrote:
> 
> Brian Broker wrote:
> > 
> > don cole wrote:
> > > 
> > > Brian Broker wrote:
> > > > 
> > > > Hi Don, Pete:
> > > > 
> > > > I missed the original post about adding context sensitive help but I
> > > > thought
> > > > I'd mention that with the Euphoria 2.5 CHM that I compiled, I also
> > > > included
> > > > a simple demo of how to call it up from within your programs.  The Help
> > > > API
> > > > support is fairly minimal at this point but I can always enhance it if
> > > > need
> > > > be.
> > > > 
> > > > Might be worth a look...
> > > > 
> > > > -- Brian
> > > 
> > > Hi Brian ,
> > >  I don't know if Pete has seen or even approves of my messing with his
> > >  Edita.
> > > I just like the Windows style Help Menu with Contents, Index and Find
> > > tabs.
> > > So if you want info on printf you just type in pri. I don't know if this
> > > Context Sensitive Help or not. Your program didn't seem to have the
> > > Contents,
> > > Index,Find formatt which I prefer when looking up something you forgot
> > > while
> > > working with the editor. The HTML format is good if you want to study
> > > something
> > > new or that you are unfamiliar with. But for quick Reference you can't
> > > beat
> > > 
> > > the Windows Help format. This is just my opinion. I don't see why you
> > > can't
> > > have both formats in the help menu. Let the user decide which help file he
> > > prefers.
> > > 
> > > Don Cole
> > 
> > I'm not sure that you understand the capabilites of the CHM help file
> > format.
> >  My CHM package provides exactly what you are asking as far as I can tell. 
> > If you could provide me with more details as to what it lacks, then I will
> > fill
> > in the gaps...  I have yet to have somebody ask me about interfacing with my
> > help file.
> > 
> > What am I missing?
> > -- Brian
> 
> Let me re-phrase...  The CHM format *can* provide that support.  However, I'll
> probably have to download Edita to prove it.  If somebody wants to use my chm
> and help api to do it then let me know because then I'll probably just let you
> do it.
> 
> I still think I'm missing something here so I guess it's time to d/l edita.
> 
> -- Brian

I'm sorry Brian ,
I didn't study your CHM long enough.
I DOES have the feature I like. After clicking [Get Help] in the Index tab 
(but not the Find tab).
That is being able to type in only a couple of letters (not the whole word)
and look at list of posibilities as you type each letter.

It would be easy to interface your CHM with Edita buy follow the instructions 
I posteda couple of post back. By substituting 'helpAPI.exe' for 
'F1Jockey.hlp'.

Don Cole
 A Bug is an un-documented feature.
A Feature is a documented Bug.

new topic     » goto parent     » topic index » view message » categorize

7. Re: I've done it Pete

I would like to point out that I did NOT get permission from
Pele Lomax to use his Edita,
Brian Broker for his euchm2.5 or
Dan Everingham for his F1Joiner.

I thought it was ok to use them (for my own use) because they are all in the
Archive. I was posting instructions on how to integrate so other people
could do it *For thier own use with Euphoria*. I am not commercially using
any of the above files.

Don Cole
 A Bug is an un-documented feature.
A Feature is a documented Bug.

new topic     » goto parent     » topic index » view message » categorize

8. Re: I've done it Pete

On Thu, 19 Jan 2006 07:42:13 -0800, don cole <guest at RapidEuphoria.com>
wrote:

>posted by: don cole <doncole at pacbell.net>
>
>I would like to point out that I did NOT get permission from
>Pele Lomax to use his Edita,
>Brian Broker for his euchm2.5 or
>Dan Everingham for his F1Joiner.
>
>I thought it was ok to use them (for my own use) because they are all in the
>Archive. I was posting instructions on how to integrate so other people
>could do it *For thier own use with Euphoria*. I am not commercially using
>any of the above files.

I would also like to point out that I have been away most of the week.
Consequently I'm behind on alot of stuff...

Regards,
Pete

new topic     » goto parent     » topic index » view message » categorize

9. Re: I've done it Pete

Pete Lomax wrote:
> 
> On Thu, 19 Jan 2006 07:42:13 -0800, don cole <guest at RapidEuphoria.com>
> wrote:
> 
> >posted by: don cole <doncole at pacbell.net>
> >
> >I would like to point out that I did NOT get permission from
> >Pele Lomax to use his Edita,
> >Brian Broker for his euchm2.5 or
> >Dan Everingham for his F1Joiner.
> >
> >I thought it was ok to use them (for my own use) because they are all in the
> >Archive. I was posting instructions on how to integrate so other people
> >could do it *For thier own use with Euphoria*. I am not commercially using
> >any of the above files.
> 
> I would also like to point out that I have been away most of the week.
> Consequently I'm behind on alot of stuff...
> 
> Regards,
> Pete
> 
> 


http://www.listfilter.com/EUforum/m5479.html

Don Cole
 A Bug is an un-documented feature.
A Feature is a documented Bug.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu