Hi,
Can anyone help to this concern??...
I couldn't use ScriptList class in CS5 SDK, as we use in Indesign CS4. It throws the following error when I build my plug-in.
Error 1 error LNK2001: unresolved external symbol "__declspec(dllimport) struct adobe::version_1::new_delete_t const adobe::version_1::local_new_delete_g" (__imp_?local_new_delete_g@version_1@adobe@@3Unew_delete_t@12@B)
Here follows the Code I used to apply script label to a pageItem.
ErrorCode err=kFailure;
InterfacePtr<IScript> iScript(argPageItemUIDRef, UseDefaultIID());
ScriptList myScriptList; // including this class throws the above error.
myScriptList.push_back(iScript);
IScriptLabel::ScriptLabelValue myTagValue(argLabel);
InterfacePtr<IScriptManager>scriptMgr(Utils<IScriptUtils>()->QueryScriptManager(kScriptTa gMgrBoss));
err=Utils<IScriptUtils>()->SetScriptingTag(myScriptList,scriptMgr->QueryDefaultEngine()->GetRequestContext(),myTagValue);
return err;
with thanks,
Praba