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

Re: adjusting a copy/paste layer

re-size() activeDocument.activeLayer.resize(percentageChange,percentageChange,AnchorPosition.MIDDLEC ENTER);

View Article


weight of gif animation changes

When I "save for web" a gif animation in photoshop its optimized at 72k.  I then check it in file manager and its 102k???!!!  I've made many web banners this is the first time it's ever done this.

View Article


Image may be NSFW.
Clik here to view.

how to get any location of image color data?

// =======================================================var idsetd = charIDToTypeID( "setd" );    var desc1197 = new ActionDescriptor();    var idnull = charIDToTypeID( "null" );        var ref958 =...

View Article

Re: how to get any location of image color data?

roychen wrote:   i draw Rectangle (1px x 1px)...i want to get any location of image color data, Can be achieved by javascript? pls help meIf the rectangle you draw out is a selection the selection has...

View Article

Re: weight of gif animation changes

When you do the save for web are you saving any meta-data or striping it all.

View Article


App.open options when opening a newer version photoshop file by an older...

So, where I work, we have a script that handles all of our heavy lifting.  This script is running on CS6, and all of the users are running CC 2014.  Now when the CS6 machine opens a document with any...

View Article

Re: Watch Folder

This tutorialis greatand works well with CS6 and Windows 7-64 !Nice workBut beware: the hotfoldermust be named "HotFolder"... That's perhapsitdoesnt work ;o)(I first called mine "watchfolder" after...

View Article

Re: adjusting a copy/paste layer

working from KKMack's you may also want to make it a smart object before you paste it into the new document.

View Article


Re: Re: Photoshop Script - access UI layout within variable?

Check the docs. They have a decent section on automatic widget layout. I've never used it because the layout algorithm would change in unexpected ways as new versions of PS were released. With manual...

View Article


Create Script to Append a Filename as Part of an Action

I have an image, and I have a handy action that saves it, crops it, saves it again, crops it differently, and saves it one more time. Right now, I have two options for those saves--I can either save...

View Article

Repeat event across all open document tabs

Hi there,I'm trying to have it that hitting a hot key combination would start listening for the next user event (let's say select the background layer) in my active document and then replicate this...

View Article

Re: App.open options when opening a newer version photoshop file by an older...

app.open will encounter problems that you really have no control over so you get an annoying dialog that you can't do anything with. The one that caused me the most grief is when a script tries to open...

View Article

Re: Re: how to get any location of image color data?

This will only work if you make a selection:  #target photoshop var doc = activeDocument; doc.colorSamplers.removeAll(); var pt = [doc.selection.bounds[0],doc.selection.bounds[1]]; var sampleColor =...

View Article


Re: App.open options when opening a newer version photoshop file by an older...

haha, go figure there isn't anything.  oooh extendscript, the love hate relationship we have.   Thank you very much xbytor2.  Thats a good enough for me for the gold star! 

View Article

Re: Re: how to get any location of image color data?

For a single pixel in CS3+, try this:  function getColorAt(doc, x, y) {  var sample = doc.colorSamplers.add([UnitValue(x, "px"), UnitValue(y, "px")]);  var clr = undefined;  try { clr = sample.color; }...

View Article


Re: Adding options to a button?

You can pass in the needed Creation Properties like this: obj = w.add('panel', [45,50,350,135], 'Title', { alignChildren : 'fill',  orientation : 'row', margins : 15 } );  or (probably) set them...

View Article

Re: Changes to Photoshop CS5 and Applescript

This is the biggest problem Adobe has. They laid off a couple of the wrong people. They should have kept a couple of the OS gurus.  I've had to manually to into the registry to link photoshop,...

View Article


Image may be NSFW.
Clik here to view.

Re: Create Script to Append a Filename as Part of an Action

An other option is to use the Image Processor Pro script. You would  create several actions to do the different crops you want make to the original size document not a crop of crop of a crop down to...

View Article

Difference between variable UI layout and add() method UI layout?

Hi there, What is the difference between a variable UI layout and add() method UI layout? Variable UI layout is something like this:  var windowResource = "palette {  \    orientation: 'column', \...

View Article

Re: Repeat event across all open document tabs

I have never tried it. However I have seen in the Script Event Manager there is an "Everything" event that you can set up to be triggered..   Your hot key may be able to set up an event handler for...

View Article
Browsing all 27456 articles
Browse latest View live


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