Forum Replies Created
-
AuthorPosts
-
Monisha Rajendran
MemberCan 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: ‘}’Monisha Rajendran
MemberHi 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
Monisha Rajendran
MemberHi 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………
Monisha Rajendran
MemberHi 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………
January 8, 2020 at 3:30 am in reply to: Script for copying one IND page to another document #14323325Monisha Rajendran
MemberHow 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……
November 18, 2019 at 11:10 pm in reply to: Debug Script: Set Column Size; Add Table Border #14323683Monisha Rajendran
Memberhow 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.
Monisha Rajendran
MemberPlease provide the hyperlink script for linking the text to the particular link…????
Monisha Rajendran
MemberI 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???
Monisha Rajendran
MemberHow 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.
Monisha Rajendran
MemberHi,
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.
-
AuthorPosts
