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

Re: selection.bounds operation?

I'm looking for some functionality like this a little bit more complicated 1. Find rulers zero point or top left corner of document2. Show dialog and ask user for coordinates - lets say in pixels.3....

View Article


How to open an image in the same folder as a script (relative path)

Using Javascript with Photoshop CC (on Windows), I'm trying to create a script that will create a new document of certain dimension size, open an existing image alongside it, and paste it in as a new...

View Article


Re: How to open an image in the same folder as a script (relative path)

// Find the location where this script residesfunction findScript() {  var where = "";  try {  FORCEERROR = FORCERRROR;  }  catch(err) {  // alert(err.fileName);  // alert(File(err.fileName).exists);...

View Article

Re: How to open an image in the same folder as a script (relative path)

Thanks for your response. I've just started with Javascript scripting in Photoshop so I'm still just a bit confused though .  The code you've provided will return the location on my computer of where...

View Article

Re: How to open an image in the same folder as a script (relative path)

I don't know javascript I just can hack others code. // Find the location where this script residesfunction findScript() {  var where = "";  try {  FORCEERROR = FORCERRROR;  }  catch(err) {  //...

View Article


Re: Re: How to open an image in the same folder as a script (relative path)

The folder of the script? Why not: alert(File($.fileName).parent.fsName); (but only if script is already saved) Have fun 

View Article

How can I imput the .html button into the header, like on Essaymama.com?

Hi all I have the site - EssayMama.com . Also I have another site and I need to create the same header, with html button in my pic. Can I make it with Photoshop or I need some special tool? Also it...

View Article

automatically fill selection

Hello, I'm trying to find a way to automatically fill a selection: the objective is to have a workflow with the lasso tool where upon lifting/closing the selection, it would be filled automatically...

View Article


Image may be NSFW.
Clik here to view.

Re: How to open an image in the same folder as a script (relative path)

$.fileNme works in CS3+. JJMack's technique works for CS2+ but will behave oddly if include files are used in CS3 and possibly later revs. Nothing works in PS7 or CS.

View Article


How to create a new color book library by selecting colors from images.

Basically i want to select RGB value from multiple images and want to save them as new colors by creating a new swatch. Also I should be able to load that ACO file later on and append more colors to...

View Article

Re: Re: How do I find the font for a specific character in a textItem?

Works like a charm! Sorry for the delayed response, but I've been working on some other scripts. I of course tested it first with the 2 fonts that didn't play nice together in the same text box. I...

View Article

Re: How do I find the font for a specific character in a textItem?

Is there a way to spit out all attributes of a given object other than just alert()?You could write it in the console $.write(/**insert your text here/)or write to a file or create another text layer...

View Article

Re: automatically fill selection

Have you tried using the Freeform Pen Tool instead?

View Article


Re: How do I find the font for a specific character in a textItem?

That's what I was hoping for! I guess what I'm looking for is similar to var_dump in php. But I've googled it, and it seems my assumption was correct and the best way to do that is through a for loop.

View Article

Image may be NSFW.
Clik here to view.

Re: automatically fill selection

I do not understand what he means " automatically fill a selection: tool where upon lifting/closing the selection"   The Free form Pen tool  when set to Shape mode cam fill and stroke am new shape...

View Article


Re: How do I find the font for a specific character in a textItem?

I revised this loop someone had created and it works perfectlyfunction dump(obj) {    var out = '\n\n//Begin Dump \n';    for (var i in obj) {        out += i + ": " + obj[i] + "\n";    }...

View Article

Re: automatically fill selection

thanks a lot guys, that is pretty much what I'm after.  just to clarify basically i'm looking to get a silhouette of a character for example for design purposes, so using the lasso like a brush in a...

View Article


Can you play a sound using a script in Photoshop?

I'd like to play an audio alert once my script finishes running, I looked up some options online, but I can only find reference to how to play sound using javascript and html5.

View Article

How do I make a loader image similar to those shown at program opening?

I'm looking to build a loader image, that opens up at the start of my script, and automatically closes after a few seconds. I opened up the image processor script to see how Adobe has added images to...

View Article

Re: How do I make a loader image similar to those shown at program opening?

This script shows how to open a ScriptUI dialog and populate it with an image.http://ps-scripts.cvs.sourceforge.net/viewvc/ps-scripts/xtools/xlib/PreviewWindow.jsx It, however, has a 'Close' button...

View Article
Browsing all 27456 articles
Browse latest View live


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