how resize layer with a big image on size of layer mask ?
Hi allHow to resize the image on the layer mask? * document - doc.width, doc.height* mask - activeLayer.bounds* and how to take the coordinates in the image with the mask if the image is larger than...
View ArticleRe: how resize layer with a big image on size of layer mask ?
When you disable the Layer Mask you should get the bounds of the Layer’s pixel content.
View ArticleWhy does textInput.tracking not return a value ?
Instead it throws an exception "This functionality may not be available in your Photoshop Version" or something of the kind. I can use the functionality, obviously, which is why this confuses me...
View ArticleRe: Why does textInput.tracking not return a value ?
I have come across something like this with leading in the past. There is a default value for leading ("(Auto)") that will return an error for alert...
View ArticleRe: Why does textInput.tracking not return a value ?
Well in that case it would make sense, but in mine, I don't get why it throws an exception related to unavailable functionality, while the functionality is there.I would expect it to return any type of...
View ArticleRe: how resize layer with a big image on size of layer mask ?
// 2014, use it at your own risk;#target "photoshop-70.032"if (app.documents.length > 0) {var ref = new ActionReference();ref.putEnumerated( charIDToTypeID("Lyr "), charIDToTypeID("Ordn"),...
View ArticleRe: Re: Save error 8800 on some computers but not others
Thanks, Tom. That was a good thought. It is not creating the folder on the other computers. So as you suspected, that’s why it’s failing on the saveAs line. So here is the code for creating the 2...
View Articlescript to find specific font and copy to a new document
I am working on a scripting solution to help break out files for production. What I need to do is search through a PSD, find any text objects that are in a specific font, and if they match, copy them...
View ArticleRe: Console Output
Unless I'm doing this wrong, when I put a $.writeln() statement in a jsx file that is called from html js (for the extension panel), it does nothing other than make the script stop. Only Alert() seems...
View ArticleCreated white box, Photoshop CS4 js
Hi, I need to create white box on the canvas. Here what I have and it's not working: var mySelection = [1.2, 0.35,0.72, 1.65]; doc.selection.select(mySelection); doc.mySelection.fill (swatch...
View ArticleRe: Console Output
My mistake. Photoshop JSX, not directly. If you run your script directly from ESTK (target Photoshop) then they will show. This is how I usually debug. Create a BridgeTalk message and send it to ESTK....
View ArticleRe: Re: Save error 8800 on some computers but not others
That is something I cannot answer. I would chat with your server IT guy and see if they can help. Does it always fail? Can the user manually create the folder without error? Is the user an admin on the...
View ArticleRe: Re: Re: Save error 8800 on some computers but not others
Yeah it's a mystery. For all intents & purposes, the computers should be the same. And users have admin access. The problem happens even when everything is done on the local hard drive. So I've...
View ArticleRe: Created white box, Photoshop CS4 js
I got my selection working. Now I need to assign the white fill to it. Here what I have so far:var doc = app.activeDocument;var oldUnits = preferences.rulerUnits;preferences.rulerUnits = Units.PIXELS;...
View ArticleRe: how resize layer with a big image on size of layer mask ?
how resize mask or delete it ?
View ArticleRe: how resize layer with a big image on size of layer mask ?
For deleting the Layer Mask I recommend recording Action Manager code with ScriptingListener.pluginResizing it should be possible in DOM by selecting it (as the sole content of an Array for...
View ArticleGroups to JPEG in Photoshop CS6
Good morning I see this topic has been raised here before and have tried the scripts in the thread but they return errors using CS6.What I'd like to do is what 'Export Groups to Files' only for TOP...
View ArticleRe: Re: how resize layer with a big image on size of layer mask ?
//For deleting the Layer Mask I recommend recording Action Manager code with ScriptingListener.pluginI'm write script on delete LM in ScriptListener, but it not worked ! var idsetd = charIDToTypeID(...
View Article