Make a Marquee Selection
I want the variable ArtSet to "selectAll", which would simple just be selecting the entire canvas a rectangular marquee. What am I doing wrong ? app.documents.add(600,200)var layerRef =...
View ArticleRe: Make a Marquee Selection
An active selection is a property of the file, not of a Layer. »activeDocument« is no property of Layer, either, so artset.activeDocument.selection.selectAllmakes no sense. And even if you remove...
View ArticleRe: Make a Marquee Selection
Most people use "docRef" to refer to app.activeDocument, rather than writing that out all the time. So to select all, you would really only need: var docRef = activeDocument;docRef.selection.selectAll();
View ArticleRe: how to generate a variable name dynamically
I use something like this: var dlg = new Window('dialog','test');var newPanel = new Array();for (var i=o;i<5;i++){ newPanel[i] = dlg.add('panel',undefined);}
View ArticleRe: Make a Marquee Selection
The scripting guides says you can exclude app.document, in this case the word app. Up to this point I haven't dropped the app word when I code.
View ArticleRe: Scripting New Crop Tool
I was using SL because at that point in the program the user needs to interact with the crop and adjust it before hitting enter. I just wanted the crop box to begin at an exact location to give a...
View ArticleRe: Make a Marquee Selection
But do you understand why artset.activeDocumentis nonsensical?
View ArticleHow do I localize textstrings in the section?
I have made a Javascript that work with actions by using the <javascriptresource> and <terminology> tags. The localize function do not work or any other method I can find in Adobes...
View Articlecsv file into cs6 wanting to keep text box blank
Hi everyone, im trying to keep a text box blank in a csv file and have it then not show any text on my graphic. So some of my graphics will have the text and some have none. Please help, im also really...
View ArticleRe: csv file into cs6 wanting to keep text box blank
I wouldn't recommend using a csv file to add text to an image. Instead use the text tool in photoshop - I have attached a screen shot for you.
View ArticleRe: csv file into cs6 wanting to keep text box blank
hello and thank you, i don think i explained myself properly. i have several text layers overlapping the same space, but each outputted image will use only 1 of these different text layers, so my csv...
View ArticleRe: csv file into cs6 wanting to keep text box blank
For every seperate image you could save it and hide the text layers you do not want. Do it for the rest of the images you have. To hide layers: Click the "eye"
View ArticleRe: Make a Marquee Selection
It worked. Too much calling the app.document repeatedly. What if I placed the 'artset' in a function, and I call the function later in the script, could I still use the .parent properties or no...
View ArticleRe: How do I localize textstrings in the section?
It works pretty much the same way sort of. From ContactSheetII in PSCS6 and later: <javascriptresource> <name>$$$/AdobePlugin/PIPLInfo/PluginName/ContactSheetII=Contact Sheet...
View ArticleRe: How do I localize textstrings in the section?
Thanks for your answer. But I'm a bit confused. The Zstrings, like $$$/AETE/ContactSheet2/Source2=source from your example, are for Adobes internal use. The only way that I figured out to make the...
View ArticleRe: How do I localize textstrings in the section?
Is there any other way to make strings local in these tags or is it possible to control which dat file the local strings shall be read? There is/was a technique where you could have a set of your own...
View ArticleHow a dynamic create elements on the form ?
Hi ! I want to create color elements to form a loop and then contact them via DOM model. On example creates several rectangles, but they have the same name. How to name the objects created in the loop?...
View ArticleRe: How a dynamic create elements on the form ?
Hasn’t csuebele already recommended to do stuff like this with Arrays? You could first create an Array of names and then use that in the for-clause.Edot: Or, if no specific names are necessary, simply...
View Article