Skip to main content
SinnottBros
Known Participant
January 15, 2010
Question

IRestoreLinkCmdData in CS4?

  • January 15, 2010
  • 1 reply
  • 592 views

Hi;

I am converting cs3 plugin to cs4.

Our plugin has putting images to InDesign documents,  sometimes there is need to update path to images.

In CS3 this was done by IRestoreLinkCmdData

http://support.adobe.com/devsup/devsup.nsf/docs/53940.htm

According to CS4 documentation IRestoreLinkCmdData is still supported, however I get “Invalid UID” warning when cmdData->Set(theDb, theDataLinkRef->GetUID(), &theNameInfo, &theNewFormat, theFiletype, IDataLink::kLinkNormal);

And then InDesign crashes

Do anyone has success with this?

Regards

Chris

This topic has been closed for replies.

1 reply

Bartek_Kropaczewski
Inspiring
January 15, 2010

Compare in samples CusDtLnkScriptProvider between CS3 SDK and CS4.

Regards

Bartek

SinnottBros
Known Participant
January 18, 2010

Thank You Bartek , This was really helpfull , Now links are beeing updated

Regards

Krzysztof