I am trying to understand scripting for adobe products using extendscript and I have a doubt whether I can re-use a script between different adobe products like ai, ps, pp and ae? Will there be some kind of granular level modifications between each of these product's apis?
They are like if they were separate programs from different companies (because that is what the separate divisions kindof are). They have some similarities but not that much (mainly because they use a similar unerlying module). AE is very different from PS and AI that are closer. But AI has the least mature scripting interface, PS has a tool to turn unscripted action to mystical calls. AE and InDesign have much more mature scripting interfaces. After effects is the most different one scripting wise.