Quantcast
Channel: Adobe Community : Popular Discussions - InDesign SDK
Viewing all 78596 articles
Browse latest View live

InDesign CC 2017 closeExtension() does NOT work properly.

$
0
0

Hello all InDesign experts.

We have an HTML/JS Extension since version CC 2014 (or CSXS 5), which works also just fine for CC 2015.

In this we have some progress panels to show processing percentage. As all steps are finished, the panels are closed programmatically with: CSInterface.prototype.closeExtension().

All functional on CC 2014 and 2015.

 

BUT as we switched to CC 2017 this function does NOT work as expected any more. It does clean all contents within the panel, but the empty panel frame kept shown until the user clicks "x".

FURTHERMORE a panel is not closed completely via closeExtension() when it's defined as <UI><Type>Panel</Type>... </UI> in manifest.

If the type is changed to <Type>ModalDialog</Type>, the function closes the whole panel as it used to be.

We tried CSXS 5, 6 and 7, all act the same.

Anyone else is facing/faced the same problem and can give us some information how can we fix this?

Thx a lot.


FormatNames supported by the IExportProvider

$
0
0

Does someone have the list (or could tell me where to find it) of all the supported formats of the IExportProvider?

 

I only found the InCopyMarkup and InCopyInterchange but I need the InDesign Markup Language.

 

I also try

 

               PMString icDocumentFormatName("InDesign Markup (IDML)");

                PMString icDocumentFormatName3("InDesignMarkup");

                PMString icDocumentFormatName4("InDesignMarkup (IDML)");

                PMString icDocumentFormatName5("InDesignMarkupLanguage");

                PMString icDocumentFormatName6("InDesign Markup Language");

                PMString icDocumentFormatName7("IDML");

 

                PMString icDocumentFileExtension (f.GetExtensionForFormatName(icDocumentFormatName));

                PMString icDocumentFileExtension3 (f.GetExtensionForFormatName(icDocumentFormatName3));

                PMString icDocumentFileExtension4 (f.GetExtensionForFormatName(icDocumentFormatName4));

                PMString icDocumentFileExtension5 (f.GetExtensionForFormatName(icDocumentFormatName5));

                PMString icDocumentFileExtension6 (f.GetExtensionForFormatName(icDocumentFormatName6));

                PMString icDocumentFileExtension7 (f.GetExtensionForFormatName(icDocumentFormatName7));

 

but all return an empty string.

Change the background color of tree nodes

$
0
0

I'm trying to change background color of  tree nodes but get stuck with the following codes:

But the codes for custom drawing mess up with the others. Simply, the nodes are not added.

 

 

Pls  kindly suggest me what to do or  give me some infos to do this. Thanks in advance!

(I  searched the  forum and the answer seems to be here but points to broken link.)

 

 

////////////////////Resource //////////////////////////

Class

    {

        kMyPnlNodeWidgetBoss,

        kTreeNodeWidgetBoss,

        {

            IID_IOBSERVER,  kMyPnlNodeObserverImpl,

            IID_IEVENTHANDLER,  kMyPnlTrvNodeEHImpl,

            IID_IPNLTRVSHADOWEVENTHANDLER,  kTreeNodeEventHandlerImpl,

            IID_IDRAGDROPSOURCE,  kMyPnlTrvDragDropSourceImpl,

            IID_IDRAGDROPTARGET, kMyPnlTrvDragDropTargetImpl,

           IID_ICONTROLVIEW,   kMyPnlTreeViewCtrlViewImpl, // <-----This mess up tree node 

        }

    },

 

////////////////////class & Implementation -kMyPnlTreeViewCtrlViewImpl.cpp-  //////////////////////////

class DBPnlTrvDraw: public DVTreeNodeControlView

{

public:

    DBPnlTrvDraw(IPMUnknown* boss);

    virtual ~DBPnlTrvDraw() {}

     void  DV_Draw(dvaui::drawbot::Drawbot* drawbotP);

private:

   

};  

 

CREATE_PMINTERFACE(DBPnlTrvDraw, kMyPnlTreeViewCtrlViewImpl)

 

DBPnlTrvDraw::DBPnlTrvDraw(IPMUnknown* boss) : DVTreeNodeControlView(boss)

{

}

 

void DBPnlTrvDraw::DV_Draw(dvaui::drawbot::Drawbot* drawbotP)

