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

Debugging symbols

$
0
0
Hello everyone.
Where can I find debugging symbols, for example for public.dll, which is loaded by InDesign.exe ?
I found that CS3 SDK contains sources for large amount of classes in (SDK)\source, but I CAN'T perform StepInto, while debugging in VS2005. In CallStack window i can see some dlls, but I can't watch the call stack tree items contents, except for my plug-in.

And, for example, I want to see how CmdUtils are executed, but all I can see is header file for it.
Adding (SDK)\source dir to "Tools->Options->Project and Solutions->VC++ Directories->Source Files" also doesnt help, because I cant find any *.pdb neither in SDK dir, nor CS3 InDesign Debug installation directory.

Simple debugging question in Xcode

$
0
0
Hi all,

I work with Xcode 2.5 and CS3 on Mac OS X 10.5.3 and I have debug build of InDesign too. Just wondering point me to the step(s) to setup the Xcode for debugging a plugin. Suppose I want to debug a sample project like WriteFishPrice, but currently the Debug button is disable in Xcode that I believe somewhere in Xcode I should give the InDesign application name(debug build) but cant find where is it.

Any help greatly appreciated.

Thnx
Nima

How to Create Plugin for InDesign?

$
0
0

Hi,

 

I am working with InDesign Scripting very well and now I want to start working with plugin for InDesign CS3 because of the limitation of the Scripting. But I have no idea, how to start and where to start creating Plugin for InDesgn CS3.

I am using Windows OS

 

Can someone tel me clearly how and where to start Creating Plugin and suggest me any plugin editor for Win OS. You can also suggest me at VivekSingh0143@gmail.com


Someone pls guide me.......
Thank You.

Keyboard shortcuts for a menu item not saved...

$
0
0

Hi,

 

I m using InDesign CS3 on MAC OS.

I tried to enable keyboard shortcuts for 2 menu items which i added under the Window menu.

I changed the default setting in the ActionDef in your .fr file from "kSDKDefInvisibleInKBSCEditorFlag" to "kSDKDefVisibleInKBSCEditorFlag" (change 'Invisible' to 'Visible'),

Now I m able to view my new menus in the "Keyboard Shortcuts" under th Product Area 'Other' and i m also able to assign shortcuts to them and save them.

 

But once i relaunch InDesign after a quit, my shortcuts are not viewed but still they are visible in the Keyboard Shortcuts....

I want to retain them.

 

While creating this shortcut(ie when i clicked on assign), i got a confirmation dialog that says

"Cannot modify default set.
Create new set based on the default set
?"

So i created a new set and then proceeded with assignin and saving shortcuts. Does this cross any prob?

 

Can someone please help me in doing this?

Thank You.

icml Default Styles

$
0
0

Is there a way to create an icml document that will use the "default" paragraph styles from InCopy (styles created in InCopy with no document open, the styles used for new documents).  I want to use the style names in the icml document, I just want the actual styles that are to be applied to come from InCopy (and eventually from the InDesign document the icml file will be placed on).

 

So far I can only get styles applied if I defined them within the icml document.

 

When I was programmatically creating incd files, I could just leave out the definitions and the existing styles would be picked up, though this does not seem to work with the icml format.

1 Problem, 1 Question

$
0
0

Hello guys,

 

I have two issues that I would like to solve. To do that, I need your help again

 

1. We are using the SnapshotUtils to make preview images (jpg) for pages, spreads e.g. Everything works fine but in some cases, if an image export follows directly after an operation on a page item (adding a footnote to a story or similar) the exported image is missing the changed page item. Instead of that the space is left blank. If I perform a "Save"-operation on the document right before exporting the image everything looks as expected. Is there a method I can use to force the server to update its state or another solution for this?

 

2. Is there a flag I can set in the SnapshotUtils to force the server to use its embedded previews for the jpg export instead of the original images linked? If we are in a network environment and the original images have sizes beyond 50 MB the export takes a long time, but for us it would be enough to have only a lowres preview.

 

Thanks in advance!

How to interrupt/cancel save process

$
0
0

Hello,

 

Here is the situation : A user is working on an InDesign document with the plugin I develop. He clicks on the save button. At this moment, I would like to "catch" the save action to display a OK/Cancel dialog box. A click on OK will effectively save, while a Cancel click cancels the save action.

 

I have seen the signal system, but it only allows to be informed when a save is being to be processed. I did not see anything about canceling the save process. Is it possible ?

 

Thanks a lot.

Plugin Debuging Xcode

$
0
0

Hi again,

I am quite dissapointed with adobe's getting started guide because a lot of info isnt clear...

