Skip to main content
Participating Frequently
July 14, 2010
Question

Sample plugin

  • July 14, 2010
  • 3 replies
  • 9682 views

Hi,

I am totally new to Adobe Indesign, having got the task to write Indesign plugins.

So I installed IndesignCS4-SDK and tried to start with sample plugins.

In the SDK there is a batchfile buildAllSamples.bat which I started.

For every every sample project there was created a folder [project].sdk.Resources but all thes folders are empty (?).

Furthermore for every project there was created a '.pln' and a '.pdb.file'

I guess, there is something missing, the so created plugins are not recognized by Indesign.

Compiling one single project in Visual Studio I get the warning:

SDK\build\win\debug\SDK\(WFP.sdk Resources)\*.idrc could not be found.

so what's wrong here?

any help would be appreciated.

Helmut

This topic has been closed for replies.

3 replies

Inspiring
July 29, 2010

My misunderstanding, please ignore this reply.

Helmut25Author
Participating Frequently
July 29, 2010

Hi Aidy,

in the project properties (prelink-event) there is already the entry:

merge_res.cmd "$(IntDir)" BscDlg & echo Deleting old resources... & del /f /s "$(TargetDir)($(TargetName) Resources)\".idrc > $(IntDir)\prevDeletedResources.txt & xcopy /Q /E "$(IntDir)\".idrc "$(TargetDir)($(TargetName) Resources)\" /Y

..which is nearly identical to what you have suggested.

Nonetheless the idrc-files are not being generated....

Helmut

Inspiring
July 29, 2010

I made a CS5 project today, I think the first time to build the project or rebuild the project, it should have the information "not found *.idrc", it's normal and correct. So, don't worry about it.

Inspiring
July 22, 2010

Hi Helmut25,

I think it should the problem of InDesign CS5 debug version, because i find another person meets the same issue of "FONT MANAGER.PLN" with you. Please refer to http://forums.adobe.com/thread/656045?tstart=0. Maybe you can ask him whether the issue has been resolved.

Inspiring
July 16, 2010

I've never met that issue. What about rebuild a single plug-in project to check again. If it still not work, i suggest to download sdk again.

Helmut25Author
Participating Frequently
July 16, 2010

Hi Ady,

I compiled a single sample plugin project ('BasicMenu'), the result remains the same.

In the /win/release/SDK folder one empty folder (BasicMenu.sdk Resources) was created and outside that folder

the two files BasicMenu.pdb and BasicMenu.sdk.pln.

I would expect a folder 'BasicMenu' and a file inside it, 'BasicMenu.pln'

Perhaps the error message about a missing idrc file at compile time might be a clue?

("InDesignCS4-SDK\SDK\build\win\release\SDK\(BasicMenu.sdk Resources)\*.idrc could not be found.")

regards, Helmut