1 person found this helpful
-- and in that long list of parameters, we find .. ScriptLanguage! An exclamation point is warranted, as one of these is ScriptLanguage.APPLESCRIPT_LANGUAGE !!
A good first thing to find out is whether PS's JS also can call doScript.
Thanks for that, especially the warning in the final par.
Saw the doScript in the InDesign dictionary, while Photoshop's appears
So, maybe this is a blind alley for me.
I know you said you no expenditure, but for something like $15, FastScripts will give you a much better scripts menu. It runs in all apps, is dynamic, context-sensitive, and lets you set keyboard shortcuts. IMO, PS's Scripts folder is a pretty poor effort.
Thanks, Shane, I have FastScripts on my laptop. It's version 2.31. I will probably have to fork out another fifteen bucks to get up to version 4, which I see is the current one. If it were just for me it would be the ideal solution, but there's no way I could persuade the company to get it for multiple machines. They have the USBs locked against pen drives, for goodness sake.
However, I have slept on the matter and am about to go all Mills and Boon (publishers of romantic fiction).
Did I say house next door? It's a luxuriously-appointed mansion in which I have spent many a joyous hour ... so long as I'm wearing my User hat.
But when I put on my Scripter hat and approach the servants' quarters, the normally genial butler, Jeeves, goes all red in the face, like a traffic light, and bars my way. I think he suspects me of harbouring dishonourable intentions towards Minnie, the charming chambermaid.
And I can't deny there's... electricity .... between us. Love must have its way and I have a devious plan.
Will I get to marry Minnie and make lots of beautiful babies or will Jeeves produce a cosh and flatten me?
Calling js from AS in Photoshop is easy; it's going the other way that's the problem.
In fact, calling js is the only way to do certain things via AS in Photoshop. Fortunately you can use ScriptingListener,plugin to write the js for you.
1 person found this helpful
I know from my own experience that "mixed" scripts work well and are easy to write — at least I didn't have any problems with mixing JS and AS.
Thank you, Kasyan,
I think it would be rash of me to dive in "blind". Any recommended
Any recommended reading matter?
First of all, read Photoshop CS3 Scripting Guide.pdf (inside Adobe Photoshop CS3\Scripting Guide folder)
Check out these forums:
PS To put the record straight. In response to Shane's recommendation of Fastscripts, I pessimistically believed I would have to pay again to upgrade from Fastscripts 1.2 to 2.4. I was wrong. Apologies to Red Sweater. Other software comanies are swift to demand further payment when going up by a full version number; not Red Sweater. I'm impressed and looking forward to trying out the new version.