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

"Plug-in is either missing plug-in resource or ..." under VS2015 in Debug/x64 mode

$
0
0

I'm trying to run example: BasicDialog.

It is compiling in Debug/x64 mode by VS2015 and run with Adobe InDesign CC Debug Build 9.2(Win 64) WIN

It is last version of Indesign CC Debug downloaded from "Technology Partner Software Downloads" website.


VS2015 version:

Microsoft Visual Studio Enterprise 2015, Version 14.0.24720.00 Update 1

 

I get assert error:

 

"BASICDIALOG.SDK.PLN" Plug-in is either missing plug-in resource or the Model/UI attribute is not specified in PlugIn Version resource!

..\..\..\source\omlib\plugins\PlugInList.cpp (771)


This is my output:

1>  Performing Custom Build Tools

1>  ODFRC deleting old resources...

1>  merge_res.cmd - calling ConcatRes

1>          1 file(s) copied.

1>  ConcatRes skipped since ".\..\objDx64\BasicDialog"\BscDlg.fres is an empty file.

1>  merge_res.cmd done.

1>  Deleting old resources...

1>  18 File(s) copied

1>     Creating library ..\..\..\build\win\objDx64\BasicDialog/BasicDialog.lib and object ..\..\..\build\win\objDx64\BasicDialog/BasicDialog.exp

1>  BasicDialog.sdk.vcxproj -> C:\Indesign SDK\plugin_sdk_072_20150618\plugin\build\win\prj\..\debugx64\SDK\BasicDialog.sdk.pln

1>          1 file(s) copied.

1>  restore_res.cmd done.

========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========


In Release/x64 mode and Adobe InDesign CC 2015 everything is OK.


Where is problem?


error LNK1181: cannot open input file '..\..\..\build\win\objR\PMRuntime.lib'

$
0
0

I create a new Plugin,

But occur error LNK1181: cannot open input file '..\..\..\build\win\objR\PMRuntime.lib'

Why?

Plugin menu disappears.

$
0
0

I've build the InDesign plugin (32 bit) which works perfectly fine,

but when I build the same source code for 64 bit the plugin menu disappears even after successful build.

I don't understand what could be the reason behind.

Thanks.

64bit plugin menu is not visible (in Indesign cc 64bit)

$
0
0

I took sdksample "PictureIcon" and build the same in 64bit , When running indesign cc I noticed that this plugin is not there.

I've copied all resources and plugin files to correct folders.

Any idea where this plugin went?

Prevent automatic closing of panel

$
0
0

Hi,

 

My InDesign plugin has a panel.

I open it when InDesign has started.

Then I open a document, the panel is closed and I have to reopen it again from the Window menu.

Can I somehow prevent the panel from being closed when a document is opened? Is this default InDesign behavior?

Thanks.

Indesign Cs6 debug Version

$
0
0

Hello, I am a novice and would like to try my own Indesign CS6 Plugin

Download the official Aode SDK with Sample Plugin

Attempt to add Indesign use, but the message appears to require InDesign debug version

There are no answers when searching online. Is it my mistake?

I use Indesign CS6 and Visual Studio 2013

Do you need a version of the debug version to write it, if it can be downloaded or purchased from there?

Changing $(ID_SDK_DIR)

$
0
0

This might be a stupid question because I feel I have missed something obvious, but anyway: Where can I change $(ID_SDK_DIR)? Right now it's pointing to E:\SDK\plugin but needs to be E:\SDK\plugin_sdk_076\plugin.

 

Can anyone point me to the place where I can find/change the definition?

 

EDIT: $(ID_SDK_DIR) is of course the macro name in Visual Studio. I'm looking to change what is referenced as <SDK> in the "Getting Started with InDesign Development" doc in the InDesign SDK.

 

Thank you very much.

 

Hans

How to add Custom menus in InDesign CC

$
0
0

Hi

 

I need assistance to start with own custom menus with actions in InDesign CC.

 

Suitable IDE for development of PlugIns and development language.

 

Much appreciated your advises.

 

Thank  You.

 

Kind Regards

Ravinder


Dolly jar generated UserInterface project issue

$
0
0

Dear All,

 

I have generated the UI based project using Dolly jar file. But, while opening the project file ".vcxproj" on Visual Studio 2015 I get the following alert message.

Screenshot_1.png

I stuck here I can't move next step.

 

