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

Re: how to convert pixels in mm ?

Pixels are not physical units of measurement. They are computer data units that define a raster image. You can have 1000 pixels and decide whether they print to 1 mm, 1 cm, or 1 meter in length. It...

View Article


Re: how to convert pixels in mm ?

My last solution is used Photoshop patameters and Photoshop factor, I'm happy ^-)

View Article


Re: how to convert pixels in mm ?

Resolution is what connects pixels with real world. Printing standard of resolution is 300ppi, that means the 'density' of pixels is 300 pixels per inch.

View Article

Re: how to convert pixels in mm ?

When using UnitValue objects you can have it convert between unit types. app.preferences.rulerUnits = Units.MM;// or any other unit except percentvar rmm = doc.width;alert(rmm.as('px'));

View Article

Re: Is it worth it for me to learn scripting in PS?

We ar eusing CS5. Have there been significant changes to the way scripting works in CS6/CC?

View Article


Image may be NSFW.
Clik here to view.

Re: how to convert pixels in mm ?

my variant (all correct): #target photoshopvar doc = app.activeDocument ; app.preferences.rulerUnits = Units.MM;rmmW = doc.width.value;app.preferences.rulerUnits = Units.PIXELS;rpixW =...

View Article

Re: Is it worth it for me to learn scripting in PS?

I can not answer about CC. There were big changes made to scripting in CS2 and in CS3 Plug-in was added and that was update in CS4.  Michael, The now missing Paul, and X know more about scripting and...

View Article

Re: Is it worth it for me to learn scripting in PS?

CC caused someone to leave the forums? Is it THAT bad?

View Article


Image may be NSFW.
Clik here to view.

Re: how to convert pixels in mm ?

  var doc = app.activeDocument; app.preferences.rulerUnits = Units.MM; rmmW = doc.width.value; app.preferences.rulerUnits = Units.PIXELS; rpixW = doc.width.value;  var PixMm = rpixW/rmmW;// :-) var...

View Article


Re: Is it worth it for me to learn scripting in PS?

There are some changes with CS6 and CC. Mostly either bugs or bug fixes. CC does have some new scripting features. But all versions since Photoshop 7 have some scripting bugs and new features. Those...

View Article

Re: how to convert pixels in mm ?

Sorry, I was not trying to say your variant does not work. I was just pointing out how to use less code and take advantage of the UnitValue method.

View Article

Re: Is it worth it for me to learn scripting in PS?

Here is a link for you then http://forums.adobe.com/message/5394706#5394706

View Article

Re: Is it worth it for me to learn scripting in PS?

Michael,do you happen to have a list of the CC new features?Thanks, Davide

View Article


Re: Is it worth it for me to learn scripting in PS?

No, I don't have a list of new features. And I was grouping CS6 and CC together. When I last checked Adobe had not made the CC scriptig ref available to download yet. I do know that Photoshop CC...

View Article

"No Such Element". Intro to scripting.

Okay...   Here's my basic script. Cut and pasted from Adobe's Intro to Scripting PDF for CS5. I run it and it produces a "No such element" error in line #2. I want to understand why the very first...

View Article


Re: "No Such Element". Intro to scripting.

If you look at that PDF again you will see that you copied an Illustrator script. Each app has it's own Object Model. There are some overlaps but you are better off using the Photoshop JavaScript...

View Article

Re: Is it worth it for me to learn scripting in PS?

Mike,  I've noticed this with the ESTK on my system as well.  Its very annoying. And I too am waiting for the CC scripting ref to be available... why isn't it? As a person who scripts alot by getting...

View Article


Re: Is it worth it for me to learn scripting in PS?

Since CS4 new code from Adobe has been buggy you need to get use to that. Personally I'm fed up with Adobe introducing more and more new bugs. I'm staying with CS6 where I know where the bugs that...

View Article

Re: Is it worth it for me to learn scripting in PS?

I hear ya.  I keep a version of CS3 on my computer just for the great scripting listener feedback.  CS3 will kick out actionmanger codes I cant find anywhere else.  Its an essential.

View Article

Re: Dialog Box

Thank a lot. I finally made up a total different script based on your remark and Its works. Thks a lot

View Article
Browsing all 27456 articles
Browse latest View live


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