Re: Photoshop: Get a document's last modified date using ExtendScript?
app.activeDocument.path.modified
View ArticleRe: Photoshop: Get a document's last modified date using ExtendScript?
Thanks - is there a way to check a file via system shell? One that is not loaded in the application?
View ArticleRe: Photoshop: Get a document's last modified date using ExtendScript?
var f = File("~/Desktop/image.jpg");f.modified
View ArticleRe: getFile
THANKS xbytor2!Do you know where to find good working pieces of jsx samples by subjects (IE: folder and file management) ? have a nice weekend
View ArticleRe: getFile
ps-scripts - Browse /xtools/v2.1 at SourceForge.net Especially in xtools/xlib/stdlib.js.
View ArticleCheck the number of historysnapshots?
Hello, I'd like to know how to implement one of those alternatives:a) get the total number of History Snapshots.b) check if a specific snapshot exists. c) Jump the error message if the snapshot doesn't...
View ArticleRe: Selecting the brightest pixels
Can you please tell me what do you mean by saying "the-while clause"?
View ArticlePhotoshop 2014.2 bug with duplicating layers in different doc
Encountered an issue with Photoshop 2014.2 that occurs when I try to use some_basic_bitmap_layer.duplicate(some_layer_in_different_doc, ElementPlacement.PLACEAFTER). So this is code that has been...
View ArticleHow to insert EXIF date time data on photo using Photoshop CS5.5
Is there any script or function available in photoshop CS5.5 which can help me in inserting date time from EXIF onto the photograph.An automated solution which can do multiple images at once will be...
View ArticleRe: Photoshop 2014.2 bug with duplicating layers in different doc
Matias Kiviniemi,please show us a screenshot of your picture including the layers palette and also the real Javascriptcode. Otherwise: Sorry, my crystal ball is on repairs...
View ArticleHow can I create a curves adjustment layer in JavaScript?
I've been trying a few different approaches along the lines of: var newLayer = activeDocument.artLayers.add(); // Create a new ArtLayer object newLayer.name = "MyLayer"; // name it for later...
View ArticleRe: Re: Photoshop 2014.2 bug with duplicating layers in different doc
It's quite complex.. Before the offending line several hundreds of lines code has been run. But I managed to squeeze it to a small replicable format. I.e. below code runs in CC2012 but fires an...
View ArticleRe: Re: Re: Photoshop 2014.2 bug with duplicating layers in different doc
Okay, thx.I do not work with CC – but did you check this? var original_doc = app.activeDocument; var copy_doc = original_doc.duplicate("copy_doc", false); // duplicate original var export_doc =...
View ArticleRe: Re: Photoshop 2014.2 bug with duplicating layers in different doc
Thanks. They are checked for being locked and can't be background since in the real case it'll always be a layer in group. Invisible it might be, but has not mattered so far. And in the example PSD...
View ArticleRe: Selecting the brightest pixels
How many instances of the word "while" can you find in the code? The stuff in the round brackets after "while" defines the condition, the stuff in the curly brackets defines what is to be done so long...
View ArticleRe: How can I create a curves adjustment layer in JavaScript?
Have you tried to see if ScriptingListener.plugin records code for this?
View ArticleRe: Selecting the brightest pixels
I found only one instance of the word "while". Can you please tell me what you mean by saying ""theIndex" was reduced by 1". What does number one indicate?
View ArticleHow to automatically remove distortion on image with many vertical/horizontal...
Hi. I need to make image of PCB (printed circuit board, that is board that placed inside of any electronic device) with both sides of it. The image should have no optical distortions, because I need to...
View ArticleRe: Selecting the brightest pixels
You are familiar with subtraction? Edit: theIndex starts being 255 – each time the while clause iterates (the operations therein are performed) the number gets smaller by one as indicated by the line...
View Article