Re: Auto Rename Path
You could make an action to run your script, then use the batch command to open a folder of files, run your action/script then save to a new folder. And as c.pfaffenbicher said, you've got the same...
View ArticleRe: ALL the options for ExportOptionsSaveForWeb()
Thanks for the help. I found the part i need (at least i think so), but how do i take this:var idSHTM = charIDToTypeID( "SHTM" ); desc22.putBoolean( idSHTM, true );and make it work here ?var...
View ArticleRe: Auto Rename Path
Thank you very much guys. I found a solution now. var selFolder = Folder.selectDialog( 'Location of images to process...' ); var files = selFolder.getFiles ( /\.jpg$/i );// may need to edit for...
View ArticleRe: Auto Rename Path
If you just want to change the first path, you don't need the for loop. In fact, the way it's written now, the loop does nothing. Normally, if you use a loop like this you would have the "p" replace...
View ArticleRe: Auto Rename Path
The problem was, that some of the images i had to edit, had more then 1 path. And sometimes, some of that existing paths were already named the way i had to name the 1. Path.However, when i was using...
View Articletextitem position
I've got a script which creates some text and then uses the position property to place it in a location on the document. This works great, until I want to place the text at the very bottom of the...
View ArticleRe: Auto Rename Path
I'm still unsure about what exactly you want to do. Do you want just the very first path name renamed to the one you selected? Here are some changes I would make to the script: Turn off dialogs.Add...
View ArticleRe: Cannot Add Notifier for Warp Transform
It could be the string is four characters so it looks like a charIDToTypeID instead of a stringIDToTypeID. I try to tell developers to NOT use 4 characters for the string. I would look at the arguments...
View ArticleRe: Auto Rename Path
Ah, I had overlooked that all PathItem’s names have to be taken into consideration.
View ArticleRe: Using PhotoShop Action/Scripts in command line
Thanks for the replay, unfortunately, Photoshop doesn't have a command line capabilities, but I was able to automate and call an Action. I created a VB.NET window application, added the reference to...
View ArticleRe: Is it possible to get all layers overlapping a specific point?
Haven't tried this in script but maybe crop the document ot that pixel with 'Delete Cropped Pixels' and then check if layer's bounds are not 0 as previously suggested.
View ArticleRe: Batch or script..plug-in?
Could you give this a try? It assumes the files are in order. // merge images in folder;// 2014, use it at your own risk;#target photoshop// dialog for folder-selection;var theFolder =...
View ArticleRe: ALL the options for ExportOptionsSaveForWeb()
You don’t, you need to use the Action Manager code for the whole process.
View ArticleRe: Is it possible to get all layers overlapping a specific point?
Hmm, that is an interesting suggestion that just might work. I'll have to see how long it takes to do, though; as the document I'll be doing this on is generally pretty large.
View ArticleRe: Using PhotoShop Action/Scripts in command line
Yes, it is doable. It is not easy.On windows you can open a command prompt and type 'cscript DocDuplicate.vbs'On the mac you can use 'osascript ...' I forget the actual params.No, you can't run...
View ArticleRe: Is it possible to get all layers overlapping a specific point?
Another suggestion, not sure how useful.If you switch your move tool to auto-select layer mode, then make a small selection on some blank area and move it around by holding space, it will select the...
View ArticleRe: Auto cut-up / layer of photo by geometric mask
Hi c.pfaffenbichler, I'm working on a new piece at the moment, but the grid isn't working. When I Path it into PS and use the script to cut the image up, it's creating nearly 2,000 layers. It is a...
View ArticleRe: Cannot Add Notifier for Warp Transform
@c.pfaffenbichlerI would agree with you - it doesn't look like it would be an eventClass that PS recognizes. The issue then is - what would be the eventClass for a warp transform? The document "Adobe...
View ArticleRe: Cannot Add Notifier for Warp Transform
If I understand this The class of the object the event is applied to, four characters or a unique string. When an event applies to multiple types of objects, you use the event class parameter to...
View Article