So lets move to my question.

I would like to build and run plugin from Xcode, I made steps, that are described in getting started guide. I would like to use: PlugInConfig.txt for setting the path. Content of that file looks as follows:

=Path

":Users:OndrejVyhlidal:Documents:IndesignPluginSDK:build:mac:debug:SDK:" When i save that file, open Indesign, it doesnt see any of the plugin that I have in this folder. I tried to change this path from debug to release but nothing happend. Could anyone suggest where is error??

Right now I have another one problem with InDesign - every plugin, that I build and copy to its plug-in folder, creates exception during launching of InDesign, something that InDesign isnt able to recognize this plugin...

 

Is there any way to debug(with breakpoints) plug-ins??

Thx



Missing SMD Channel Model.sdk.InDesign Plugin

$
0
0

Hello everybody!

 

I got an InDesign file from a print office today. When I try to open it, I get a message that advises me to not open the file because the SMD Channel.sdk.InDesign Plugin isn't available on my system.

 

Like a good girl I googled the problem and yes there are already some posts about that problem. Also in this forum there's already an existing discussion about it: Link InDesign Discussion

 

But for the solutions they offer I should open the document but I simply can't. Because when I press "OK" only

another warning appears that says that I can't open the document and that I should update my modules or  update to the current verison

of InDesign. When I press "OK" again nothing further happens. (Pictures below)

 

Operating System: Windows Vista

InDesign Version: CS 5

Sorry that the screenshots are in german. I hope you can use them anyway.

 

Thanks for your help! -- Jannie

 

indesign-problem.JPGindesign-Problem2.JPG

How to get parent text frame of the tableModel?

$
0
0

Hi All,

 

How to get the name of the parent textframe of the tableModel?

 

Regards,

Chinna

Xcode Build Settings

$
0
0

Hi all,

 

When I am trying to buid my plug-ins in InDesign CC 2017.1 using mac I am getting this errors:

 

library not found for -lPublicPlugIn.

 

I have my library path set as:  $(FRAMEWORK_SEARCH_PATHS) $(ID_FRAMEWORKS_RELDIR) $(ID_DYLIBS_RELDIR) "$(SDKROOT)/System/Library/Frameworks"

 

What do I have to do now?Do I have to change any of my build settings?

 

Regards,

Revathi

 

Plugin SDK 1.25 Samples with VS2017?

$
0
0

Hello!

 

My question is simple: What do I have to do to build the SDK samples project with Visual C++ 2017? Or is 2010 really the only version that works?

 

I tried and followed the guide in getting-started.pdf except for using 2017 instead of 2010 and got about 2300+ errors which all can be traced to a couple of definitions in locale_hack.h and xlocnum_hack.h (_THROW0, _LONGLONG, _ULONGLONG).

 

I'm not really keen to dig up VS 2010 again, so I'd like to know if anyone got this to work.

 

Thanks a lot!

 

Best Regards,

Hans

many years of experience with InDesign scripting, but total noob when it comes to plug-ins...

Developing a InDesing Flowchart Plugin

$
0
0

Dear Community,

we are a German software development company and we're about to put a lot of money and effort into developing a flowchart plugin for InDesign. The plugin will enable users to connect textboxes with lines and dynamically update those connections if the boxes have been moved. Thereby it will solve a very common problem and make InDesign the best professional tool for mindmaps, flowcharts, organigrams etc.

 

Two questions before we start:

1. Anyone knows about Adobe having any plans for providing such a feature out of the box within the next years?

I understand that noone can provide detailled information on internal company processes, but maybe there is a public InDesign development roadmap? Or someone could at least give us a little hint / personal opinion, if you think developing such a plugin at the current point in time is a good idea or not...

 

2. Are there any available statistics about the amount of wordlwide Adobe CC Users / InDesigns users or the sold plugins on Adobe Exchange? This would help us a lot to judge the market potential for our plugin.

 

Kind regards,

Matthias Lindner

CEO ARaction GmbH

Germany

how to find page contains table indesign sdk?

$
0
0

pls,anyone help me,how to find page contains table indesign sdk?

 

thanks,

screen410099

kUIPlugin and kModelPlugin definition and other info

$
0
0

Hi Im starting out my journey that seems to be a daunting but challenging task. To create a Indesign Plugin, Im reading the documentation about my first plug-in but what is difference between the type KUiplugin and kModelPlugin?

 

- My understanding is that the kUIplugin has a user interface? And the other is not? Could kmodelplugin be like a command that gets invoked when run in the background?

 

- I also notice the "k" prefix everywhere, what does it stands for?

 

