I am looking into extensively automating a few functions of PS for Batch Processing so that it becomes easier to user to correct large number of images automatically based on time tested and proven correction steps.
As I have not been able to find a way to lock JavaScript files I thought I will automate PS using VB Scripts. But before I go into this, I would like to know as to which is faster - JavaScript or VB automation using VB Script?
TIA
Which is faster?
Which is faster?
I would NOT know about VB but on the mac where I can use AppleScript or JavaScript the latter is much the quicker. JavaScript does NOT redraw the document window like AppleScript does (unless you ask it to). Regards performance many here would use Action Manager (scriptlistener) code as that is faster or many Photoshop operations. What do you mean when you say 'Lock' JavaScript do you want this so that users of your script can't edit the script file? Im stuck with an old version of the Adobe Suite but I think starting with CS3 you can save out to a binary from the ESTK file menu. Search .jsxbin this could well be what you are looking for.
Which is faster?
larsen67 wrote:What do you mean when you say 'Lock' JavaScript do you want this so that users of your script can't edit the script file?Yes something like that. I want users to use my scripts but not edit them.
One way out is to use VB Script instead of JavaScript and then with a VB Script compiler compile them to executable files.
But before I do that I would like to know as to what executes faster in PS CS3 on windows JavaScript or VB Script?
One way out is to use VB Script instead of JavaScript and then with a VB Script compiler compile them to executable files.
But before I do that I would like to know as to what executes faster in PS CS3 on windows JavaScript or VB Script?