{

    DVControlView::   DV_Draw(drawbotP);  

}

Not adding menu item 'MenuName' because it has been suppressed by the IMenuCustomizationData

$
0
0

Hi!

 

I inserted a new new popup menu item before the last popup menu item.

I definied the new menuitem on the standard way and I don't understand why hided always this menu item?  ... and why only this menu item?

Before I never had problem with menu definitions. 

 

I get always

1.png

.. but it should be

2.png

 

Declaration in the header file:

DECLARE_PMID(kActionIDSpace, kPnlTrvDownloadOutputTemplateActionId, kPnlTrvPrefix + 53)

 

Definitions in the .fr file:

// Set as root node template with component
kPnlTrvSetAsRootNodeActionID,
kPnlTrvComponentTreeMenuPath,
7.0,
kSDKDefIsNotDynamicMenuFlag,

// Download template
kPnlTrvDownloadOutputTemplateActionId,
kPnlTrvComponentTreeMenuPath,
8.0,
kSDKDefIsNotDynamicMenuFlag,

DKDefIsNotDynamicMenuFlag, 

 

//Set as root node
kPnlTrvActionComponentBoss, 
kPnlTrvSetAsRootNodeActionID,
kPnlTrvSetAsRootNodeKey, // Key to the name of this action
kOtherActionArea,
kNormalAction,
kCustomEnabling,
0,
kFalse,

kPnlTrvActionComponentBoss, 
kPnlTrvDownloadOutputTemplateActionId,
kPnlTrvDownloadOutputTemplateKey, // Key to the name of this action
kOtherActionArea,
kNormalAction,
kCustomEnabling,
0,
kFalse,

// Update selected OutputTemplate

 

I traced Menubuild action and I got:

BuildListOfUpdatedMenuItems for menu ComponentTree:HelpNode:RtMouseDefault, found 10 items

Found 0 dynamic menu items

BuildListOfSubmenus for menu ComponentTree:HelpNode:RtMouseDefault, found 1 possible submenus

Not adding menu item 'Download selected template' because it has been suppressed by the IMenuCustomizationData

 

Which parameter can generate this fail.

 

I used before IMenuCustomizationData.h header file but i deleted the all references and doublechecked it.

I cleaned application and rebuilded again but not helped.

 

 

Thanks in advance

Regards

Karoly

Commands in Indesign Plugin

$
0
0

Hi

I am new in indesign plugin. i am not cleared about commands in indesign plugin. pls explain what is commands and how to create and use the commands.

 

Thanks

Indesign SDK - Document based Persistent

$
0
0

Hi Friends,

 

     I am new for "indesign SDK" Plugin development. Is there any example for document based persistent?

 

Thanks in advance.

Need new prefix ID for my plugin

$
0
0

I was developing the plugin using the prefix-ID from the sample plugins. This some times leads to error while loading the plugin in InDesign if another plugin with the same prefix ID is present in the plugins folder.

 

I found a link to raise request for the Prefix ID but seems like it's a dead link now.

http://partners.adobe.com/public/developer/indesign/register/prefix_reg.do

 

Can some one tell how can we get the prefix ID from Adobe now? I tried looking but did not find any other link for this.

Reset an InterfacePtr to close the document

$
0
0

Hello,

 

I'm trying to close a document after using the IExportProvider (to export it as IDML)

 

But It crashes when using the Close function from IDocFileHandler.

 

I already know that I need to reset the IDoc pointer (to avoid the issue) but I don't know how to do that.

 

I tried with iDocument -> Release()  (it partially works beause the document close but then I got a exception about the release)

 

 

What is the correct form to reset the InterfacePtr<IDocument>? (for SDK CS6, CS5.5 and CS5)


InDesign Crash issue with Help Search (Mac only)

$
0
0

I am running into a very strange InDesign crash issue on Mac. More details below, could you please provide guidance on how to move forward to resolve the crash issue?

 

OS version: macOS 10.12 (Occurs on any mac version)

InDesign version: CC 2017.1

 

Issue Description:

When I access and type into the Search field in InDesign Help Menu on Mac, the tool crashes.  And it specifically happens when I have my custom plug-ins also at work. What I fail to understand is how these two functionalities are related at all.

 

The below is fine. I don’t have a page opened, so my plug-in is not at work.

Screen Shot 2017-10-26 at 5.49.08 PM.png

 