Regards,

Prakash C

How to avoid missing plugin message

$
0
0

Hello,

 

Is thereaflagor parameterto put inmy plugin (indesign cs6) to ensure thatdocumentshandled with my plugin does not request it if opened on other machines with indesign but not having the plugin ?!

 

In other words to avoid that our customers had the message "missing required plugin..."

 

Thanks in advance.

getting started on indesign cc plugin development

$
0
0

We have implemented plugins on traditional InDesign upwards up to CS6, InDesign8. But are new to InDesign CC. How to set up the development environment for InDesign CC development on windows.Are there any documents.

From where I can download Indesign cc 2014 SDK for C++ plugin development?

$
0
0

I have plugin which work fine with indesign cc 2013. I am in a processes of adding support for indesign cc 2014 but SDK is not available for download. Please suggest how to get SDK?

InDesign CC 2017 Plugins are not loading from Plug-Ins folder.

$
0
0

I have compiled and build Plugins for InDesign CC 2017, using XCode 7.2.1 on OS X 10.11 using 10.11 Base SDK.

The plugins (.InDesignPlugin) files are in Plug-Ins folder of InDesign Application ( /Applications/Adobe InDesign CC 2017/Plug-Ins).And whenI am opening InDesign to test the plugins then I cannot find the plugin anywhere in any menu. Normally for older versions of InDesign (CC 2015, CC 2014) plugins go in Windows menu and i can see the preferences for plugin configuration in Indesign preferences but I cannot locate anything related to my plugins in CC 2017.

 

InDesign is not even showing me that the plugins are invalid or unrecognized.

 

How do I troubleshoot this problem?

 

Any help will be greatly appreciated.

Thank you.

InDesign CC requirements & porting guide

$
0
0

Hi all,

 

I'm looking for the ID CC requirements and porting guide (and others...).

The ./docs/guides PDF folder in sdk (Build 244) just contains "IDML Specification.pdf".

 

Which Mac/Win versions ?

Which XCode/Visual versions ?

How to convert a CS6 project to CC ?

Where are usual docs ?

 

For now, I just try to compile BasicMenu sample in xcode 3.2.5, and I have :

ProcessPCH++ [...]

error: unrecognized command line option "-Wno-logical-op-parentheses"

error: unrecognized command line option "-Wno-c++11-extensions"

error: unrecognized command line option "-Wno-return-stack-address"

error: unrecognized command line option "-Wno-parentheses-equality"

error: unrecognized command line option "-Wno-out-of-line-declaration"

error: unrecognized command line option "-Wno-return-type-c-linkage"

error: unrecognized command line option "-Wno-invalid-source-encoding"

error: unrecognized command line option "-Wno-#pragma-messages"

 

So I'd like to know if xcode 4.2 or more is needed.

 

Thx.

Visual Studio 2013 - CC 2015 PMString debugging

$
0
0

Hi,

 

Could help me an expert how can I see PMString, WideString etc. values in the VS 2013 debugger?

 

I use for CC 2014 these settings in the autoexp.dat and working fine:

[Visualizer]

; Adobe InDesign SDK

