Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Creating plugin using sample sdk

Return to Member Forum

  • Author
    Posts
    • #1240232

      Hi Professionals,

      While developing our own plugin I have a doubt while calling the javascript functions in C++. Afer calling the javascript funcions inside C++ it provide the output in the form of script alert but I need to get the desired output values in panel.

      Please guide me as soon as possible

    • #1240278
      Kris Coppieters
      Participant

      Hi Monisha,

      The InDesign C++ SDK is not easy to learn. It takes many months or years of learning and experimenting to gain the proficiency needed to accomplish what you want to do. There is no quick answer to your question.

      You might want to consider hiring some help from an experienced InDesign C++ SDK developer.

      There are still a few around (myself included), and you’ll probably be able to get in touch with some them on the Adobe forums, and try to find someone who has some spare time they could give to you.

      Be aware that nothing in this area is easy – there are no ‘5 minute quick fixes’, and the people who know how to do this put a lot of effort into getting to that level. I don’t think any of them will be very keen on doing complex developer support for free.

      P.S. Not sure what your level of proficiency is, but you might get some value out of one of my books. They’re dated now, but most of the info is still quite relevant.

      https://www.lulu.com/shop/kris-coppieters/adobe-indesign-cs3cs4-sdk-programming/paperback/product-5615965.html
      https://www.lulu.com/shop/kris-coppieters/feature-development-for-adobe-indesign-using-extendscript/paperback/product-5615981.html

      Cheers,

      Kris

    • #1240358

      Hi Kris,

      Thanks for your valuable command. While I’m going to have a glance for tour book it shows that the website is under maintenance please provide me the book for my references.

      Regards,

      Monisha

    • #1240388
      Kris Coppieters
      Participant

      Please wait until Lulu completes their maintenance; try again in a few hours or tomorrow. I have no control over that.

    • #1247428

      Can anyone guide me with getting the document name using C++ and I have the attached the code please guide me if it goes wrong.

      IDocument* document = Utils<ILayoutUIUtils>()->GetFrontDocument();
      if (document == nil)
      {
      CAlert::InformationAlert(“no document opened”);
      break;
      }
      else
      {
      IDocument* docname = Utils<ILayoutUIUtils>()->GetFrontDocument();
      // doc = document->GetDocument();
      docname = doc->GetDocumentName();
      CAlert::InformationAlert(“Document opened );
      }

      P.S: In this I have used “IDocument.h” header file but it shows an error listed below

      1>..\..\..ourcedksamples\CustomHttpLinkUI\CustomHttpLinkUIObserver.cpp(178): error C2039: ‘GetDocument’: is not a member of ‘IDocument’
      1>C:\Users\user\Desktopdk 2020dk 2020\plugin_sdk_15.0.0.155 old\pluginource\public\interfacesrchitecture\IDocument.h(37): note: see declaration of ‘IDocument’
      1>..\..\..ourcedksamples\CustomHttpLinkUI\CustomHttpLinkUIObserver.cpp(180): error C2001: newline in constant
      1>..\..\..ourcedksamples\CustomHttpLinkUI\CustomHttpLinkUIObserver.cpp(181): error C2059: syntax error: ‘}’

Viewing 4 reply threads
  • You must be logged in to reply to this topic.
Forum Ads