Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Browsing all 27456 articles
Browse latest View live

Script for Transfering paths between documents?.. help

Dear all, I can see that this question has been asked a few times, but the answers don't work for me. All I need to do is to make a script (I am new to this).. which automates the transfer of the paths...

View Article


Re: Is it possible to get all layers overlapping a specific point?

I'll have to try these out. I should have time to tomorrow.  Thanks Ensil!

View Article


Re: Script for Transfering paths between documents?.. help

As far as I know, you can't save a jpg with paths.  They will be removed in the saving process.  So I'm assuming that you want to save the jpgs as PSDs.  What platform are you using: Mac or Win?  What...

View Article

Image may be NSFW.
Clik here to view.

Re: How to Package and Distribute Scripts + Actions?

Hi Davide, As a producer you are free to set whatever price you like on Adobe Exchange within the minimum of $5 although i would like to see that figure reduced some time and a maximum of $99,999....

View Article

Re: Script for Transfering paths between documents?.. help

Does this help? // select folder, if folder »paths« exists beside that folder transfer paths from jpgs to psds, tifs from first folder; // 2014, use it at your own risk; #target photoshop // dialog for...

View Article


Re: Script for Transfering paths between documents?.. help

As far as I know, you can't save a jpg with paths. jpgs can contain Paths, at least now. Edit: »Now« might be be an incorrect term, but I have no problems with Paths in jpgs.

View Article

Re: Script for Transfering paths between documents?.. help

Very comprehensive script, c.pfaffenbichler!  I was going to try putting one together by just coping and pasting the paths in a loop like: sourceDoc = app.documents[0]targetDoc = app.documents[1]//or...

View Article

Re: Script for Transfering paths between documents?.. help

I hadn’t even thought of copying the Paths. I suspect it may be a bit slower but it also may be more secure – but I haven’t actually run the tests to measure the time.  Edit: But I suppose the time may...

View Article


Re: Script for Transfering paths between documents?.. help

I suppose it would also depend upon how complex the paths are.  Yes, either method is better than doing it manually!!!

View Article


Image may be NSFW.
Clik here to view.

Re: Is it possible to get all layers overlapping a specific point?

Here is what I see. How many layer bounds overlap the blue layer bounds. Three the white the green and the red.  However only the blue and white layers overlap in the blue area.  The red and green...

View Article

Re: Is it possible to get all layers overlapping a specific point?

Yep, that's basically what I'm trying to to detect JJ; which layers overlap the blue area would be the ideal result.  Which objects overlap the blue layer's bounds is an ok method, but not 100%...

View Article

Re: Batch or script..plug-in?

So?

View Article

Re: How To Exit A Script?

I'm going nuts here.  Granted I'm not a programmer but I think I'm willing to learn and give things a try and I think I've tried and tried and tried.  I'm working on Photoshop CS5 on a mac This is what...

View Article


Re: How To Exit A Script?

What I do is set up a variable at the very start to shut down things and then have that variable checked to either run the script to stop.  so something like this: var exitProg = false; if(some...

View Article

Re: How To Exit A Script?

Thanks csuebele, I have over 700 line of code and I would really prefer to run the check before start running all of the rest of the code.  I would hate to mess-up the code by adding or deleting a...

View Article


Re: How To Exit A Script?

I would strongly recommend putting everything you want to run in a function that you can then check for conitions at the beginning of the script.  Then you can either run the function or not run it....

View Article

Re: How To Exit A Script?

Thanks for the advice. and I'll do that Just out of curiosity is there a way to end a script with a comand, like 'exit()' ?  I know that exit() is not copatible with Extend Script. it just feels as if...

View Article


Re: How To Exit A Script?

Not that I'm aware of.  Only ways I know is to use the method I mentioned, or, again, put your script in a function and use "return" to exit the function and thus end the script with no further lines...

View Article

Re: How To Exit A Script?

The methods you mentioned are some of the ones I've tried but I couldn't get the"return" or "wrap code in a catch/try block and throw an error if a condition is not met" to work with the code I've posted.

View Article

Re: How To Exit A Script?

Here's an example for the catch/try block:  try{//all you code in here     var run = true     var errorName = 'stop'     alert('one');     if(!run){throw errorName} //the "!" stands for "not"     //so...

View Article
Browsing all 27456 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>