Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Browsing all 27456 articles
Browse latest View live

Re: How to apply random "random seed" value to multiple images

One could use the Filter from the DOM, too. I didn't even look to see if there was a Object Model method. But it is strange that the guide gives the range for the other values but not random seed.Maybe...

View Article


Re: How to apply random "random seed" value to multiple images

But it is strange that the guide gives the range for the other values but not random seed.Indeed it is.  As the original poster said they had a deadline in another thread I guess it does not matter to...

View Article


Re: AppleScript 'current document' seems to be broken in Photoshop CC

I've been able to narrow the problem down further. The following snippet:     tellapplication "name-of-photoshop" toexportcurrent documentin "~/1.jpg" assave for webwith options {web format:JPEG,...

View Article

Re: Find Visual Centre of an image

This works with the sample image. if(app.documents.length>0){    var white = new SolidColor();    white.rgb.hexValue = 'FFFFFF';    var doc = app.activeDocument;    var defaultRulerUnits =...

View Article

Re: How to apply random "random seed" value to multiple images

Hi guys, sorry for the late reply, I got the extension, now I have to submit it on Monday. I am using the following range for Wave filter: Number of generator: 1Wavelenght: 93 to 198Amplitude: 5 to...

View Article


Re: AppleScript 'current document' seems to be broken in Photoshop CC

Hi there, Could you please change your script as follows: onprocess_item(this_item)          setthePathtothis_itemasstring          tellapplication "Adobe Photoshop CC"  openaliasthePath...

View Article

Re: Photoshop opens itself the help page while running script

Windows? Are you crashing? Do you have to force quit Ps? Are you running any third party plugins?  Sounds like you are having errors with a dialog.  Can you get me a dump file?...

View Article

Re: How to apply random "random seed" value to multiple images

Save the script below in plain text with the .jsx extension. Replace the wave filter step in your action with a step that runs the script. The rest of the action can remain the same.// seed range...

View Article


Re: AppleScript 'current document' seems to be broken in Photoshop CC

Thank you, Jon. That seems to resolve the issue. I don't suppose there's a hidden option to control whether metadata is saved or not (and which metadata)? There doesn't seem to be an option to control...

View Article


Re: [PC / Mac] Modal vs. Non-modal ScriptUI windows issue

I am having this same problem in Adobe Bridge. On the mac side its fine. But on the PC Side with multiple windows open the window is modal and attached to the parent window. If that window is closed it...

View Article

Image may be NSFW.
Clik here to view.

Re: What why and when charIDToTypeID ?

As c.pfaffenbichler said, 4 chars strings are converted via charIDToTypeID to numbers. In effect "save" is easier to remember than 1935767141.  typeIDs are used in ActionManager code (have a look at it...

View Article

Re: Layer bounds bug

But the size of the vector mask is shown as 100px in option panel http://d.pr/i/dL5 , and if you use transform it will also show that the size is 100.00 px. And using marquee to measure results will...

View Article

Re: Suspend History State (Undo Once)

At the very least, do you know where i can put this suspend history in the big code and what structure to make it work right? You need to pack the functionality (edited) the operative parts of the...

View Article


Re: Suspend History State (Undo Once)

Like this?  app.activeDocument.suspendHistory("Pixel Specs", "pm(multiselectfontreader);");

View Article

Re: Suspend History State (Undo Once)

No. The line app.activeDocument.suspendHistory("Pixel Specs", "pm();");is probably fine. But the operation to create the text Layer obviously does not reside in the function pm.

View Article


Re: Suspend History State (Undo Once)

Sorry, I'm confused. You said to wrap the add tex layer in a function to be added inside the function pm?  The suspend history code now does not properly undo the text layer all at once, from first to...

View Article

Re: Suspend History State (Undo Once)

You said to wrap the add tex layer in a function to be added inside the function pm?No. The code that effects the creation of the text Layer should be in that one function. But as it is now the layers...

View Article


Re: Suspend History State (Undo Once)

What about the function »validateState«? That seems to create the Layer.

View Article

Re: Suspend History State (Undo Once)

great and thx, i think i'm starting to understand what you mean now....ill try it out and hopefully grab variables related to the text creations with it too so it wont be undefined errors. I never...

View Article

Re: Suspend History State (Undo Once)

Hopefully you can restructure this Script successfully. Good luck!

View Article
Browsing all 27456 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>