How to add word and image count values in C++
Hi Professionals,
Can someone suggest me to the image and word count in C++. Please guide me
Hi Professionals,
Can someone suggest me to the image and word count in C++. Please guide me
I don't see any connection of the code that you shared with what you have asked. There is no attempt whatsoever of dealing with the query that you posted. Also i see a lot of issues with your code as such
Now my question is do you want to do this in C++ or JS as you have done already(tried). If it's JS, then i would suggest to use ExtendScript of VSCode to write and debug the code first and then intgrate it into the C++ plugin once you find it working.
If it's C++ then i suggest you first brush up your C++ skills, i see no structure in code, no checks for nill pointers etc. This is disaster waiting to happen, at this point diving into SDK would only confuse you.
To complete the answer is would point you to the interfaces and boss classes that might help you do this in C++, once you are comfortable with C++ in general and basics of InDesign SDK
I hope you put in serious effort to learn the language and sdk, this is something that takes years to understand so its surely not a cakewalk or a quickfix thing that can be resolved by just asking and copying the code.
-Manan
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.