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

How to copy a smart object transform by script

Hello!i have several different smart objects, and I do DIFFERENT  perspective transform to them (it means scaling distortion rotation etc)There is no standart way how can i apply the *same* transform...

View Article


Re: How to copy a smart object transform by script

As far as I know you don't have access to the distortion infomation through scripting.I think you might be able to do a workaround by making a New Smart Object Via Copy and then pasting the contents of...

View Article


Problem opening file.

I have a long drawn out script that I am not going to post because it is initiating photoshop through bridge talk. It is reading file names making an evalutation then running an action. If it finds BW...

View Article

file uploader script

I am new to Photshop scripting. I am contempalting a sript which will upload files to a local server as well as a remote server.Is this idea execuatable with the scripting allowances built in Photoshop...

View Article

Re: Problem opening file.

I'm not really sure whagt the eval(file) is doing, but I would load all the files you want to evaluate into an array such as" var searchMask = "*.jpg"var fileArray = yourFolderName.getFiles(searchMask)...

View Article


Re: file uploader script

Yes, you can either save the file from within Photoshop, if the document is open, or you can copy the file to a server.  This is outlined in the ExtendScript Toolkit SDK. The code would look something...

View Article

Re: file uploader script

Thanks for the quick response! Taking a step further, Can the the script work in tandom with a dialog box will allow to change the destiantion folder on the local and remote server?

View Article

Re: file uploader script

Yes, you can write the code to open the open dialog UI.

View Article


Image may be NSFW.
Clik here to view.

Re: file uploader script

Here's a sample ui that I created for my work.  I just click on one of the buttons at the top and it brings up the folder dialog box that for saving different versions of the files that I'm going to...

View Article


Move layer to an absolute position, not translate

I have images that have white scalebars of varying lengths on a black background of which I would like to copy and create new layers with my own personalized scalebars (e.g. height, stroke, color,...

View Article

Re: Move layer to an absolute position, not translate

With scripting, you still use the translate feature, but you just calculate where you want it placed.  For example, you first would place a layer in a file, and if that layer is the active layer this...

View Article

Re: Move layer to an absolute position, not translate

OK, actually your comment just jogged something loose in my brain in regards to the calculate response. The scale bars all start on the right hand side at the same spot and span leftwards to different...

View Article

Re: Move layer to an absolute position, not translate

In actions as scripts its important to understand the importance of the current setting of Photoshop units setting.  When set to Pixels  your dealing with absolute pixel numbers. Other settings are all...

View Article


Re: file uploader script

ojodegato wrote: I am new to Photshop scripting. I am contempalting a sript which will upload files to a local server as well as a remote server.Is this idea execuatable with the scripting allowances...

View Article

Re: Calling Generator Plugins from ExtendScript

Hey. Is the test plugin that you are trying to run, using the built in generator to run, rather than the generator that is executed by terminal/shell?

View Article


Image may be NSFW.
Clik here to view.

Re: Find and replace text in multiple Photoshop files?

Me again  The script does a great job at replacing a word with another word. But how should I approach replacing a word with a few paragraphs of text? It works, but when it encounters a space betwen...

View Article

Re: Find and replace text in multiple Photoshop files?

Could you post the Script and the txt-file you work with now?

View Article


Re: Find and replace text in multiple Photoshop files?

SCRIPT: #target photoshopif (app.documents.length > 0) {          for (var n = 0; n < app.documents.length; n++) {                    app.activeDocument = app.documents[n];...

View Article

Re: Find and replace text in multiple Photoshop files?

First off, this would be super useful if I can get it working, so thanks so much in advance. Just tried running the above script posted by Apod42... But it returned this error. Any ideas?  I'm running...

View Article

Re: Find and replace text in multiple Photoshop files?

One could always foresake the readln in readPref and use some other letter/s to split the string in the txt-file into two. One would have to restructure the txt-file accordingly.

View Article
Browsing all 27456 articles
Browse latest View live


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