Copy link to clipboard
Copied
Hello All,
We created new Custom Importer. When user clicks on our importer from "File->new" menu, he can see PP's "New Synthetic" Dialog box, where he puts settings for new import. In our code we generate new file in imGetPrefs8 as recomended in SDK, but don't know with what size and aspect ration to create new file. I know the setting available in SDKGetInfo8, but how can we access the setting that user chose in "New Synthetic" Dialog Box in imGetPrefs8?
Thank you.
Hi Paul,
You will receive the user's settings in the imGetPrefs8 selector, in imGetPrefsRec.imageWidth / imageHeight / pixelAspectNum / pixelAspect Den.
Regards,
Zac
Copy link to clipboard
Copied
Hi Paul,
You will receive the user's settings in the imGetPrefs8 selector, in imGetPrefsRec.imageWidth / imageHeight / pixelAspectNum / pixelAspect Den.
Regards,
Zac
Copy link to clipboard
Copied
Yes, it's there, but only for CS5 version. What about CS4 ? Any way to work around using suites?
Thank you.
Copy link to clipboard
Copied
For CS4, that New Synthetic dialog was new, and unfortunately, importers were unable to get at those user-specified settings. So the CS5 API is definitely an improvement over the CS4 API in this area.
Copy link to clipboard
Copied
Ok, thank you. But then, at least, is there a way to disable New Synthetic dialog appearing in CS4? So we can ask user for preffered settings in our own dialog.
Copy link to clipboard
Copied
Nope, there's no way to do that, sorry to say.
Copy link to clipboard
Copied
In this post:
http://forums.adobe.com/message/4418975#4418975
YFast asked: "Are there a way to disable New Synthetic dialog ? Or is still without changes ?"
This issue is still open, but we are tracking it as bug group BG133528.
YFast, can you provide a little detail on why you don't want this dialog?
Thanks,
Zac
Copy link to clipboard
Copied
YFast, can you provide a little detail on why you don't want this dialog?
I'm trying to write plugin to integrate our MAM solution with CS6
It should be just windows with list of materials. Editor will choose material and import directly to CS6.
Copy link to clipboard
Copied
OK, thanks for the additional info YFast, I've added it to the bug report.