Below does not work. I have a page opened that invokes my plug-ins code. As soon as I type a letter in the Search field of Help menu, the tool crashes. Below is the

crash trace.

 

Screen Shot 2017-10-26 at 6.07.38 PM.png

Process:               Adobe InDesign CC 2017 [4504]

Path:                  /Applications/Adobe InDesign CC 2017/Adobe InDesign CC 2017.app/Contents/MacOS/Adobe InDesign CC 2017

Identifier:            com.adobe.InDesign

Version:               12.1.0.56 (12100)

Code Type:             X86-64 (Native)

Parent Process:        ??? [1]

Responsible:           Adobe InDesign CC 2017 [4504]

User ID:               502

 

Date/Time:             2017-10-26 17:18:50.201 +0530

OS Version:            Mac OS X 10.12.2 (16C67)

Report Version:        12

Anonymous UUID:        4961DFCF-41D6-C790-3C34-8EEF0D77643F

 

 

Time Awake Since Boot: 3600 seconds

 

System Integrity Protection: enabled

 

Crashed Thread:        0 Dispatch queue: com.apple.main-thread

 

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)

Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000

Exception Note:        EXC_CORPSE_NOTIFY

 

Termination Signal:    Segmentation fault: 11

Termination Reason:    Namespace SIGNAL, Code 0xb

Terminating Process:   exc handler [0]

 

VM Regions Near 0:

-->

    __TEXT 0000000103383000-000000010338d000 [ 40K] r-x/rwx SM=COW /Applications/Adobe InDesign CC 2017/Adobe InDesign CC 2017.app/Contents/MacOS/Adobe InDesign CC 2017

 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread

0   com.adobe.InDesign.Assignment UI  0x000000010eefc5fd 0x10eec9000 + 210429

1   com.adobe.InDesign.Assignment UI  0x000000010eefbb64 0x10eec9000 + 207716

2   com.adobe.InDesign.Assignment UI  0x000000010eef9b0e 0x10eec9000 + 199438

3   com.adobe.InDesign.Assignment UI  0x000000010eef9a8b 0x10eec9000 + 199307

4   com.adobe.InDesign.Actions               0x0000000111fe5411 0x111fd0000 + 87057

5   com.adobe.InDesign.Actions               0x0000000111feef20 0x111fd0000 + 126752

6   com.adobe.InDesign.Actions               0x0000000111fe9f9f 0x111fd0000 + 106399

7   com.adobe.InDesign.Actions               0x0000000111fede7b 0x111fd0000 + 122491

8   com.adobe.InDesign.Actions               0x00000001120119c8 0x111fd0000 + 268744

9   com.adobe.InDesign.Application UI   0x000000011244b38a 0x1122bb000 + 1639306

10  com.adobe.dvacore.framework          0x0000000103eeb5fc int dvacore::config::ErrorManager::ExecuteFunction<void>(boost::function0<void>*, void*) + 28

11  com.adobe.InDesign.Application UI  0x000000011243e7a2 0x1122bb000 + 1587106

12  com.adobe.dvacore.framework          0x0000000103eeb6b3 void dvacore::config::ErrorManager::ExecuteFunctionWithTopLevelExceptionHandler<void>(boost::f unction0<void>, bool*) + 99

13  com.adobe.dvacore.framework          0x0000000103eec2f0 void dvacore::config::ExecuteTopLevelFunction<void>(boost::function0<void>, bool*) + 160

14  com.adobe.exo.framework                 0x00000001061a68cc exo::app::OS_AppBase::SetResetMenuShortcutsOnClose(bool) + 3084

15  com.apple.AppKit                    0x00007fff8998880e -[NSMenu _populateFromDelegateWithEventRef:] + 334

16  com.apple.AppKit                    0x00007fff89985129 -[NSMenu _populateWithEventRef:] + 84

17  com.apple.AppKit                    0x00007fff89987965 -[NSCarbonMenuImpl _carbonPopulateEvent:handlerCallRef:] + 468

18  com.apple.AppKit                    0x00007fff8998769b NSSLMMenuEventHandler + 1093

19  com.apple.HIToolbox              0x00007fff8b228b85 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1708

20  com.apple.HIToolbox              0x00007fff8b227df6 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 428

21  com.apple.HIToolbox              0x00007fff8b227c3f SendEventToEventTargetWithOptions + 43

