Back

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

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • in reply to: Creating plugin using sample sdk #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: ‘}’

    in reply to: Creating plugin using sample sdk #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

    in reply to: Swapping Pages #12343138

    Hi Everyone,

    I have two documents opened in InDesign with the different document names and stored in different folders (locations). Now I want to swap their contents, leaving the names and locations the same? So that I need a script.

    Please do guide on this………

    in reply to: Simple script to open and save file #12343125

    Hi everyone,
    I need a script to preview the document before the document gets open after previewing the whole document the user can restore the particular document…???? Please provide me some suggestion for getting the contents of the document…

    Please do guide on this………

    in reply to: Script for copying one IND page to another document #14323325

    How to duplicate the entire document? After completing the duplication we must display the details of the duplicated document. Please suggest some script to complete this particular action……

    in reply to: Debug Script: Set Column Size; Add Table Border #14323683

    how to assign the hyperlink for one attribute to another attribute using jsx. For example code_link attribute has an hyper link while pressing the code attribute value it want to move to the link site. What i want to do in code.

    in reply to: Script To Create All Hyperlinks at Once?? #14323733

    Please provide the hyperlink script for linking the text to the particular link…????

    in reply to: Imported images not showing up #14323808

    I have made changes in xml and then update the document the changes is done but the image doesn’t display after update. What to do???

    in reply to: Add undo to your script revisited #14323958

    How to change the functionalities of SDK and UI to develop a new plug-in from the existing plug-ins..???

    And please help me with JavaScript code for undo and redo history for multiple times.

    in reply to: Hide selection #14324065

    Hi,

    I can’t able to see the text behind the images when the script flows. At the same time I had found an issue that there is more space is placed between the image. So please give me the solution for displaying the text over the image and spacing issue after the image is placed.

Viewing 10 posts - 1 through 10 (of 10 total)