Photoshop script help
Please help.
I need a script that will do the following:
I have a bunch of sequential storyboard panels and a single storyboard template. I would like a script that will open up the storyboard template, then open up, in order, two storyboard panels, then paste them (in a specific place) into the storyboard template, then save them with an automated naming convention, then continue doing this for all the sequential storyboard panels.
i don't think this can be done with actions, It will need to be done with a script.
If anyone can help, I would really really appreciate it.
Thank you.
Ben
You've got the wrong forum, this forum is about the Community Help application, please ask your question in the Photoshop Scripting forum:
http://forums.adobe.com/community/photoshop/photoshop_scripting
Similar Messages
-
The way I provide help for my Photo Collage Toolkit no longer works is it a CC bug or do I have to find a new way to launch a web browser?
URL.execute(); //??????
// A Photoshop Script by JJMack's
// This script is supplied as is. It is provided as freeware.
// The author accepts no liability for any problems arising from its use.
#target photoshop
app.bringToFront();
<javascriptresource>
<name>HelpPhotoCollageToolkit</name>
<about>$$$/JavaScripts/HelpPhotoCollageToolkit/About=Web Help for JJMack's Photo Collage Toolkit.^r^rCopyright 2010 Mouseprints.^r^rOpen Browser Toolkit Help Page</about>
<category>JJMack's Collage Script</category>
</javascriptresource>
try{
var URL = new File(Folder.temp + "/PhotoCollageToolkit.html");
URL.open("w");
URL.writeln('<html><HEAD><meta HTTP-EQUIV="REFRESH" content="0; url=http://www.mouseprints.net/old/dpr/PhotoCollageToolkit.html"></HEAD></HTML>');
URL.close();
URL.execute(); // The temp file is created but this fails to open the users default browser using Photoshop CC prior Photoshop versions work
}catch(e){
alert("Error, Can Not Open.");http://forums.adobe.com/message/5666770#5666770
-
Call Photoshop script from Indesign script CS4 JS
Hi, I open Photoshop linked file from InDesign in Photoshop and I need same InDesign script to run Photoshop script on the file. How I can call the Photoshop script from InDesign script.
Thank you very much for your help.
YuliaThank you, Kasyan.
800 lines of script is little be intimidating.
What we are trying to achieve is to open jpgs in Photoshop and resave them as tiffs and replace same jpg with corresponding tiff in Indesign as it was placed before.
Is there a way to call Photoshop from Indesign through appleScript.
I have most of the script done for Indesign and I have Photoshop shript ready that saves jpgs as tiffs done. I am only missing the part where I can call this existing Ph. script from Indisign.
We prefer not to use BridgeTalk if possible, because we have a lot of programs open and running in the same time, and would like to avoid to open one more program (BridgeTalk).
Thank you very much for your great help.
Yulia -
Hi,
Please help me for this.
I need to create XML file for mentioned below. when i run the photoshop script i need deatails for active document name, date, time and status.
<?xml version="1.0" encoding="UTF-8"?>
<sample>
<filename>Cradboard_Boxes_Small.tif</filename>
<date>today date</date>
<starttime>now</starttime>
<status>delivered</status>
</sample>
<sample>
<filename>Cardboard_Boxes_Student_Vaue_Pack.jpg</filename>
<date>today date</date>
<starttime>now</starttime>
<status>delivered</status>
</sample>
I need read that xml after creating and modify based on file name. i need to modify status after file finished.
if the file name is already exist i want to modify or delete or add whatever i need.
Kindly help me simple wayYou may want to look into getting Xtools ps-scripts - Browse Files at SourceForge.net then. Most of the support is for ActionManager script code where XML code is use as an intermediate step. There are quite a few Photoshop script in XTools . Ross Huitt is an expert javascript programmer though is is fed up with Adobe's lack of support for Photoshop scripting particularly the bugs in ScriptUI he is still maintaining tool he has created for us free of charge. Tools like Image Processor Pro. None of his scripts are save as binary so you can read all of his code there is a wealth of knowledge in there....
Also there is a scripting forum Photoshop Scripting -
Call photoshop script in illustrator
HI
i want to call photoshop script via illustrator cs5 to open eps file and save it as Tiff
i tried with following script i couldn't achive
sourceFolder = Folder.selectDialog( 'Select the folder');
var epsOpts =' new EPSOpenOptions();';
epsOpts+='epsOpts.antiAlias=true;';
epsOpts+='epsOpts.mode=OpenDocumentMode.RGB;';
epsOpts+='epsOpts.resolution=300;';
epsOpts+='epsOpts.constrainProportions=true;';
if ( sourceFolder != null )
files = sourceFolder.getFiles("*.eps");
var outputFolder = new Folder (decodeURI (sourceFolder) + "/Output");
if (outputFolder.exists == false)
outputFolder.create();
else
alert ('their are no eps files in selected folder');
if ( files.length > 0 )
for ( s = 0; s < files.length; s++ )
doc = app.open(files[s]);
function check(doc);//i here call the illustrator function to check font color etc...
var document = 'open(doc,epsOpts);';
var psScript = 'app.displayDialogs = DialogModes.NO;';
psScript += 'app.open(' + document.toSource(),epsOpts + ');';
psScript += 'app.activeDocument.close( SaveOptions.SAVECHANGES );';
psScript += 'app.displayDialogs = DialogModes.ALL;';
tiffSaveOptions = 'new TiffSaveOptions();';
tiffSaveOptions+='tiffSaveOptions.imageCompression = TIFFEncoding.TIFFLZW;';
psScript +='var docn='documentName.slice (0, -4);';
psScript +='var newFile = new File (decodeURI (outputFolder) + "/" +docn+ ".tif");';
psScript +='document.saveAs(newFile,tiffSaveOptions,true,Extension.LOWERCASE);';
psScript +='document.close(SaveOptions.DONOTSAVECHANGES);';
btMessaging( 'photoshop',psScript,epsOpts,tiffSaveOptions );\\here calling photoshop script to open the checked figure
function btMessaging( targetApp, script,,epsOpts,tiffSaveOptions )
var bt = new BridgeTalk();
bt.target = targetApp;
bt.body = script;
bt.onResult = function( inBT )
alert( 'Done…' )
bt.onError = function( inBT )
alert( 'NOT Done…' )
help to open eps file through bridgetalk and save it as Tiff
Thanks
AppuCan you NOT just move the compoundPathItem's pathItems to another location before/after? Kind of like this…
#target illustrator
var docRef = app.activeDocument;
with(docRef) {
with(compoundPathItems[0]) {
var x = pathItems.length;
for (var i = x-1; i >= 0; i--) {
pathItems[i].move(compoundPathItems[0], ElementPlacement.PLACEBEFORE); -
HI
I am new to this whole scripting for photoshop and hope someone could help me along.
What i am looking for is to either create an Adobe Photoshop script, or with flash builder build an photoshop extension that does the following.
On a server i have a folder that gets a folder for each day of the month (eg. ../december 2012/01 december). in this folder each day there are .PSD files created. I would love to have a scipt that opens the .PSD files that are in the todays folder then resizes the image from 1024*576 to 720*576 and save it on a diferend server in the todays folder as a .JPG. and then have a popup message showing which images where succesfully saved to the new location.
Right now i am using a simple .exe file with the following script to kopie teh files from location A to B but i have to manualy make the jpegs or run the image procesor for this job which doesn't work with sharing an action with multiple users.
The copie script is Use:
@ECHO OFF
CLS
SET sourceDir=\\172.16.200.9\vormgeving\TV\!BrabNieuws 2007\dve
SET destDir=\\172.16.200.155\dve\BRABANT NIEUWS
SET jaar=%date:~-4,4%
SET mnd=%date:~-7,2%
SET dag=%date:~-10,2%
SET pse==%1
IF %mnd%==01 SET maand=Januari
IF %mnd%==02 SET maand=Februari
IF %mnd%==03 SET maand=Maart
IF %mnd%==04 SET maand=April
IF %mnd%==05 SET maand=Mei
IF %mnd%==06 SET maand=Juni
IF %mnd%==07 SET maand=Juli
IF %mnd%==08 SET maand=Augustus
IF %mnd%==09 SET maand=September
IF %mnd%==10 SET maand=Oktober
IF %mnd%==11 SET maand=November
IF %mnd%==12 SET maand=December
ECHO De DVE's van vandaag worden naar de dagmap (%jaar%-%mnd%-%dag%) gekopieerd!
ECHO .
COPY "%sourceDir%\%maand% %jaar%\%dag% %maand%\*.psd" "%destDir%\%jaar%-%mnd%-%dag%"
ECHO Y | DEL "%destDir%\%jaar%-%mnd%-%dag%\dve standaard.psd" > NUL
if "%1"=="" PAUSE
I hope there is someone out there that can help me on my way.
Thanks
Salvador
Ps. I already tried working with actions and a simple script that envoked the action file but thats just not stable enough.JJMack wrote:
I still do not understand you showed part of a dos bat file that copies a single psd file from one remote ip resource to a different remote ip remote resource before the copy some non english message is displayed. the copy is done which should put out a message one file copied then the original file is deleted off the first remots resource hidding the delet message. I see nothing to do with Photoshop nothing that dose any resize and don't understand why you would slow down the copy by transporting the data across the network twice once woul be faster. I would set up a remote process where remote resource 1 would do the copy to remote resource 2. At first I tought you were describing a server batch update process the would run on some schedule. Now it looks like distrinuted remote users are moving a file from one machine to an other. Where does the resize come in where does Photoshop Scripting come in?
SET sourceDir=\\172.16.200.9\...
SET destDir=\\172.16.200.155\...
ECHO De DVE's van vandaag worden naar de dagmap (%jaar%-%mnd%-%dag%) gekopieerd!
ECHO .
COPY "%sourceDir%\%maand% %jaar%\%dag% %maand%\*.psd" "%destDir%\%jaar%-%mnd%-%dag%"
ECHO Y | DEL "%destDir%\%jaar%-%mnd%-%dag%\dve standaard.psd" > NUL
Hi JJMack,
Right now the resizing is done maunually. This is the work procces; there are a bunch of .psd files created these get saved in ..\\ntsrob22s\vormgeving\TV\!BrabNieuws 2007\dve\february 2012\07 february\.
After these files get aproved they get maunualy distorted from 1024*576 to 720*576 and saved as a JPEG in ..\\ntsrob22s\vormgeving\TV\!BrabNieuws 2007\dve\february 2012\07 february\JPEG\. After the person is done they execute this file
@ECHO OFF
CLS
SET sourceDir=\\ntsrob22s\vormgeving\TV\!BrabNieuws 2007\dve
SET destDir=\\media-storsvr\dve\BRABANT NIEUWS
SET jaar=%date:~-4,4%
SET mnd=%date:~-7,2%
SET dag=%date:~-10,2%
SET pse==%1
IF %mnd%==01 SET maand=Januari
IF %mnd%==02 SET maand=Februari
IF %mnd%==03 SET maand=Maart
IF %mnd%==04 SET maand=April
IF %mnd%==05 SET maand=Mei
IF %mnd%==06 SET maand=Juni
IF %mnd%==07 SET maand=Juli
IF %mnd%==08 SET maand=Augustus
IF %mnd%==09 SET maand=September
IF %mnd%==10 SET maand=Oktober
IF %mnd%==11 SET maand=November
IF %mnd%==12 SET maand=December
ECHO The PICs are copied to the BRABANTNIEUWS day folder and are ready to be used by pixelpower (%jaar%-%mnd%-%dag%) gekopieerd!
ECHO .
COPY "%sourceDir%\%maand% %jaar%\%dag% %maand%\JPEG\*.jpg" "%destDir%\%jaar%-%mnd%-%dag%"
ECHO Y | DEL "%destDir%\%jaar%-%mnd%-%dag%\dve standaard.JPG" > NUL
if "%1"=="" PAUSE
This looks in the folder ..\\ntsrob22s\vormgeving\TV\!BrabNieuws 2007\dve for the folder of 'today' and copies all the JPEGs to ..\\media-storsvr\dve\BRABANT NIEUWS\ into todays folder.
What i would like to create is that after they have created all the PSD files and they are aproved, all they have to to is run a Photoshop script or extension that opens all the PSD's that are in the 'today' folder -> then resizes those to 720*576 and save them in the \\media-storsvr\dve\BRABANT NIEUWS\"todays month"\"todays date" and overwrites if there is one with a simular name already.
Thx,
Salvador -
Photoshop scripts within Actions
Ok so I am currently trying to run a photoshop script within an action specifically Image processor.
I can include the script by importing menu item although evyerthing i run the action i have to set up the script aka choose folder locations etc.
My question.. is there a way to set the defaults so that the action automatically runs the script?
Please help its driving me mad!Not sure what you mean exactly, but that the dialog is raised when you trigger Image Processor seems as expected.
Why an Action anyway and not a proper Script for the whole operation? -
Run Photoshop script from Bridge
Hi
I have a modified version of Image Processor script in photoshop scripting folder (it saves RAW files as smart objects) and would like to run it from Bridge (apply to selected images). Right now I can run script from File > Scripts Photoshop menu but not in Bride Tools > Photoshop
Thank you
The help will be appreciatedIts Not Adobe Code and its not shipped with Photoshop. Photoshop versions also has bugs in ScriptUI which is used by scripts with a dialog. Image Processor Pro 2.3.1 has some bugs. Some files formats its saves may have problems.
Russell Brown works for Adobe but he has been pulled away from Photoshop. Xbytor is the programmer that wrote Image Processor Pro he does not work for Adobe and he is feed up with Adobe for not fixing bugs in Photoshop scripting. He stated he will support Image Processor Pro for some time.
Russell web site has this. The Open Source code is now available for many of my script and panels
Because of new projects and a changing demand for my time, it will be necessary for me to move on to new projects at Adobe. For this reason I will no longer be able to support, or update many of my scripts and panels. Never fear! – I am releasing the source code for many of my programs and if you are a programmer then you can use this code to modify and change my scripts to meet your needs. If you are not a programmer then I recommend working with anyone on the list of programmers that I have supplied below. However! Let me make it clear that his code is not to be sold. This is an open and free source to be used for the good of humankind and Adobe Photoshop users around the world
===========================
I do not have a Mac or a Windows 8 machine to test on. On my Windows 7 PC Image Processor Pro 2.3.1 and newer versions run on CS6, CC and CC 2014.. X is still working on it -
Photoshop scripting, export to png?
I use the following code:
function SavePNG(saveFile){
var opts = new ExportOptionsSaveForWeb();
opts.format = SaveDocumentType.PNG;
opts.PNGB = true;
opts.quality = 100;
pngFile = new File(saveFile);
opts.includeProfile = true;
app.activeDocument.exportDocument(pngFile, ExportType.SAVEFORWEB, opts);
It almost workable, but it works with fully visible or fully invisible areas only. For example if I have a transparent layer and add a second transparent layer with a red rect with opacity 50%, then I will got an image where the transparency of this rect is 100% (fully visible).
How to solve this problem? I use Photoshop CS6 (Mac OS version).In ESTK check out Help > Object Model Viewer, select Photoshop and look up »ExportOptionsSaveForWeb«.
Also you should be able to find examples in the Photoshop Scripting Forum. -
Execute photoshop script via illustrator cs5
Hi
Is it possible to execute Photoshop script via illustrator
I have 2 different script
script 1 work in illustrator with eps file and export as jpeg
script 2 where i want to trim the exported jpeg for illustrator in photoshop and save it back
I have 2 differnt script with me
can anyone help me to club both and run at same time..
Thank you
Appuuse BridgeTalk to have Illustrator talk to Photoshop, here's a sample by Mark
Illustrator script to open file in Photoshop
or use inter app communication
open PS, open a document
// start your illustrator script
var Aidoc = app.activeDocument;
continue with your script
// when ready, call your photoshop script
// this sample alerts the active document name and closes it
photoshop.executeScript("alert('document name: ' + app.activeDocument.name); app.activeDocument.close()"); -
I am using a PC with window 7 and adobe photoshop 12. I have followed Photoshop Elements Help and I still have the same problem. When I try to backup Photoshop 12 it has stop on7% when calculating Total Media size. What can I do?
Hi Prabhuram and falez,
This issue appears where there are any inconsistencies in your catalog (generally for video files). This issue may be due to offline files, missing files, video scenes. The recommendation here would be to fix these inconsistencies and try again. If that doesn't solve the issue, please follow steps mentioned in email by me.
~Surendra -
Adobe Photoshop CC 2014 Help TAB Photoshop Online Help - LINK IS BROKEN
My Adobe Updater installed Photoshop CC 2014, and all seemed well, until I attempted to get online help via:
Help TAB > Photoshop Online Help
This LINK is apparently BROKEN!
Here is the resulting error on Firefox (version 32.0):
XML Parsing Error: undefined entity Location: jar:jar:file:///C:/Users/Owner/AppData/Roaming/Mozilla/Firefox/Profiles/kaeec5li.default/extensions/[email protected]!/chrome/speedtest.jar!/content/net
Error.xhtml Line Number 369, Column 38:
<h1 id="et_protocolNotFound">&protocolNotFound.title;</h1>
-------------------------------------^
I also attempted to open same link using Chrome, and IE browsers; BOTH browsers we unable to navigate to the Adobe Help!
Here is the supposed LINK URL (via Firefox):
community.adobe.com/chcservices/services/redirect?u=http://help.adobe.com&p=Photoshop_15.0&l=en_US&id=AH_HOME
ADDITIONAL NOTE:
The exact same error is generated when attempting to get online support via:
Help TAB > Photoshop Support Center
Hopefully, someone from the Adobe Tech Community may shed some light on this MAJOR issue, as it precludes users from accessing Online Help and Support!Pfondaneche wrote:
Hello
I am having exactly the same problem with the French version of Photoshop CC 2014. The only menu item working is "What's new?".
Trying to access online help (F1) takes me to
http://community.adobe.com/chcservices/services/redirect?u=http://help.adobe.com&p=Photosh op_15.0&l=fr_FR&id=AH_HOME
Very similar to your page except for the language.
This page does not load (error 404).
I was on chat with Adobe support but they did not solve the problem.
I tried to reinstall and also used 3 different browsers (IE - FF - CH).
I have Photoshop installed on 2 different platforms (W7 and W8), same issue.
Were you able to solve your problem?
Pfondaneche, when you press F1, are you just in the main Photoshop window?
When I press F1 I see it go through a quick redirection and within a small fraction of a second it ends up here:
Photoshop Help | Photoshop Help
The specific link you posted does not work for me either, so I'm assuming there's an Adobe server problem somewhere, or maybe a problem with that particular link.
I've noticed Adobe has failed to update a number of its pages for the new Photoshop CC 2014.1 release. For example, where is a new page that describes where Photoshop CC 2014.1 keeps its preference files?
-Noel -
how to make a selection of a layer delete content and paste another content with Photoshop scripting..?
There is a more specific Forum …
Photoshop Scripting -
Font in Photoshop PDF help is too small
Font in Photoshop PDF help is too small.
http://helpx.adobe.com/pdf/photoshop_reference.pdf
How can i ask photoshop developers to increase it?
How can i increase it before print?It's standard 11pt type for the most part, so I don's see how it could be too small. Simply use the zoom options in Acrobat/ Adobe Reader, if you have difficulty reading it. There is no way to actually increase the font size and have the document reflow.
Mylenium -
How to begin with Photoshop scripting
After years of working with Photoshop I have started to device my own Photoshop scripts to automate my workflow.
My search for formal Photoshop script training produced no concrete results. In the past the Photoshop World Conference has offered Photoshop Scripting workshops.
Acquiring Photoshop scripting skills requires detective work and perseverance. The results are gratifying when a custom Photoshop script adds additional functionality and efficiency to your workflow.
Below is a list of resources I have compiled learn Photoshop scripting.
FORUMS AND BLOGS
TUTORIALS AND TRAINING
TEXT BOOKS AND GUIDES
SCRIPTING TOOLS
FORUMS AND BLOGS
Adobe Photoshop Scripting Community
https://forums.adobe.com/community/photoshop/photoshop_scripting
Independent Photoshop Scripting Community
http://ps-scripts.com/
PHOTOSHOP FOR GEEKS 2008
http://www.tranberry.com/photoshop/photoshop_scripting/PS4GeeksOrlando/IntroScripts/presen tations_materials/ps_geeks_slides.pdf
PHOTOSHOP FOR GEEKS 2007
http://www.tranberry.com/photoshop/photoshop_scripting/tips/photoshopforgeeks2.html
Jeff Tranberry’s blog
http://blogs.adobe.com/crawlspace/category/photoshop-scripting
http://tranberry.com/photoshop/photoshop_scripting/index.html
TUTORIALS AND TRAINING
Lynda.com
http://www.lynda.com/Photoshop-tutorials/Photoshops-scripting-backbone/289/22351-4.html
Trevor Morris Scripting Photoshop Part 1 and Part 2
http://morris-photographics.com/photoshop/tutorials/index.html
Code School (Javascript)
https://www.codeschool.com/paths/javascript
Tuts+ (Javascript)
http://courses.tutsplus.com/courses/javascript-fundamentals
w3schools
http://www.w3schools.com/js/default.asp
TEXT BOOKS AND GUIDES
Adobe Photoshop Scripting
http://www.adobe.com/devnet/photoshop/scripting.html
Power, Speed & Automation
http://www.amazon.com/Power-Speed-Automation-Adobe-Photoshop/dp/0240820835
Adobe Press: Learn How to Script Adobe Photoshop
http://www.adobepress.com/articles/article.asp?p=433750&seqNum=4
AdobeScripting: Your visual blueprint for scripting in Photoshop and Illustrator
http://www.amazon.com/Adobe-Scripting-blueprint-scripting-Illustrator/dp/0764524550/ref=la _B001KE7GZM_1_2?s=books&ie=UTF8&qid=1394514490&sr=1-2
Photoshop Speed Clinic
http://www.amazon.com/The-Photoshop-CS2-Speed-Clinic/dp/0321441656
SCRIPTING TOOLS
Photo Script Builder
http://madebyvadim.tumblr.com/post/71403984777/script-builder-free
This tool was available online for free until recently but has since become unavailable.
The idea behind this tool is excellent. Perhaps it will resurface as a commercial product in the future.
Script UI Builder (User Interface Dialogs)
https://sites.google.com/site/scriptuibuilder/
Adobe ESTK (Extended Script Tool Kit CC)
https://creative.adobe.com/products/estk
xtools
http://sourceforge.net/projects/ps-scripts/files/xtools/v2.1/
http://ps-scripts.sourceforge.net/xtools.htmlhttps://github.com/search?q=photoshop&ref=cmdform
github is a great place to find jsx scripts
Maybe you are looking for
-
I would like Microsoft exchange to be my default emailer. How do I stop outlook being the default when I click on an email link
-
Minimize, re size & exit icons missing from top right of screen
After upgrading to 5.3 I don't have minimize, resize or exit icons at top right of screen. Any help getting them back would be appreciated. Steve
-
Upload Purchase Orders - SRM 5.0
Can any one tell me the name of the function module / bapi / program that is provided within SRM that will allow me to upload purchase orders via a spreadsheet. This is apparently supplied as standard. Thanks in advance. Keith
-
Hi, I tried searching through the forums, but am obviously using the wrong search words. I have a JFrame with a JPanel in it. The JPanel is using the following layout: new BoxLayout (parentPanel, BoxLayout.LINE_AXIS) Then I added two JPanels to the p
-
Can not change size the itunes screen cannot read all opitions
I am trying to sync my photos to my ipad and I cannot get to the photos because my page is not large enough I get Summay thru podcast how can i get the rest