UnicodeSavvyString|WideString|PMString {

preview    ( #if ($e.fStorage != 0) ([$e.fStorage->fFirstCharOfBuffer,su ]) #else ([$e.fSmallStorage,su ]) )

stringview ( #if ($e.fStorage != 0) ([$e.fStorage->fFirstCharOfBuffer,sub]) #else ([$e.fSmallStorage,sub]) )

}

K2Internals::K2VectorBase<*,*> {

preview (

  #(

   "[", $e.fLength, "](",

   #array(expr: $e.fArray[$i], size: $e.fLength),

   ")"

  )

)

children (

  #array(expr: $e.fArray[$i], size: $e.fLength)

)

}

K2Vector<*,*>|K2Vector<*>|K2Internals::K2PtrVectorBase<*> {

preview ( $e.fArray )

children (

  #array(expr: $e.fArray.fArray[$i], size: $e.fArray.fLength)

)

}

 

PMReal=<fRealValue>

PMPoint=<x.fRealValue>, <y.fRealValue>

PMRect=<left.fRealValue>, <top.fRealValue>, <right.fRealValue>, <bottom.fRealValue>

IDType<*>=<fIDInt>

UIDRef=DB=<fDB>, UID=<fUID.fIDInt>

 

 

Thx:  Karoly


First-time InDesign Plugin Developer - Some basic questions

$
0
0

Hello All,

 

I'm an experienced plugin developer for Adobe products but am new to InDesign. I've downloaded the InDesign plugin_sdk_125.zip, extracted it and compiled the sample plugins, I've got some newbie questions :

 

1. When I placed the debug builds into the Plugins folder InDesign said I needed a debug build of InDesign to run them. Seriously? Do I have to get a special build for debugging? The release build plugins ran OK, or some of them, only tested a few so far. Am I missing something really obvious as to why the debug one's failed?

 

2. On the SDK download page there were links to both the 2017 SDK and 2018 SDK. Can I assume if I work to the 2017 SDK the plugins will work in 2018. I don't need to build a version of my plugin per binary do I?

 

Excuse the super-newbie questions.

Thanks

R

Moving the anchor point for anchored frames untags the frame and applies the tag to the target text

$
0
0

I have a text frame with some inline text in the story. I have inserted an anchored frame at insertion point in the text (refer 'image-2.png')

Image-2.png

                                                            image-2.png

 

As we can see, the anchored frame is tagged with a XML tag (Tag2) and the anchor point is set just after the character "a".

 

Now, I need to move the anchor point from the existing position to some other character (say after the character "x" in the word "text").

The problem is, when I click on the anchor icon and move the anchor position, the anchor point is moved successfully BUT the anchored frame gets untagged and the same XML tag gets applied on the text character next to the anchor position (refer 'image-3').

Image-3.png

 

This seems like a bug and is not an expected behaviour.

 

Experts, can you please let me know if anyone has faced such issue with anchored frames Or If there a way to fix this behaviour via SDKcode?

 

If this is a bug, can someone please suggest the correct forum to raise this with Adobe support team? This is very critical and is obstructing our client from using anchored frames.

Error - You cannot Reverse this change with Edit->Undo Command ?

$
0
0

Hi,

 

I am automating layout and content with my plugin. Everything works perfect but problem arises when Images/Content is huge.

 

I have an Idle Task that keep polling continuously at a File. As soon as we find data in the file, I start my own HTTP Server from inside the idle task.

 

All the Generation is done inside the IdleTask i.e We open a new document and start creating the frames etc.

 

I am facing one problem, when the content is huge then I get the following error message -

 

"You cannot reverse this change with Edit->Undo Command" ?

 

On clicking OK, frame gets created but after few frames generation I get the message again.

 

I am using the following -

 

Windows 8

RAM 32 GB

Hard Disk  - 1 TB

InDesign Client CC 2017

InDesign RAM Usage when the message comes - 4 GB

Generation Time - 3 hours (all inside idle task).

 

If I stop the generation in the middle then on manually moving the frames, I still get the message. But after waiting for few seconds 5-10 seconds, RAM usage is reduced to 2.5 GB and then if I manually move  the frames, I don't see the message.

 

Note - When I open the document through the code, I am opening with "kPartialUndo" which means, undo steps won't get saved by InDesign. I am also explicitly discarding the undo steps.

 

It seems to me that InDesign needs some time to clear it internal resources/undo steps. As I am running the generation inside the IdleTask which  runs on the main event loop, InDesign doesn't gets time to do other processing.

 

Does anyone have any idea about this ? Is my understanding correct ?

 

Is there way to give control to InDesign to do its internal tasks. I tried using CIdleTaskThread from where we can relinquish control to InDesign but with CIdleTaskThread we cannot manipulate UI.

 

Any ideas what needs to be done ?

 

Regards,

Rahul Rastogi

Remove all plugin data from a document?

$
0
0
How can I "clean a document" by removing plugin data added by pluggins in a dokument?

Best regards
/ Pontus

Dynamic Menu Action : Strange behavior

$
0
0
Hi all,

I implemented dynamic menu items in my panel. I followed the DynamicMenu example very closely and got everything workingfine except for 1 thing:

When i perform a menu action i get an InDesign assert "This action isn't enabled".
I am pretty sure that my action is enabled, i traced it down. Also, my code does get called so how could it be called if my action wasn't enabled?

Has anyone else experienced this? I won't attempt to code any further because i am not sure what causes this problem and i'm getting very frustrated...

Thanks in advance,
Florian.
Viewing all 78596 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>