22  com.apple.HIToolbox              0x00007fff8b26fe59 SendMenuPopulate(MenuData*, OpaqueEventTargetRef*, unsigned int, double, unsigned int, OpaqueEventRef*, unsigned char, unsigned char*) + 320

23  com.apple.HIToolbox              0x00007fff8b29c1b3 SendMenuOpening(MenuSelectData*, MenuData*, double, unsigned int, unsigned int, __CFDictionary*, unsigned char, unsigned char*) + 305

24  com.apple.HIToolbox              0x00007fff8b3ce0ae _SimulateMenuOpening + 124

25  com.apple.shortcut                  0x00007fff9d4e6936 -[SCTGRLIndex indexCarbonMenu:withParentMenu:resultGRLs:isRootMenu:systemHelpMenu:withDepth:] + 1095

26  com.apple.shortcut                  0x00007fff9d4e6973 -[SCTGRLIndex indexCarbonMenu:withParentMenu:resultGRLs:isRootMenu:systemHelpMenu:withDepth:] + 1156

27  com.apple.shortcut                  0x00007fff9d4e6973 -[SCTGRLIndex indexCarbonMenu:withParentMenu:resultGRLs:isRootMenu:systemHelpMenu:withDepth:] + 1156

28  com.apple.shortcut                  0x00007fff9d4e6435 -[SCTGRLIndex indexMenuBar:] + 163

29  com.apple.shortcut                  0x00007fff9d4e61ae -[SCTSearchManager updateGRLIndex] + 102

30  com.apple.shortcut                  0x00007fff9d4e7fbe -[SCTSearchManager performSearch] + 108

31  com.apple.CoreFoundation                0x00007fff8bcdaa6c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12

32  com.apple.CoreFoundation                0x00007fff8bcda96b _CFXRegistrationPost + 427

33  com.apple.CoreFoundation                0x00007fff8bcda6d2 ___CFXNotificationPost_block_invoke + 50

34  com.apple.CoreFoundation                0x00007fff8bc97d63 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1827

35  com.apple.CoreFoundation                0x00007fff8bc96d9c _CFXNotificationPost + 604

36  com.apple.Foundation             0x00007fff8d6bda37 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66

37  com.apple.CoreFoundation                0x00007fff8bcdaa6c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12

38  com.apple.CoreFoundation                0x00007fff8bcda96b _CFXRegistrationPost + 427

39  com.apple.CoreFoundation                0x00007fff8bcda6d2 ___CFXNotificationPost_block_invoke + 50

40  com.apple.CoreFoundation                0x00007fff8bc97d63 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1827

41  com.apple.CoreFoundation                0x00007fff8bc96d9c _CFXNotificationPost + 604

42  com.apple.Foundation             0x00007fff8d6bda37 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66

43  com.apple.AppKit                    0x00007fff89991e4b -[NSTextView(NSSharing) didChangeText] + 345

44  com.apple.AppKit                    0x00007fff8998eec1 -[NSTextView insertText:replacementRange:] + 3468

45  com.apple.AppKit                    0x00007fff8998dcb7 -[NSTextInputContext(NSInputContext_WithCompletion) insertText:replacementRange:completionHandler:] + 79

46  com.apple.AppKit                    0x00007fff8a1c14af __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2.379 + 108

47  com.apple.AppKit                    0x00007fff8998dc60 -[NSTextInputContext do_HandleTSMEvent_insertFixLenTextLoop:whileCondition:dispatchWorkEach:afterEachInsertTex t:continuation:] + 111

48  com.apple.AppKit                    0x00007fff8a1bf354 -[NSTextInputContext tryHandleTSMEvent_insertFixLenText_withContext:dispatchCondition:setupForDispatch:nestedW orkaroundCondition:nestedWorkaroundDispatchWork:loopCondition:dispatchWorkEach:afterEachIn sertText:continuation:] + 387

49  com.apple.AppKit                    0x00007fff8a1c1083 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke.314 + 4105

50  com.apple.AppKit                    0x00007fff8998d8e5 __55-[NSTextInputContext handleTSMEvent:completionHandler:]_block_invoke_2 + 80

51  com.apple.AppKit                    0x00007fff8998d864 -[NSTextInputContext tryHandleTSMEvent_HasMarkedText_withDispatchCondition:dispatchWork:continuation:] + 93

