Re: call save as dialog
Something like this? var fName = app.activeDocument.name; fName.match(/(.*)(\.[^\.]+)/) ? fName = fName.match(/(.*)(\.[^\.]+)/):fName = [fName, fName]; fName[1]+'.psd'; var myFile = new...
View ArticleChange font in string
How you you join two strings with different fonts together? var srcDoc = app.activeDocument; var artLayerRef = srcDoc.artLayers.add() artLayerRef.kind = LayerKind.TEXT; textItemRef =...
View ArticleRe: Change font in string
In DOM this is not possible so far, in your example textItemRef.font can only be one thing. You need to use Action Manager code (as recorded with ScriptingListener.plugin).
View ArticleRe: Applescript Photoshop batch
List of files must be not an alias, but a text string. Adding something like that to your code must help: setPhotoshopFilestofilesoffolder_to_runasalias list setFileNamesto {} repeatwithifrom 1...
View ArticleMove layer group script
Found this script to do what I want but cannot get it to work with Photoshop CC 2014 on OSX 10.9.4. // tell extendscript toolkit which adobe application to target; #target photoshop // determine the...
View ArticleRe: Simple (i guess) Photoshop scripting quesiton ;)
Hi guys, Thank you for the help. I think indeed the easiest way is to get all the logo into the data set source.The file I'm getting does not includes the logo but I can easily write a program that...
View ArticleRe: Image Processor Pro v3.0 beta available
Beta version 1_109 has been uploaded to sourceforge. CHANGES - Fixed bug that prevented IPP from being called via executeAction inanother script. - Fixed bug that prevented 32 bit images from being...
View ArticleRe: Move layer group script
Just to make sure: That file is open? Could you provide a screenshot in non-tabbed view?
View ArticleRe: Move layer group script
c.pfaffenbichler yes file is open. Hope this is what you mean by a screenshot in non-tabbed view. (Edit: Replaced with better screenshot)
View ArticleRe: Move layer group script
What does alert (app.documents.getByName("Watermark1600.psd"))get you?
View ArticleRe: Move layer group script
Thank you for your replies. The code you suggested gives Error 4: Unterminated string constant. I tried removing inverted commas previously, but get Error 2: Watermark1600 is undefined. Not sure...
View ArticleRe: Need help cleaning up a script and adding loop
Ran into one minor snag that I'm trying to solve. It's scaling the smart object down a hundredth of a percent on one side. Not sure why it's doing this. I actually force the percentage to be equal on...
View Articlesplitting layer into RGB layers in a group - newbie
I'm a newbie trying to split a selected layer into multiple layers, each with only one channel enabled. What I mean into the script below, I’d like to do that same thing I do manually by going into...
View ArticleRe: Need help cleaning up a script and adding loop
Also one other thing I'm trying to accomplish, which I think is doable, is when you break out the smart object, I'm trying to create a separate script that opens each one up and saves it to a file in...
View ArticleRe: Help: need a script to merge all layers, even if there is only one layer
Bob: Rather than asking in a Photoshop scripting discussion how to write Illustrator scripts you'll find answers more to your liking among the Illustrator scripting discussion(s).
View ArticleAdd selection as add and intersect commands combined
Hello, I want to add selection to a selection so it acts as the two commands combined: add command and intersect command. Where parts of a selection intersect i want to act it as the add command - it...
View ArticleRe: Move layer group script
I tried removing inverted commas previouslyDon’t remove them, replace them with the proper ones in ESTK.
View ArticleRe: Add selection as add and intersect commands combined
Where it does not intersect, i want it to act as the intersect commandSay what? Could you maybe post a sketch/screenshot to clarify?
View Article