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

SuppressedUI Tool

$
0
0

Hi,

 

  I have installed Indesign CS3 & SDK with XCODE tools in my Mac OS X. I didn't find the suppressedUI tool in SDK.Where can I find SuppressedUI tool for Mac ?

 

Regards

Senthil Kumar V


Adding crop marks in jpeg export

$
0
0

Hi All,

 

Is is possible to add crop marks in jpeg export similar to what we have in pdf export.

I see SnapshotUtils class but could not see any method to set crop marks.

What I need to do to set crop marks?

 

Regards,

Alam

Conversion Indesign (.indd) to pdf file

$
0
0

Is this possible to convert an indesign(.indd) to pdf file

 

If it is please let me how can i achive this..

 

please help me out.

Indesign CC 2014 crashes on trying to open a IDML file through my custom extension

$
0
0

Indesign CC 2014 crashes on trying to open a IDML file through my custom extension

 

Hi,

I have ported my HTML extension from Indesign 9.2 to Indesign CC 2014 and things were looking just fine.

But Now, when I try to open the saved IDML document, Indesign Crashes.

Windows error reporting gives the below picture

 

Faulting application name: InDesign.exe, version: 10.1.0.70, time stamp: 0x5424e38b
Faulting module name: Public.dll, version: 10.1.0.70, time stamp: 0x5424e290
Exception code: 0xc0000005
Fault offset: 0x00000000000546b4
Faulting process id: 0x58e0
Faulting application start time: 0x01cfe9cfc85d4f86
Faulting application path: C:\Program Files\Adobe\Adobe InDesign CC 2014\InDesign.exe
Faulting module path: C:\Program Files\Adobe\Adobe InDesign CC 2014\Public.dll
Report Id: 88eb8dca-55c3-11e4-81b6-f8b156db39b5

 

It failed somewhere in Public.dll but I am not getting how and where. Is there any way I can debug it and get to know Or if any one faced such kind of issue?

Build InDesign CC 2014 error on Mac OS

$
0
0

Hi,

 

I'm trying to compile sdk samples CC 2014 on Mac:

Mac OS 10.8.5

Xcode 5.0.2

I also copy MacOSsdk10.7 to Xcode 5.02

 

Error:

 

ld: in '../debug_cocoa64/packagefolder/contents/Frameworks/AdobeOwl.framework/AdobeOwl', file was built for unsupported file format ( 0x56 0x65 0x72 0x73 0x69 0x6F 0x6E 0x73 0x2F 0x43 0x75 0x72 0x72 0x65 0x6E 0x74 ) which is not the architecture being linked (x86_64): ../debug_cocoa64/packagefolder/contents/Frameworks/AdobeOwl.framework/AdobeOwl for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

 

 

anyone can help me to solve this problem?

 

Thanks

(CS6 - Windows) How can I see stdout? Or other logging info?

$
0
0

Hi,

 

I'm using printf() to write logging informations to stdout, that works fine for Max OS - I'm starting InDesign from the terminal and I can see the log infos. Great when a problem only appears on a customers computer.

 

Now I have a problem on a customers windows machine and this trick does not work there, I can start InDesign from command line and I see nothing. Is there a trick to see stdout? Or another logging system that works in release version?

 

Thanks

Klaus

How to use InDesign SDK on XCode 7.2, OS X 10.10.5 ?

$
0
0

I generate a dialog-based plug-in project using DollyXS.

 

after build

get error messages

 

ld: warning: directory not found for option '-L../debug_cocoa64/packagefolder/contents/macos'

ld: warning: directory not found for option '-L../debug_cocoa64/packagefolder/contents/macos/libs'

ld: warning: directory not found for option '-L../debug_cocoa64/packagefolder/contents/Frameworks'

ld: warning: directory not found for option '-L../../build/mac/debug/packagefolder/contents/macos/libs'

ld: warning: directory not found for option '-F../debug_cocoa64/packagefolder/contents/Frameworks'

ld: warning: directory not found for option '-F../debug_cocoa64/packagefolder/contents/macos'

ld: warning: directory not found for option '-F../../build/mac/debug/packagefolder/contents/macos'

ld: warning: directory not found for option '-F../../build/mac/debug/packagefolder/contents/Frameworks'

 

so modify

Build Settings - Search Paths - Framework Search Paths, LIbrary Search Paths

 

after...

get error messages


ld: file not found: @executable_path/InDesignModel.framework/Versions/A/InDesignModel for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

 

All messages

스크린샷 2016-03-07 오후 2.28.29.png

 

스크린샷 2016-03-07 오후 8.11.12.png

 

Regards.

Plugin Development under OS X 10.11

$
0
0

I was able to successfully compile and build a releasex64 of several SDK samples on OS X 10.11 . Unfortunately, every time there is a 'shell script invocation error' in copyResources.sh reporting:

"/bin/bash^M: bad interpreter: No such file or directory"

