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

Image may be NSFW.
Clik here to view.

Re: Photoshop layer move and layer duplicate event ids

I've uploaded the source files for Flash Develop, I've made the listener for the move event also. but I don't know if it works with CC, maybe the flash panels are still supported, but you can read the...

View Article


Re: How to delete a document if I press escKey while running a script. Please...

Hi JJMack!Do you have an example of handling keyboard that I can trigger to delete a document?I'm sorry for asking to much.Thank you so much for your time.Nico,

View Article


Layer comps ID and name

Hello all,  I'm facing unusual problem currently. In CC 2014 it's now possible to switch right in main document layer comps of placed files (smart objects or linked). Properties panel shows layer comp...

View Article

Image may be NSFW.
Clik here to view.

[ANN] Public release of Create Color Ramp script

I recently released an open-source script (for Photoshop CS4 or later) called Create Color Ramp which is used to create a 256-color ramp programmatically, using mathematical formulas expressed in one...

View Article

Does ExtendScript Have Garbage Collection?

I am learning to script PhotoShop using JavaScript (ExtendScript). On page page 20 of the PhotoShop Scripting Guide CC 2014, a simple "hello world" script is presented. At the end of this script the...

View Article


Re: How to delete a document if I press escKey while running a script. Please...

I relay don't know javascript I mostly search and cut an paste what I need. I did need to handle keys for one of my hacks.  To allow only some keys in a dialog fields.   I do not know if code like that...

View Article

How to measure/scale text to fit desired width?

I would like to measure the width of a given word or words (not a paragraph) when rendered with a given font and font size. Let's say I have the code below that creates a new document, layer, and text:...

View Article

Image may be NSFW.
Clik here to view.

Re: How to measure/scale text to fit desired width?

The layer has a property "bounds" from which you can calculate the width. var width = textLayer.bounds[2] - textLayer.bounds[0];

View Article


Re: Does ExtendScript Have Garbage Collection?

Yes ExtendScript has Garbage Collection… I've never had the need to use… blah = boo = foo = null; // I see very few users bothering to do this… There is also the $.gc() method available too…

View Article


Re: How to measure/scale text to fit desired width?

There is no relationship between point/pixel size and character width… I don't think there is an alternative to set, measure and calculate…

View Article

Re: batch transfer of Paths between files

Have you checked out this thread yet? http://forums.adobe.com/thread/1450204?tstart=0

View Article

Re: change save to jpg to tiff

Please try this: // 2014 , use it at your own risk;#target Photoshopapp.bringToFront; var inFolder = Folder.selectDialog("Please select folder to process");  if(inFolder != null){ var fileList =...

View Article

Changing a script to save as PSB rather then PSD

Hi All I've got a script that works exactly how I want it but it's saving as PSD and my files are too big. Does anyone know how to make it save as PSB? Thanks loads for any assistance! Will  // select...

View Article


Re: Changing a script to save as PSB rather then PSD

Can you not just record that part with scriptlistener plug-in…?

View Article

Re: Changing a script to save as PSB rather then PSD

In all honesty I had no idea such a thing existed.! I'll do a search and have a go.  Thanks Mark

View Article


Re: Re: Changing a script to save as PSB rather then PSD

Your placeScaleFile function is a scriptlistener recording… I guess someone else provided this snippet then…  function saveAsPSB( filePath ) {  function cTID(s) { return app.charIDToTypeID(s); };...

View Article

Re: batch transfer of Paths between files

Thank you for your continued interest in helping! That script looks extremely promising but I'm not able to make it work. Could you elaborate on the recommended workflow and file/folder...

View Article


Re: batch transfer of Paths between files

I tried changing the file names to be exactly the same and the script still goes nowhere after being directed to the Paths folder. Is it possible the script isn't compatible with CC 2014?

View Article

Image may be NSFW.
Clik here to view.

Re: Does ExtendScript Have Garbage Collection?

Thanks!

View Article

Re: batch transfer of Paths between files

You are supposed to select the folder that contains the psd files that don’t have the paths, the Script looks for the "Paths" folder itself (and the names need to be identical except for the file...

View Article
Browsing all 27456 articles
Browse latest View live


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