Script to open 2 versions of the same file a JPEG and a TIFF - nrun action in a batch format
I have 2 folders of images. One is a folder of JPEG files that have paths created for the image. The second folder is an identical image, except that it's a TIFF file with no path.
I created an action that takes the path of the installation on the TIFF and JPEG and does work for me. What I can't understand is how this batch?
I think that I would need a script to open the first image for each folder action and then go to the next image in each folder and so on.
Any help would be so wonderful.
If you know a script or can point me in a direction that would be great!
Sorry about that, I had missed a point out of this line, please try this now.
#target photoshop main(); function main(){ var jpgFolder = Folder.selectDialog("Please select the jpg folder"); if( jpgFolder == null) return; var tifFolder = Folder.selectDialog("Please select the tif folder"); if( tifFolder == null) return; var fileList = jpgFolder.getFiles("*.jpg"); for(var a in fileList){ var JPG = fileList[a]; var TIF = File( tifFolder + "/" + fileList[a].name.toString().replace(/jpg$/i,'tif')); if(!TIF.exists) continue; open(JPG); open(TIF); //needs amending with your action name and actionset doAction("ActionName","ActionSet"); } };
Tags: Photoshop
Similar Questions
-
Need help to open two images with the same file with different exposures on the screen at the same time in the Photoshop creative cloud (in previous versions we could open two images of the same nef (raw) file and then combine them on the screen with the move tool. They have become a composite of two layers which could be developed further with the mask tool.
Hello
Please go to the preferences > workspace and uncheck the option 'open the document in the tabs '.
Now you can click on file and choose file > open and open the two images in two different windows which can be arranged side by side.
Thank you
-
You name files in the Windows/system32 directory, such: shlwapi (4) (2) .dll? I have a lot of files in system32 that look like this often 3 or more versions of the same file?
Hello
1. you are trying to move files in and out of Windows\System32?
By default, windows has not usually (4) or (2) and if there are several files that it can be indicative of a program to move files if you do not have them.
-
I get the same files repeat KB and how to stop it?
I get the same files repeat KB and how to stop it?
The KB record number are KB2478663 and KB2518870.
Mike
-
I can't open two windows for the same file type
I want to work with files xls two side by side. If I try to open another file of the same type, it is replaced in the same window. How to open a file in another window please?
Open the first file, and then run a separate instance of Excel and the inside, this instance has open the second file
-
I want to copy a folder to an external hard drive with the file already on it and not having to replace all the files each time. I just want to click and drag the folder to the external hard drive and have it add new files I've added in the folder on my pc over time on the external hard drive. It's annoying to have to replace alllll the files each time.
Thank you!
A simple way is to use the second copy of Centered.com software. It is reasonably priced and will do exactly what you want. MS - MVP - Elephant Boy computers - don't panic!
-
Mac on Windows SMB shares - IDLK files that allows multiple users to access the same file endangered
Hello
We have an agreement with Adobe volume licensing and have about 16 licenses Adobe CS6 all used on Mac computers. The network focuses on Windows servers and actions that Macs connect to the through an SMB connection on the server. The question we have is that when you open an InDesign file, sometimes it will not create an IDLK file (or sometimes it will create one, but it will disappear a few seconds later) and it allows several people to view the same file at the same time. Of course two or more people working on the same file can, will and caused problems with crash documents without knowledge to do so.
Someone else has experienced this or have any ideas as to what might help us solve this problem?
Thank you
There will be no file locking for an earlier version, until it is saved as a
CS6 file.
For the rest, this looks like a problem with permissions on the server.
-
Cannot open a pdf file from the website of immigration canada. Gets a message - you need a later version of the same player after update still not working
10 Windows Internet Explorer with the Acrobat Reader plugin is available.
-
How to open two PDFs at the same time (for example on two related screens)? It was always possible in the previous version of the Adobe Reader software. Now while one of them is open, I can't open the other, because it is hidden, and I have only shown in the taskbar as a thumbnail.
Hi ewap51098943,
You can disable this in the Edit menu-> preferences-> General
Kind regards
Nicos -
Expiration of my subscription of the CC, I bought a new but not be able to use again. He's trying to use the free trial version at the same time, but after installation of app still redirects me just say 'Renew subscription' and won't let me open. Help, please
Contact adobe support, https://helpx.adobe.com/contact.html
-
I want to open several tabs for the same Web site. 9.0 will allow me to do this?
I keep getting pop up windows to update to Firefox 9.0 because its faster etc. I look round and he tells me he asks me if I already have one open. I WANT THE SAME SITE OPENED IN SEVERAL TABS according to what I'm working on. Is it still possible with the updated version. IF this isn't the case, I don't want it, but none of the FAQ questions even thought my question.
When you enter a site in the URL/address bar and see the section "Switch to tab" in the drop-down menu, you can
- use ALT + ENTER to open the new tab (duplicate) anyway
- Use CTRL (CMD on OSX) + left click on the original tab and drag until you see an arrow under the point of rupture between the two tabs upward, then release the left button, then release the CTRL/CMD key to obtain a duplicate of the tab with all of its history (front/rear)
- Press the SHIFT key while an entry in the drop-down list is highlighted to disable 'Switch to the tab' and see the URL.
- Use the right arrow to select an element marked as switch to tab in the menu drop-down and copy the URL in the address bar.
- Open the URL in the current tab by using shift + enter on the highlighted entry.
- ALT + Enter open the URL highlighted in a new tab.
- Shift + enter opens the URL highlighted in the current tab.
- Cursor right copies the URL highlighted in the address bar where you want to change it.
You can install this add-on to completely disable "switch to tab": https://addons.Mozilla.org/en-us/Firefox/addon/switch-to-tab-no-more/
If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.
Not related to your question, but...
You may need to update some plug-ins. Check your plug-ins and update if necessary:
- Plugin check-> http://www.mozilla.org/en-US/plugincheck/
- Adobe Shockwave for Director Netscape plug-in: install (or update) the Shockwave with Firefox plugin
- Adobe PDF plugin for Firefox and Netscape: Installation/update Adobe Reader in Firefox
- Shockwave Flash (Adobe Flash or Flash): updated Flash in Firefox
- Next-generation Java plug-in for the Mozilla browser: install or update Java in Firefox
-
I need to keep several versions of the same site opened at the same time, and then switch between them... Apparently the Switch-to-Tab function will not allow this and keep my duplicated tabs become other Web pages...
You can turn it off by using the switch to tab no Add on more - https://addons.mozilla.org/firefox/addon/switch-to-tab-no-more
-
It is a general question about how best to work with many open web sites. Sometimes I open 10-20 at the same time. Sometimes I will open a second or a third copy of the browser and have several tabs there too.
Some other browsers use a separate process for each window that opens, Firefox is not. It doesn't matter how many windows you have open in Firefox, that you use a "session" or process of Firefox.
The only exception to this is with Firefox 3.6.4 & versions of plugins is running in a separate process "plugin - container.exe".
-
How to compare the 2 versions of the same document in Pages?
How to compare the 2 versions of the same document on Pages?
There is no OS X Visual tool which can open two Pages document and show the differences between them - other than the human eye.
What information are you interested in identify as different between the two documents? What specific version of Pages?
-
How to open PDF documents in the same window?
Prof. Acrobat X / Windows:
How to manage open PDF documents in the same window?
When I open more than a single PDF docs and a second, third,... window opens, each document is opened in a separate window.
In previous versions (Acrobat 8 Prof.), all the documents were opened in the same window.
This is especially useful, because the windows are not spread over the entire desktop, and with ALT + TAB I can change between the documents, if I don't have that one window.
Thanks for any help.
This feature has been removed.
Maybe you are looking for
-
I read your instructions on the Firefox Web site. What is not clear to me is, I have to do 'privacy settings' and ' browsing history delete "within the web site of Firefox or do I have to do this offline via Windows 7"internet settings ". The Firefox
-
Hello I had the problem with the battery of my laptop, I use HP G 62. Whenever I turn on the laptop I get the message that, regarding the battery and I might need to change. As I do not understand a lot of material, I don't know what kind of settings
-
Upgrading RAM on laptop Equium A200-1V0
Really bad, I want to expand the 2 GB of ram I have already...But I've heard that 2 GB is the very max you can adjust/install to it...Or I can add more to it? I really want to know!
-
Satellite Pro 2100 - upgrade CPU
Is it possible to move from the factory installed Pentium M 1.7 / 512 k cpu with e.g. a Centrino with FSB400 and 1 or 2 M cache? If so, which ones would take on my machine? I want to improve my laptop, otherwise, it will have to be replaced...: s Tha
-
The DALSA X 64 - YEAR QUAD Framegrabber is compatible with Vision Builder AI 3.6
Hello I think use the DALSA Framegrabber with 4 camera inputs. I was just wondering, if this framegrabber is compatible with the Vision Builder AI 3.6? Thank you