• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk ObjectARX

    Reply
    Valued Contributor
    maisoui
    Posts: 55
    Registered: ‎12-07-2009
    Accepted Solution

    How to define a help call to a URL (website)?

    230 Views, 3 Replies
    02-25-2013 02:50 AM

    Hi,

     

    I'd like to define a help call for all my commands to my online documentation.In other words, I don't use CHM files, and I'd like to know how use API function acedSetFunHelp with a link to a website and not a CHM?

     

    I also raises the question whether one function will also define the behavior of F1 button in the ribbon?

     

    Regards,

    Jonathan

     

    Please use plain text.
    ADN Support Specialist
    Posts: 162
    Registered: ‎07-24-2007

    Re: How to define a help call to a URL (website)?

    02-28-2013 09:40 AM in reply to: maisoui

    If I remember correctly, calling a Webpage directly is something like this:

     

    acedSetFunHelp(_T("MyCOMMAND"),_T(http://mywebsite.com/MyCommandHelp.htm),_T(""), 0) or

     

    Calling a Webpage directly, with an HTML anchor

     

    acedSetFunHelp(_T("MyCOMMAND"),_T(http://mywebsite.com/MyProductPage.htm),_T("#MyCommandTopic"), 0) or





    Fenton Webb

    Developer Technical Services

    Autodesk Developer Network


    Please use plain text.
    Valued Contributor
    maisoui
    Posts: 55
    Registered: ‎12-07-2009

    Re: How to define a help call to a URL (website)?

    02-28-2013 10:55 PM in reply to: fenton.webb

    Thank you for your interesting answer. I tested with a URL like this : http://www.mywebsite.com/mycommand/mysection and it didn't work. It seems that if the URL ends with .htm, it works. Do you have more details about that?

     

    Another question: Do you know how to tell AutoCAD to use the default browser and not IE?

     

    Regards,

    Jonathan

     

    Please use plain text.
    ADN Support Specialist
    Posts: 162
    Registered: ‎07-24-2007

    Re: How to define a help call to a URL (website)?

    04-08-2013 03:09 PM in reply to: maisoui

    I believe that's a Windows registry entry, not an AutoCAD one...Basically setting the default browser... Google will help with this one for you.





    Fenton Webb

    Developer Technical Services

    Autodesk Developer Network


    Please use plain text.