Chandrakanthi26574696ugut
Explorer
Chandrakanthi26574696ugut
Explorer
Activity
‎Mar 02, 2025
08:03 PM
Thanks, I am attaching a sample output . is it possible to get that output in Photoshop to identify difference ?
... View more
‎Feb 28, 2025
04:02 AM
@c.pfaffenbichler Is it possible to color the difference pixels instead of adding stroke ?
... View more
‎Feb 28, 2025
03:08 AM
1 Upvote
@c.pfaffenbichler Kindly ignore the additional request, i was able to work on that part. Thank you again for the help on entire feature request. Saved lot of scripting efforts for R&D.
... View more
‎Feb 28, 2025
01:44 AM
I am attaching the action file that creates the difference layer. Can this also be added in that script provided by you, so that a new layer will be created in similar way as in the action also. This layer should be in addition to the functionality in the script. Upload Files | Free File Upload and Transfer Up To 10 GB
... View more
‎Feb 27, 2025
11:12 PM
@c.pfaffenbichler Thanks a million for the latest amends . Its flawless. I have one more request addition to the same script, Is it possible to create one more additional layer, which will show the differences in basic difference mode , i.e blending the layers with 50 % opacity and similarity in black color ?
... View more
‎Feb 27, 2025
01:05 AM
Hi Thank you for responding. I have attached orginal file and correct files to look at the differnce. I have also attached the screenshot of major differences missing . There is a area on the top right near the barcode, where the bg color difference is not detected. Also on top the there is pixel difference is on the full length of that area, which is not marked . At the bottom the red box difference is not detected. Thank you again for the help.
... View more
‎Feb 26, 2025
11:42 PM
Thank you for taking the time and editing the code. The marking helps in identifying the differences easily. However there are 2 observations The entire area with difference is not getting marked, because the width is fixed . Can that be worked on ? Also there are some differences which are not detected, what may be the reason ? For example an entire box was missing , text alignment diffference was not detected .
... View more
‎Feb 25, 2025
01:51 AM
is it possible to mark all areas , after setting up the difference mode ?
... View more
‎Feb 25, 2025
12:56 AM
I am sharing the pdf files . Here you may not have small text difference. I am not an expert in photoshop, so i am not able to answer the queries related to resolution. In the pdf files , when there are small text differences, they are not visible to the eye. So need a mechanism to highlight each of the areas which are different in the layer.
... View more
‎Feb 24, 2025
11:46 PM
My requirement is to highlight each difference on the difference layer, after comparison of 2 layers using the Difference blend mode. Currently we are using the action for comparing and viewing the difference for pdfs. However small differences like text in small fonts are not visible on the difference layer. So I wanted to script this to highlight all the difference areas. Is this acheivable ?
... View more
‎Feb 24, 2025
11:06 PM
Hi , Did any one work on this script .
... View more
‎Sep 10, 2024
04:37 AM
Thanks for responding. The provided one line works. But the below sample code for batchplay doesnot . batchplay is used to run multiple actions . Used photopshop to import the action to script file. async function samplePixel() { return await require("photoshop").action.batchPlay([{ _obj: "colorSampler", _target: {_ref: "document",_enum: "ordinal",_value: "targetEnum"}, samplePoint: { horizontal: 100, vertical: 100 } }], {}); } let result = await require("photoshop").core.executeAsModal(samplePixel, {"commandName": "Sample Pixel"});
... View more
‎Sep 08, 2024
11:06 PM
Any help is appreciated, as we are not able to execute any scripts
... View more
‎Sep 06, 2024
02:17 AM
scripts containing batch play commands not executing after saving as .psjs in PS version 25.11 alert added at the beginning of the execution also didnot execute. I have tried placing the file in preset/scripts folder as well. Mac version - Ventura & Monterey Please let me know how to resolve.
... View more
‎Jan 23, 2024
12:38 AM
I have to resize images with specific sizes and the data is saved in a textfile. The script is not working with below version PS version 25.3.1 Mac version 12.3 Script works fine in below version PS version 25.3.1 Mac version 12.6.5 Is there any alternative for save action ?
... View more
‎Jan 23, 2024
12:29 AM
I have removed the textfile read, forloop for referencing multiple files. Below is the line throwing error executeAction( idsave, desc894, DialogModes.NO );
... View more
‎Jan 22, 2024
11:04 PM
var idopen = stringIDToTypeID( "open" );
var desc237 = new ActionDescriptor();
var iddontRecord = stringIDToTypeID( "dontRecord" );
desc237.putBoolean( iddontRecord, false );
var idforceNotify = stringIDToTypeID( "forceNotify" );
desc237.putBoolean( idforceNotify, true );
var idnull = stringIDToTypeID( "null" );
desc237.putPath( idnull, new File('/'+fp) );
var iddocumentID = stringIDToTypeID( "documentID" );
desc237.putInteger( iddocumentID, i );
var idtemplate = stringIDToTypeID( "template" );
desc237.putBoolean( idtemplate, false );
executeAction( idopen, desc237, DialogModes.NO );
var idimageSize = stringIDToTypeID( "imageSize" );
var desc736 = new ActionDescriptor();
var idwidth = stringIDToTypeID( "width" );
var iddistanceUnit = stringIDToTypeID( "distanceUnit" );
desc736.putUnitDouble( idwidth, iddistanceUnit, 200);
var idscaleStyles = stringIDToTypeID( "scaleStyles" );
desc736.putBoolean( idscaleStyles, true );
var idconstrainProportions = stringIDToTypeID( "constrainProportions" );
desc736.putBoolean( idconstrainProportions, true );
var idinterfaceIconFrameDimmed = stringIDToTypeID( "interfaceIconFrameDimmed" );
var idinterpolationType = stringIDToTypeID( "interpolationType" );
var idautomaticInterpolation = stringIDToTypeID( "automaticInterpolation" );
desc736.putEnumerated( idinterfaceIconFrameDimmed, idinterpolationType, idautomaticInterpolation );
executeAction( idimageSize, desc736, DialogModes.NO );
var idsave = stringIDToTypeID( "save" );
var desc894 = new ActionDescriptor();
var idin = stringIDToTypeID( "in" );
desc894.putPath( idin, new File( app.activeDocument.fullName ) );
var idsaveStage = stringIDToTypeID( "saveStage" );
var idsaveStageType = stringIDToTypeID( "saveStageType" );
var idsaveBegin = stringIDToTypeID( "saveBegin" );
desc894.putEnumerated( idsaveStage, idsaveStageType, idsaveBegin );
var iddocumentID = stringIDToTypeID( "documentID" );
desc894.putInteger( iddocumentID, i);
executeAction( idsave, desc894, DialogModes.NO );
... View more
‎Jan 22, 2024
01:32 AM
2 Upvotes
PS version 25.3.1 Mac version 12.3 Getting "General Photoshop error.." error for Save action. PFA screenshot Please suggest
... View more
‎Jan 09, 2024
09:26 PM
Thanks for the updates and new approach
... View more
‎Jan 08, 2024
02:39 AM
Hi There is no change in the width of the images. For few images the width is still not accurate / not same as showin in indesign transform panel.
... View more
‎Jan 07, 2024
07:59 PM
Hi Rob, Robert Thanks for looking in to the files and providing a work around. Though i am not sure of how the undo command works. Because it is placed on top of the other methods. I assumed it needs to be placed after the calculation ofthe width. However i am going to try this script. Regarding downsampling, yes I have prepared a script for resizing in PS. I was not aware of downsampling through PDF export until now. Will check that option as well. Will post further, in case of any hurdles.
... View more
‎Jan 05, 2024
07:54 PM
Hi Thank you for your valuable response and suggestions for improvising. As i mentioned in my earlier Post, only for some images the values are not accurate. After consent from my team i am sending link to the file , where i am facing this issue. Kindly download and let me know https://fromsmash.com/indesignfilesimagewidth
... View more
‎Jan 04, 2024
08:23 PM
Hi All Thanks for responding to my queries so quickly. I am pasting the script below and the indesign file against which i am running this script contains many links which i donot wish to attach here for privacy reasons . var images = app.activeDocument.allGraphics; var file = new File(Folder.myDocuments + "/inddsizes2.txt"); if (file.exists) { file.remove(); } for (var i=0; i<images.length; i++) {//images.length var eff = images[i].effectivePpi.toString(); var pp = images[i].itemLink.parent;//image var cont = pp.parent;//cont if(eff.split(',')[0] > 320){ var w = Math.round(pp.geometricBounds[3]-pp.geometricBounds[1]); if (file.exists) { file.open("a"); var newData = images[i].itemLink.filePath+"-"+w+"\n" file.write(newData); file.close(); } else { var data = images[i].itemLink.filePath+"-"+w+"\n" file.open("w"); file.write(data); file.close(); } } if(i == (images.length-1)){ alert('files marked for PS') } }
... View more
‎Jan 04, 2024
03:52 AM
To verify width i am clicking on the links from the links panel. I have tried with app.documents[0].links and app.documents[0].allgraphics Only for some links the values donot match. some are matchingthough. purpose of this script is to resize the images in photoshop using the values from indesign.
... View more
‎Jan 04, 2024
02:33 AM
Hi the script is looping through all the graphics and calculating width on geometricbounds. script is not selecting these links.
... View more
‎Jan 04, 2024
01:54 AM
10 Upvotes
Hi Is it possible to get the value shown in the width box in the tranform panel, through a script ? I have tried substracting geometricbounds values, but for every embedded link(png/psd), the values are not matching.
... View more
‎Dec 03, 2023
09:02 PM
Hi All, I had another discussion with the team. The Team is using Indesign to export to HTML and to preserve the fonts and styles. In this process the page numbering is lost. The Daisy validator is validating html files of epub for page numbers as its a must for accessibility purposes. These page numbers are used by readers, for differently abled people who will not be able to read . Hence the page numbers are being read by audio. Let me know if there is a solution for this .
... View more
‎Dec 03, 2023
07:43 PM
Thanks for all the discussion points added here. I also thought i need to inform Client that the validation for page number in HTML should be removed. However as i have heard from the team, these are new validations that have come across. Last year it was not in place. I think i am going to check the validator and if there are settings to be made. Also discuss with the corresponding team. Once again thanks for everyone's input, as it helps for beginners.
... View more
‎Dec 01, 2023
08:24 PM
Hi Thanks for understanding. We do understand HTML and its one page flow. However when we need to validate epub for HTML, there are validators which reject these HTML files because of missing Page numbers. Hence plan is to add page number differently and after HTML generation convert those tags to anchor tags. As i am a beginner, can i get a script to add pagenumbers under different tag.
... View more
‎Dec 01, 2023
04:08 AM
10 Upvotes
Is there a way to preserve page number(or convert page number to body text at the bottom) after exporting file to HTML.? This is required as validation of HTML file , failes in some validators because of missing Page numbers.
... View more