
vinothr
Engaged
vinothr
Engaged
Activity
‎Jan 28, 2020
05:20 PM
Hi ErinF, Is there a resolution for this? IMO ExManCmd should be made an open source project where issues could be easily added/tracked.
... View more
‎Jan 20, 2020
02:18 AM
This issue is not yet resolved. Also, this doesn't seem Catalina specific.
... View more
‎Nov 18, 2019
10:30 PM
1. Tried with sudo. Same issue 2. Redownloaded ExManCmd and installed in different directory. Same issue. 3. Nothing relevant in the logs. 4. Upgraded to 10.13.6. Still same issue. Here is what happens when I run following command in different ExManCmd versions: ./ExManCmd --list all 7.3.2.88 => No error 7.8.0.15 => Abort Trap 6
... View more
‎Nov 17, 2019
09:28 PM
I checked the mentioned guide. It mentions that the probem is Catalina specific. However, I am running MacOS 10.13.4 (High Sierra). Nevertheless, I still proceeded with the steps mentioned and that did not resolve it. I face same error with ExManCmd (7.8.0.15).
... View more
‎Nov 08, 2019
04:02 AM
MacOS: 10.13.4 (High Sierra) Running any command with ExManCmd returns: Abort trap: 6 No further information is available, even in system log. Tried with even the latest ExManCmd (7.8.0.15). Would appreciate some help.
... View more
‎Sep 10, 2018
03:14 AM
I didn't hinted in my reply the root cause of the issue but only pointed out what domino effect it could have. One solution I can think of is to have a doc file handler for your documents and reset to the default handler when save-as. So, you can always hook into your parent/source documents to take custom actions and do away with any other documents that is not handled by your file handler. I am referring to IDocFileHandler. Am not sure of your use case but have a try if it suits your workflow.
... View more
‎Sep 10, 2018
01:03 AM
I don't think there is a debug-specific documentation for InDesign. It looks like you want to understand the console windows logs that InDesign spits when running. To start with: 1. Use the DebugWindow (Mac only) tool that comes with SDK. For windows, you can use notepad 2. Obtain the InDesign debug version from prerelease form 3. When you launch InDesign debug version, a new set of menus are added at top level. This should be easily visible 4. You can toggle the TRACES menu child items to check for specific things. A prerequisite to debugging InDesign is a good understanding of the InDesign Object Model and self exploration. SDK should help you here. I have debugged InDesign a lot and just to give you a headstart I shall share what I have mostly used: -- Signals -- Commands Events, Menus, and dumping OM are other things I have used less frequently, though have been quite useful.
... View more
‎Sep 10, 2018
12:53 AM
The way you hook up on kAfterSaveDocSignalResponderService to trigger package creation does not sound right. Just give a thought that the package creation itself creates a new copy of the indd document, which itself will trigger a slew of doc signals including another after-save service signal. You need to find a way to only trigger packaging for your source documents. Check if you can take help of k[Before/After]PackageDocSignalRespService signals
... View more
‎Jun 21, 2017
05:24 AM
I am just wondering wouldn't changing the keyboard layout to Sanskrit (Devanagari) would be a simple solution. What would be the need to write out a plugin for this?
... View more
‎Jun 21, 2017
04:57 AM
There could be many reasons for the plugin not loading. One easy way to figure it out is to check in the InDesign debug version. InDesign debug version should be able to spot the issue. Please get the InDesign Debug version from the pre -release forum.
... View more
‎Jun 21, 2017
04:52 AM
That is what I meant. You didn't swap the source and final, which you have done now (in ELSE block): var docName =docFin.name.replace(/\.[^\.]+$/, '_final'); TO var docName =docSou.name.replace(/\.[^\.]+$/, '_final');
... View more
‎Jun 21, 2017
02:58 AM
3 Upvotes
As I see the following code, var docSou = app.documents[0]; var docFin = app.documents[1]; docSou.name.replace(/\.[^\.]+$/, '_source'); docFin.name.replace(/\.[^\.]+$/, '_final'); Whether it is the IF or the ELSE that is executing: The first document is always tagged as "_source" The second document as "_final" Did you intend to do so above? Or did you intend to switch the source and dest doc as per modified file, which seems missing.
... View more
‎Jun 21, 2017
02:06 AM
I am not sure what you are trying to achieve. But I am wondering why you are exporting twice. In the function mycheck1: Inside IF you export to file with "_source" name. Also you call mycheck2() which exports to file with "_final" name. Same in the else block also. So, essentially you seem to overwrite the file. Please check if you intend to do so. I believe with some traces you should be able to figure out.
... View more
‎Jun 21, 2017
01:45 AM
Well, you will mostly have trouble using the app.activeDocument, unless you are sure about the document context. Document context can be changed anytime so app.activeDocument is more likely to fail. Moreover, in the InDesign server environment there is nothing like active document. So, it is always a good idea to refer to a document by some references in the jsx. This makes the script a good port to server environment.
... View more
‎Jun 21, 2017
12:06 AM
It is a bit too late to respond here but should help others I believe. InDesign internally uses low-res images for placed images. When you export to PDF then the full res is obtained and then exported. Because this is not the native file link resource and a custom link, InDesign cannot obtain the full res of your link and hence exports the PDF with the default low-res image.
... View more
‎Jun 21, 2017
12:02 AM
https://forums.adobe.com/thread/2159437 https://forums.adobe.com/thread/2166424 Above are two threads and you can search more related items.
... View more
‎Jun 20, 2017
11:50 PM
Please search this forum. I remember I have already answered a related topic in this forum in another thread.
... View more
‎Jun 20, 2017
11:48 PM
Hi Manan, I am just trying to understand what you are trying to achieve. By the way, the progress bars are non-modal by design. And I see a logical reason why it is so. You are doing some background work for which you are showing a visual status of the progress. And the background work might involve some commands being executed. Now, I believe InDesign will not allow to process any command when a modal dialog is open. That said, if your background work (for which you show progress) involves commands then you have a problem. In my opinion, you should rethink your approach. 1. May be suppress the progress bar when document context is changed. 2. Or implement your own dialog that achieve what you want.
... View more
‎Dec 07, 2016
12:50 AM
1 Upvote
I believe you are looking for kTextAttrPageNumberTypeBoss.
... View more
‎Nov 09, 2016
11:36 PM
1 Upvote
How to use boss class depends on what you would like to implement. SDK documentation is the only resource to learn plug-in development in InDesign. Few things you should understand: -> InDesign uses its own object model. This object model is constructed at runtime. As you know, C++ has an object model, but InDesign although developed in C++ but has its own object model. InDesign uses an abstraction called boss class. A boss is a class in the InDesign object model. -> Objects in InDesign are boss class objects. This means that a document, page, spread, page item are not C++ objects but boss class objects. document -> kDocBoss spread -> kSpreadBoss etc. These boss classes have hierachical structure. Boss class is a kind of InDesign class and not a C++ class. Plug-ins in InDesign talk to each other via the boss classes. -> You should have a basic understanding of interface-based programming. Read basics of Component Object Model (COM). Programming in InDesign in similar to COM where functionality is accessed via interfaces. -> Your plug-in will create boss classes, or add features to existing boss classes. The fr (resource) file is where you define the boss class. -> You should be familiar with design patterns. InDesign heavily uses design patterns like observer, command, responder, factory, etc. -> You have lots of sample code in the SDK which you can refer to. -> Believe me, InDesign API is very-well documented. API documentation in products like Photoshop, Illustrator really sucks. Example: Suppose I would like to add some custom data to be stored inside each document. I would add a persistent interface-impl to the kDocBoss. Here, you add functionality to existing boss. This would mean that I will create a new interface and impl IDs in the pluginID.h file. Create a file with the corresponding C++ class. Register the interface-impl and bind them. Of course, will add the interface-impl to kDocBoss in the fr file.
... View more
‎Nov 09, 2016
11:09 PM
Please check your PluginVersion resource in fr file to ensure there is no discrepancy. Also, which sdk are you using and which ID version you are running? I would also suggest you to run InDesign debug version to check if it complains anything.
... View more
‎Nov 08, 2016
06:49 AM
Are you using InDesign debug version alongside? When an application writes to preferences, it also stores the application version. Possibly, the preferences were written out with different InDesign version than the one that reads.
... View more
‎Sep 15, 2016
08:39 AM
As you have said: 1) There is no crash 2) No third-party plug-ins are installed. Also, you have noticed some improvement now. You can closely monitor and also consider using LBQ for load balancing the server. Please check the sdk docs on its setup.
... View more
‎Sep 15, 2016
08:34 AM
The reason you encounter kTextChar_PageNumber always is follows: The Next/Prev page markers are actually automatic text. Now, if you check the Unicode values of auto text and page number they are same (see bold below). kTextChar_NextPageNumber = 0xE022 kTextChar_PreviousPageNumber = 0xE023 kTextChar_PageNumber = 0x0018 kTextChar_AutoText = 0x0018 So, you are encountering the auto text and not the page number. Also, with regard to break. That is quite true. When you try to insert a column/frame break, the actual character inserted is kTextChar_CR (0x000d)
... View more
‎Sep 13, 2016
10:35 AM
Data will only persist if you implement it so. As you have taken the example of PanelTreeView, let me explain here. The implementation of IPnlTrvOptions is persisted. A list of WideString for the tree view options is persisted in the session workspace. Hence, you will see some persisted data reflected on the view.
... View more
‎Sep 13, 2016
10:24 AM
Your questions is not complete. What do you mean by "other" location -- another document, page, etc.
... View more
‎Sep 13, 2016
10:21 AM
Yes, you are correct. Surprisingly, the Server Developer Forum is missing. However, please explain your problem in detail. - Which version of ID server are you using and in which operating system? Crash report would help here. - Is there any specific scenario that leads to crash? - Are you using any third-party plugin in your InDesign server?
... View more
‎Sep 13, 2016
07:49 AM
Numbers like 1396927554 have no relation to the Unicode value of the actual character. For example, column break character: Integer: 1396927554 Unicode value (hex): 0xE00B kTextChar_ColumnBreak in InDesign Script ID: SClB Column break has script ID as 'SClB' (Check ScriptingDefs.h) If you convert the script ID to hex equivalent then it is: 53 43 6c 42 S C l B Convert this hex to decimal and it gives you 1396927554 In scripting, SpecialCharacters.COLUMN_BREAK = 1396927554 So, in COM too you have this constant value. By the way the Unicode value of column break and page break as follows: kTextChar_ColumnBreak = 0xE00B // script ID = SClB or 1396927554 kTextChar_PageBreak = 0xE00C // script ID = SPgB or 1397778242
... View more
‎Sep 06, 2016
02:25 AM
Consider the following: IGraphicAttributeUtils ::CreateStrokeAlignmentCommand IGraphicAttributeUtils ::CreateStrokeAlignmentAttribute
... View more
‎Sep 06, 2016
02:13 AM
break should be inside a loop. You probably copied code from somewhere without including the loop.
... View more