- Also that when DollyXs generates the files project they are all over the place, Is it possible to set them all up in one project folder?? For easy transfer to a different machine?

 

- There is two ODFRC.rsp in the sdk folder, one is the WriteFishPriceODFRC.rsp and SDKODFRCoptions.rsp, I take it that you only need either one of this? And my understanding this is to point where Adobes keeps all components, library, includes etc? When generating files using DollyXs on the shared rsp, there is also a c++ rsp that needs to be filled? The documentation states

 

"A .rsp file is used in an SDK project to specify common search paths for the C++ and ODFRC compilers."

 

But doesnt the Visual studio does this already when it comes to C++ search paths?

 

------------------------

These are just my questions for now, I am following the documentation because it seems this is the only material out there available after doing a google search. And it seems  that im going in slug pace, questions after questions.

 

PS: Please if you could give us abit of your time, enlighten a budding and aspiring adobe developer it would be much appreciated.

These questions may seemed stupid and probably are and will be embarrassed when I get responses. But since I only have the documentation to look for help, I'll just throw it out there. Im still reading the documentation over and over so I can wrap my head around it.

Please just dont be too harsh on me .

 

Thanks

ED


Plugin vs Scripting (which one to use for this particular purpose?)

$
0
0

My company wants to create a plugin for InDesign that will let the user export the InDesign document in a specific format. I would like to understand the scope of what scripting can do (and what a plugin can do) to see if this would be something that I can develop myself or something that we would need to find an external contractor for. I'm a backend web developer and while I've done a few apps with objective-C, maybe C++ is a little outside of my reach.

 

Basically the user creates a magazine layout on InDesign and they can also add images and videos (let's call these Media Files). Note that whatever is part of the layout is not technically considered a Media File in this context. The plugin/script needs to show a user interface that will let the user log in to our existing platform (we can customize a backend API for this plugin to make it as easy as possible). Users need to be able to export the document to PDF (just like InDesign does by itself) except that it needs to only export the layout and not the Media Files. The Media Files need to be exported by themselves. Everything needs to be sent to our system via de plugin/script's API.

To recap:

- Login to our system from within the plugin

- So we need some way to mark some images/videos (areas?, containers?) in InDesign as "Media Files" so that they don't get exported.

- Be able to export everything except Media Files as a PDF and upload it to our REST API.

- Be able to export only Media Files and upload them to our REST API.

 

Nice to have:

- Be able to list our system's Media Files in the plugin so that the user can drag them to their design (they automatically get marked as a Media File)

 

What would I need to use to get this done? Scripting or a native Plugin? In your opinion, is this asking too much of the plugin system or is this a piece of cake?

 

If you think you can do this, please also send me a message with a ballpark quote and your experience developing similar things.

IS4SPPackage set Instructions name

$
0
0

Hello,

 

how can I set the instruction's name when I want to use IS4SPPackage to generate a package?

 

Thanks in advance

Regards

Since CC 2017 InDesign returns with ErrorCode 29446 for CmdUtils::ProcessCommand on Mac OS

$
0
0

The problem happens only on Mac OS.

 

When I execute the CmdUtils::ProcessCommand with IImportResourceCmdData then the error code 29446 is returned and the error message "Either the file does not exist, you do not have permission, or the file may be in use" pops up.

 

The file is there and have enough permissions. When I insert the image manually then it works.

What is causing the problem and how could i resolve it?

 

Thanks in advance

IDocFileHandler SaveACopy as idml

$
0
0

I'm working on a plugin for InDesign and I need to save a copy of the actual document as idml (I also need to use the SaveAs function as idml).

When I use the SaveACopy function I only add the '.idml' to the file extension. this doesn't work because I can't open the file in CS5.5 (I save it in CS6).

 

IDocFileHandler *fIDFileH;

 

fIDFileH->SaveACopy(doc, destFile, uiFlags, asStationery, fileTypeID);

 

 

fileTypeId is a FileTypeInfoID.

 

What value (or how to declare the FileTypeInfoID) shall FileTypeInfoID have  to save the file as idml?

 

[Moved from user forum to developer forum... Mod]

[Here is the list of all Adobe forums... https://forums.adobe.com/welcome]

add dragdrop event to custom genericpanelwidget on treenode

$
0
0

Hello,

 

Currently, i created a grid view of image thumbnail like image below.

ask.jpg

the grid is created by tree view, with custom panel on tree node.

I like to implement drag drop function for these image, but IID_DRADDROPSOURCE is not working on my custom widget.

It always goes to  treenode drag drop functions.

 

Has anyone done this way before???

Can anyone help me?

Viewing all 78596 articles
Browse latest View live


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