However, I manually copied the generated plug-file (~50KB) along the 'packagefolder' ( from release_cocoa64) and all files from prj/build/*.* to the plugin directory:

/Macintosh HD/Applications/Adobe InDesign CC 2015/Plug-Ins/

 

InDesign finds the plugin but shows the well-known 'Startup Alert' message box: not a valid plug in (translated).

Any suggestions how to proceed?

Is there a more detailed error log?

Are files missing? Wrong directory? Additional directories or symlinks missing?

I don't have root rights. Do I need those?

 

I used Xcode 5.0.2 as recommended in the help files.

 

I don't have such an issue under Win7 Pro. Under Windows compiled Plugins (with VS 2013) load successfully.

 

 

System details:

Xcode 5.0.2

Target OS X 10.9 (highest version listed)

OS X 10.11

Adobe InDesign CC 2015.3 Build 11.3.0.34

I'm using the latest InDesign SDK.

 

Please advice. I'm stuck here.


Suppressing the Missing Fonts Dialog

$
0
0
Hi

Does anyone know how to suppress the Missing Fonts dialog?

There was a topic about this a year ago in which a solution involving kShowMissingFontsCmdBoss was mentioned, but the example code doesn't seem to have any effect for me (in InDesign CS3).

Thanks,

Charles

Missing Fonts Dialog

$
0
0

How do I prevent the missing fonts dialog from showing when I open a document.  I've tried the suggestions on this forum like:

 

CAlert::SetShowAlerts(kFalse);

 

and

 

InterfacePtr<ICommand> showMFCmd(CmdUtils::CreateCommand(kShowMissingFontsCmdBoss));


InterfacePtr<IWorkspace> workspace(GetExecutionContextSession()->QueryWorkspace());


InterfacePtr<IUIDData> uidData(showMFCmd, IID_IUIDDATA);

 

uidData->Set(workspace);


InterfacePtr<IBoolData> boolData(showMFCmd, IID_IBOOLDATA);

boolData->Set(kTrue);


CmdUtils::ProcessCommand(showMFCmd);

I've also opened the document without a window.  But none of these work.  My plug-in runs in CS4.
Thanks!
Doug

Query active user tool

$
0
0

Is it possible to query which tool the user has active at any given time?

Specifically, I need to disable some functionality of my plugin when the user has the pen tool selected.

Thanks in advance

how to get transparency blend space

$
0
0

Hi,

     I need to know the document's transparency blend space, whether RGB or CMYK.

 

From SDK sample I have used the below code.

 

     AGMColorSpace* blendingSpace = xpManager->GetDocumentBlendingSpace().

 

From this method, how to identify whether the AGMColorSpace object refers to RGB or CMYK.

 

With Thanks,

Sheela

How to install InDesign 2014

$
0
0

Hi,

 

One of our customers is using InDesign 2014, we already have our plugin ready for 2014 and my colleague want's to install 2014 now on his machine for demos and support. I assigned a team license to him, he installed the CC desktop application. But there we only see CC 2015 and no 2014. If I select 'Previous versions' in the filter, I seen an InDesign without version info. How do I install 2014 now?

 

Thanks

Klaus

URL hyperlink creation

$
0
0

Hello Everyone,

 

Has anyone tried creating a hyperlink to a frame in Indesign cs3 and setting a URL to the Hyperlink.

 

I tried with couple of commands provided like -kNewHyperlinkURLDestCmdBoss which crashes ID on ProcessCmd function
kNewHyperlinkPgItemSourceCmdBoss here the command is successful but does not set the hyperlink.

 

--- source ---

  PMString destURL(http://www.google.com);


  InterfacePtr<ICommand> newHyperlinkCmd(CmdUtils::CreateCommand(kNewHyperlinkURLDestCmdBoss));

 

  InterfacePtr<IStringData>cmdData(newHyperlinkCmd, IID_ISTRINGDATA );
  if (!cmdData) {
    break;
  }
  cmdData->Set ( destURL );

 

  status = CmdUtils::ProcessCommand(newHyperlinkCmd);  //<<------- crash here..
  if (status != kSuccess) {
    break;
  }
-----

 

Please let me know if anyone has tried.

 

Thank you all in advance.

 

 

Regards
Lion J

Can't install InDesign CC 2015.2 debug version on MacOSX1

$
0
0

Hi

 

I just downloaded InDesign CC2015.2 debug version from Technology Partner Program portal, but I can't install it. When I open the disk image and run the updater app I get "Update failed" window. Anyone had the same problem? Did you fix it? How?Screen Shot 2016-01-22 at 12.42.59.png


Can I create a child window of the InDesign plugin ui as a parent? (using WinAPI)

$
0
0

Can I create a child window of the indesign plugin ui as a parent? (using WinAPI)

 

(ex: CreateWindow(_T(testClass), _T(testClass), WS_POPUP, 0, 35, 225, 200, InDesignPluginUIHWND, (HMENU)NULL, GetModuleHandle(NULL), NULL); )

 

If possible, how can I get the InDesignPluginUIHWND of the above?

How to find InDesign CS5 application folder

$
0
0

Hello, I am trying to install our plug-in to InDesign CS5 plug-ins folder.  Does anyone know how to find where InDesign CS5 is installed on Windows platform?  I am looking for the App Paths registry entry which has worked for previous versions of InDesign, but it seems to me that CS5 does not update/add this App Paths entry.  I tested on Windows XP and Windows 7, none has the entry.

 

Appreciate suggestions.

 

Thanks.

InDesign CS5 Background Tasks

$
0
0

When one opens Window->Utilities->Background Tasks, one can see a panel UI with title called "BACKGROUND TASKS". It seems the Panel is for showing something about background process(or maybe a thread on windows). I wonder if there is any way that we can see something on this empty panel, in what situation we can see it. Could one see something when a background process is forked or another thread is activated? Anyone tried it? Thanks

alternative to Oxygen Editor

$
0
0

Are there alternatives to Oxygen editor for .IDML files?

 

needed feat

  • open a IDML file taking care of its zip format
  • browse contents
  • open each XML
  • change XML
  • update the overall IDML when saving one of its files

SnapshotUtilsEx::ExportImageToJPEG differences in CS6?

$
0
0

Hello,

 

I'm wondering if anyone has encountered problems using SnapshotUtilsEx with CS6?

 

I have an InDesign box placed on a page and when I export this as a jpg image I get different results in CS5.5 and CS6. I'm using the same document.

 

CS6 is adding an extra pixel to the width of the image.

 

Anyone else encountered this problem?

 

Thanks,

Heath

Viewing all 78596 articles
Browse latest View live


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