52  com.apple.AppKit                    0x00007fff8998d24f -[NSTextInputContext handleTSMEvent:completionHandler:] + 2221

53  com.apple.AppKit                    0x00007fff8998c933 _NSTSMEventHandler + 321

54  com.apple.HIToolbox              0x00007fff8b228b85 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1708

55  com.apple.HIToolbox              0x00007fff8b227df6 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 428

56  com.apple.HIToolbox              0x00007fff8b227c3f SendEventToEventTargetWithOptions + 43

57  com.apple.HIToolbox              0x00007fff8b27f096 SendTSMEvent_WithCompletionHandler + 408

58  com.apple.HIToolbox              0x00007fff8b27f570 __SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler_block_invoke + 400

59  com.apple.HIToolbox              0x00007fff8b27f3d1 __SendFilterTextEvent_WithCompletionHandler_block_invoke + 215

60  com.apple.HIToolbox              0x00007fff8b27f0e7 SendTSMEvent_WithCompletionHandler + 489

61  com.apple.HIToolbox              0x00007fff8b27eed1 SendFilterTextEvent_WithCompletionHandler + 236

62  com.apple.HIToolbox              0x00007fff8b27eb92 SendUnicodeTextAEToUnicodeDoc_WithCompletionHandler + 284

63  com.apple.HIToolbox              0x00007fff8b27e948 __utDeliverTSMEvent_WithCompletionHandler_block_invoke_2 + 296

64  com.apple.HIToolbox              0x00007fff8b27e7ee __utDeliverTSMEvent_WithCompletionHandler_block_invoke + 439

65  com.apple.HIToolbox              0x00007fff8b27e5b4 TSMKeyEvent_WithCompletionHandler + 632

66  com.apple.HIToolbox              0x00007fff8b27e303 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_4 + 251

67  com.apple.HIToolbox              0x00007fff8b27e130 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_3 + 281

68  com.apple.HIToolbox              0x00007fff8b27de46 __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke_2 + 308

69  com.apple.HIToolbox              0x00007fff8b27db7d __TSMProcessRawKeyEventWithOptionsAndCompletionHandler_block_invoke + 300

70  com.apple.HIToolbox              0x00007fff8b27d0ed TSMProcessRawKeyEventWithOptionsAndCompletionHandler + 3604

71  com.apple.AppKit                    0x00007fff8a1c7a8d __84-[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:]_block_invoke.1077 + 116

72  com.apple.AppKit                    0x00007fff8a1c6d45 __204-[NSTextInputContext tryTSMProcessRawKeyEvent_orSubstitution:dispatchCondition:setupForDispatch:furtherConditi on:doubleSpaceSubstitutionCondition:doubleSpaceSubstitutionWork:dispatchTSMWork:continuati on:]_block_invoke.1003 + 121

73  com.apple.AppKit                    0x00007fff8a1c6baf -[NSTextInputContext tryTSMProcessRawKeyEvent_orSubstitution:dispatchCondition:setupForDispatch:furtherConditi on:doubleSpaceSubstitutionCondition:doubleSpaceSubstitutionWork:dispatchTSMWork:continuati on:] + 285

74  com.apple.AppKit                    0x00007fff8a1c74d7 -[NSTextInputContext _handleEvent:options:allowingSyntheticEvent:completionHandler:] + 1515

75  com.apple.AppKit                    0x00007fff8a1c6a1e -[NSTextInputContext _handleEvent:allowingSyntheticEvent:] + 114

InDesign scripting guide scripts invalid link

Open new document LayoutWindow automatically opening libraries has closed in last document AFTER CC2015.2

$
0
0

There's a bug in my company software.

After all, I find after we use ILibrary.Close(or "ILibraryCmdUtils.ScheduleLibraryCloseLibCmd" or "CmdUtils.ProcessCommand(ILibraryCmdUtils.CreateLibraryCloseLibCmd)") to close the used libraries, it's really closed. Then the document closed, there has no opened document, but when new document has been opened, these libraries then autoly opened again. Only in InDesign versions after CC2015.2.

Can any help? Dose anybody know how to fix it?

Text in cell get wrong IsOverSet result after InDesgin CS5.5

$
0
0

Our company has developed a software on InDesign, and there is a bug about text adjust in table cell.

After some research, we found the real reason is the wrong detection of Text OverSet.

