Windows and Unix do other things as well as runnin Photoshop processes get interrupted and resumed
Thanks for the reply JJMack..
I have one more question,
I am doing following task,
- Fetch the info of text/shape object.
- Create a text item which have the info in it's content.
- Doing some calculation to place the text object.
- Creating circle and other shape objects and merging them.
- Doing some other task using action listener code.
I am using script to do the above task. It is taking some time approximately 7 to 8 sec to complete.
My question is If I use plugin (c++ code) to execute these task, does it make any difference in terms of execution?
Will it become fast?
Thanks for any help..
I can't answer for sure for I have never used Adobe SDK so I do not know how efficient the Photoshop API are you processing loop needs to use several Photoshop features. The potential is surly there for the code is compiled and does not need to be read and interpreted with each iteration. When I work for a living I wrote a Rex script to update a Phone book basically it added corporation big shots nick name into the monthly update corporate phone book. Though I read the nickname file and read and wrote the phone book with single reads to arrays and after processing the arrays a single write from an array the script took three hours to run looping through the arrays. I choose Rex scripting for its syntax is PL1 like all I needed to do was define the variables I used in the script then compile it with the PL1 compiler. The compiled version took three minuets to run. There were only three external API calls used the same as the script the rest time was the Phone book array loop. The compile version took a small fraction of the time the interpreted script version.