For a big table which will take more than one page, after 70th row, for text in cell, whether use parcel.isValid or IsOverSet, it gets the wrong result, that the parcel is overset when in expect the text has been changed small enough to stay in the cell.

The table row is added one by one programmly, and we use things such as "iSetXScaleCmd", "iSetYScaleCmd" to change the text step by step, once by a decrement set on UI. When it is small enough in it's cell, I detected the result to ensure that, but the program still think it is overset.

As said in the title, this phenomenon dosenot exist in InDesign CS5.5. So I thought there's may anything changed after CS5.5 or the program has any wrong usage.

For I could't make it out, Is there any assistance for me? Thank you

Cells are too small to Split error on Update-Reg

$
0
0

Hi,

 

I tried to update a InDesign Document and get message as 'Cells are too small to split'.So that I am unable to update my document.I could not find the reason.Can anyone guide me why this error shows.

 

Thanks and Regards,

Revathi

Interactive elements

$
0
0

Hello!

 

Is there some way (using SDK of InDesign) to get the texts (that you can see in "Buttons and Forms panel") from Interactive elements WITHOUT selecting the objects??

 

Thank you very much in advance.

 

Rocío.

how solve :'System.__ComObject' to interface type 'InDesign.Application'.

$
0
0

i want to excute code C# indesign. But there is a warning.:

Additional information: Unable to cast COM object of type 'System.__ComObject' to interface type 'InDesign.Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{ABD4CBB2-0CFE-11D1-801D-0060B03C02E4}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

this is warning picture :

8888.JPG


Problem porting CS5.5 to CS6

$
0
0

Hello

I run into a problem when I try to port a CS5.5 plugin to CS6. I get the following error message:

 

>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(108,5): error MSB3073: The command "merge_res.cmd "..\objR\ColormanLite\"  ColormanLite  & echo Deleting old resources... & del /f /s "C:\Users\Laidback\Documents\Adobe InDesign CS6 Plugin SDK\build\win\objR\ColormanLite\(ColormanLite Resources)\"*.idrc > ..\objR\ColormanLite\prevDeletedResources.txt & xcopy /Q /E "..\objR\ColormanLite\"*.idrc "C:\Users\Laidback\Documents\Adobe InDesign CS6 Plugin SDK\build\win\objR\ColormanLite\(ColormanLite Resources)\" /Y

1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(108,5): error MSB3073: :VCEnd" exited with code 4.

 

Does anyone know how to fix this problem.

 

Best regards

/ Pontus

How to load ".pln" plugin in indesign

$
0
0

Hi everyone,

 

 

     I have created a plugin using DollyXs " DollyTest.pln " and copied the plugin with its supporting files in the Adobe indesin plugin directory.

But when I launch the indesign it gives the error- " Adobe Indesign cannot load the DollyTest plugin ". I have attached the screenshot of the error dialog. Anyone please tell me how to run the plugin that I have created.

 

Thanks,

Ranjan Singh

plugin error.jpg

Problem in creating dialog (IDialog::CreateNewDialog)

$
0
0

Hi All,

 

When trying to create a dialog as follows:

 

IDialog* dialog = dialogMgr->CreateNewDialog(dialogSpec, IDialog::kMovableModal)

 

I get the following two asserts subsequently when the above line is executed in InDesign CS5 debug version:

 

assert1->

WWindow::OpenWindow - fWindowPtr is not NULL

..\..\..\source\private\windows\WWindow.cpp (358)

 

assert2 following the above->

AddDependency: Dependency already exists for observer kApplicationObserverImpl attaching to subject kMovableModalWindowBoss with IID IID_IOBSERVER listening to IID IID_IWindow

..\..\..\source\components\appframework\messaging\CChangeManager.cpp (258)

 

 

The dialog is not shown at all. Dialog resources have been defined correctly.

 

What could be the reason for the above two asserts, due to which my dialog is not shown?

Can anyone figure it out?

Extension accessing Plugin

$
0
0

Hello,

 

We have created an Extension using FlashBuilder. We have also created a plugin that exposes is functionality to scripting. We would now like to use this functionality from our Extension.

 

Is this possible?

 

Thanks.

 

P.

Where to download InDesign CC debug version?

$
0
0

After finally having access to the InDesign CC SDK I am now presented with the problem of debugging a built plugin. Where can i get the InDesign CC (9.2 specifically) debug version?

Viewing all 78596 articles
Browse latest View live