Opening files one by one

Hello

I'm trying to write a script to open the Z file File1, if file1 contains '10 'in his name and then run action named 10', then open the folder Z File2, if File2 contains 20' in it's name and then run action 20 ' and so on for multiple files.

I searched for hours but cannot find help for opening a file, by running the action and THEN by opening the following file. All discussions look just by opening several files at the same time.

Any kind of help would be very appreciated.

Concerning

Does that help?

#target photoshop

Var folder = Folder.selectDialog ("select folder");

If {(Folder)

Uses of the var = theFolder.getFiles (/ \.) (jpg) | TIF | EPS | (psd) / $i);

for (var m = 0; m< thefiles.length;="" m++)="">

thisFile = app.open var (File (theFiles [m]));

If (thisFile.name.indexOf("10")! = - 1) {app.doAction (/ * insert name of action /, / * insert the name of the action game * /)}

}

};

Tags: Photoshop

Similar Questions

  • Convenient way to transfer your photos with the browser with the interface to open the file one by one?

    Guys, is there a practical way to manage photos download from a browser with menu open the file?

    Almost 4 years ago I switched from Windows and I still have to keep a copy of Windows @ my iMac, retina uder | Desktop just to download the fotos on social networks!

    I can't find comparable sort on OS X with speed and efficiency of a Windows file manager in Windows! I have anyway to browse the files one by one in OS X and uploadinf the u as browser files? And then turning in the folder covered exactly the position of file where u left to transfer a file?

    For example I have 3000 photos in a folder of my trip to US. If I download choose and download few of them in a menu Finder to open the file in the browser and then return to the folder I want to browse all the photos from the beginning to find a file that I was browsing last! At least windows remembers the position of a file chosen when you left the file!

    Did you ever notice how LAGGY is photo navigation interface in the menu "Open a file" Safari? Especially when you set to display pictures in a LIST? GWD! The operating system that is more focused on the photo does not offer ANY practical way to manage photos!

    alejandro_64,

    Your workflow is erroneous. I would recommend that use you the Photos app to manage your photos and if you then want to upload them to a social network like Facebook, or else others you can do so directly from the Photos app. This way you can manage your photos and share those you want easily. If you use any Photos now, you're a great DIS-service.

    OS X is much more elegant and more simplified MS Windows has never been, unfortunately, you have not discovered what OS X features to do so.

  • How can one Iput a java folder on my desktop to open files iwant to put in it?

    original title: java

    How can one Iput a java folder on my desktop to open files iwant to put in it?

    How can one Iput a java folder on my desktop to open files iwant to put in it?

    Right-click on the java folder > click send to > click Desktop (create shortcut) for the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • I need my files to open in the monitor # 2 I usually have some important information about the number of monitor 1. I need the files to alternate when they are open. One in 2, then one 1.

    I need my files to open in the monitor # 2 I usually have some important information about the number of monitor 1. I need the files to alternate when they are open. One in 2, then one 1.

    Kind regards

    How it works is usually the application (explorer.exe is an application) in question is open about everything that monitor his last (final) session was closed the.  Not all applications have this built-in memory, but most do.

    I don't think that even something TO manage multiple monitors (this is what it was built for) will do what you are wanting.  ;-)  I see no way of programming of this type of automation.  ;-)

    https://www.DisplayFusion.com/

  • Illustrator stops working when opening file or create new ones

    As above.  Illustrator opens ok and gets to the main introduction screen, but it crashes (Windows error message) when I click on the 'new' button or try to open a. File to HAVE it.  See a screenshot attached message.

    I have Illustrator Creative Cloud 2015; Windows 10.

    I have tried the following with no joy:

    -resettlement of Illustrator and restart

    -remove the preferences file

    -updated video driver

    -Disabling the video driver

    Help greatly appreciated beforehand!

    Capture.GIF

    Hi, I had a similar problem posted a few minutes before your here:
    Adobe Illustrator CC 2015 does not not when opening files new or existing

    I solved it by changing the default for my computer printer, like an Illustrator was trying to connect to the printer, which was not available, whenever it opens a file.

    I hope it solves your problem too!

  • Hi, FCP my, library, was damaged, i, open, drank of the PCF, library and, he, worked, well, then, my, question is, which, do, with, the, old, library,?, is, again, I, working, throughout, with, the, a, used?, or, should, I, open, Abu, one, i used, each, t

    Hi, my, library, has been damaged, so I have, open, a, FCP BU library and this worked well, so my, question, is, what, do, with, the, old, library,?, is, always, workin g throughout, with, a, I have used?, or, well, I have, open, BU, one, i, used, each, times, I, open, my, project?

    Rename your backup library in order to take account of the original, and then delete the original.

    FYI: Identification will facilitate a slightly different name.

    Al

  • I need to locate the file one by one?

    Normally, I put the iTunes media files on my external drive. But recently, it connects more.

    When I try to recreate a link to it, all the music in my iTunes shows "!" and cannot be read. I need to locate the file one by one to make them available again?

    There are more than 2,000 + music in my playlist. Are there other ways to locate the whole folder at the same time?

    Thank you very much

    It should connect if he did in the past. is it possible that you renamed the drive or folder in the path to the iTunes media.  This, ny the way, is one of the reasons why we suggest to keep a whole library on an external media player only.

    If you find an iTunes file should offer to find others as long have you let iTunes organize media in the past.  If this does not work then probably something got renamed on the disc.

  • Just installed Firefox 9.0.1. When you open a new browser session, two tabs will open. One is my home page, and the other is a home page of Firefox. I want to just my home page to open. How do I get there? Thank you.

    Just installed Firefox 9.0.1. When you open a new browser session, two tabs will open. One is my home page, and the other is a home page of Firefox. I want to just my home page to open. How do I get there? Thank you.

    See the following for a few suggestions:

  • How to read two files (one updates every second, the other is constant) simoltaneously

    Dear all,

    I'd appreciate if someone help me.

    I want to read two files, one is the temperature that updates every second, and the other is energy hysteresis that has specific lines and is constant.

    I had a program in the discussion forum to read a file as it is updated. I checked this program in my case and it works.

    Then I added playback file hysteresis energy to the existing file. But while I run the program, the energy hysteresis file is read with all the lines.

    But the goal is that every time the updates of the temperature, I need to read a line of the file hysteresis energy.

    in this way every second, so, I have a new temperature data and a row of the other file.

    I tried to use 'for loop' inside the program, but it did not work, because the temperature reading will stop until that end of the loop.

    I joined the program.

    Could someone help me how read only a row of hysteresis energy file every time that the temperature updated?

    IS that what you wanted to achieve?

  • I managed to remove the icon to display all open windows one behind the other.

    I managed to remove the icon to display all open windows one behind the other.  Where can I find it now?

    Also, my laptop keeps getting an error when I try to restore to an earlier date and told me that it is impossible to complete.

    Hello

    Which, in my view, that you have a problem with, it's called windows Flip 3D!

    Try this first and see how you go...

    1. To turn on the Quick Launch bar, follow these steps:
    2. Right-click anywhere on an empty spot on the taskbar.
    3. Choose toolbars from the menu that appears.
    4. Select Quick Launch in the following menu so that it is checked.

    You should then be able to click the icon to switch between Windows now and use the 3d Flip...

    Or

    . Right click on the Quick Launch toolbar, but not on an icon
    2. Select the folder from the context menu. It will take you to the Quick Launch folder that should live:

    C:\Users\username\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch

    3. right click in an empty area of this folder
    4. Select new, then shortcut from the context menu
    5. for the location text box, enter the following text:

    C:\Windows\System32\rundll32.exe dwmapi #105

    6. click on the next button
    7. appoint. (Flip3D, for example)
    8. click on finish

    The shortcut will now be in your Quick Launch toolbar.

    Concerning

    GT4U

  • I want to burn files to a cd, there are two files, one is 8.1 GB and the other is 3.5 GB, what capacity of CD should I buy to take account of these files, or is there any method I can use?

    I want to burn files to a cd, there are two files, one is 8.1 GB and the other is 3.5 GB, what capacity of CD should I buy to take account of these files, or is there any method I can use?

    First of all, you cannot use a CD for each file - they do not provide enough space (and I'm pretty sure same compression help not enough).

    You can burn the 3.5 GB on DVD or DVD-R DVD - RW file, as long as it's a guy with enough space http://en.wikipedia.org/wiki/DVD.

    8.1 GB file CAN be turned into a DVD, but you need a very special type (and maybe special software - I'm not sure about this).  An article on the different types of DVDs and their abilities of here: http://en.wikipedia.org/wiki/DVD.

    There are a few 3rd party software products that allow you to split a large file inot several pieces to fit on a game sequenced CD, but I couldn't find one that was free.  To do this, you can check on www.download.com, www.tucows.com, Bing, and Google.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • I started with LR3 LR4 now LR5, there are now three files, one for each version. Can I remove versions 3 and 4 and just to keep the record of version 5 or do I have all you files?

    I started with LR3 LR4 now LR5, there are now three files, one for each version. Can I remove versions 3 and 4 and just to keep the record of version 5 or do I have all you files?

    do not delete, uninstall, you no longer need.

    as long as your configuration/preferences/catalogues have been migrated or re-setup on lr5, you don't need previous versions.

  • I set firefox to open a file type (.) SGF) w / a program, but it doesn't, so I put it to save/apply and no work option, it always opens file link in a new tab.

    I went into Options and set the. SGF with Smartgo open file. He refuses to do. Clicking on a link to one. SGF file simply open the file as a text in a new tab.

    Given that it did not work, I tried to get firefox to download instead, because then I can open it using the window file type associations. It will not download the file, unless I actually do a right-click and save-as in the link.

    It is tedious when displaying a lot of these files. I even put it to wonder after seeing the download option did not work. He don't ask me. What happens here?

    Also, I use firefox 23

    EDIT: It seems to be the specific Web site. Some sites will allow me the option to open it in Smartgo, others just it open in a tab in the form of text. What is causing this gap and can it be overcome thanks to the browser settings?

    A sample Web site to highlight the issue is:
    http://igokisen.Web.FC2.com/WR/LG.html
    clicking on one of these links will not download, open, or ask questions about what you want to do with the file.

    What happens if the server sends the file as text/plain.
    You can see if you open "tools > Page Info > general": Content-Type: text/plain

    Sent files that this way is always open in a tab.

  • "Could not open file for some reason any." Error message since then reinstall it.

    I have recently restored OS X from a backup, the same (current) version of the numbers and I use the same files (one document, different versions tried), but since I only get the error message "... cannot be opened for some reason any."

    I found absolutely no fix or solution floating around the web this fix in my case. I tried 3 machines, different, another user account fresh installation, conversion/dissemination/export the file, number in iOS and iCloud - nothing.

    This document contains the data value of several MONTHS of work and is encrypted password. It's just an unacceptable loss.

    Does anyone know another way to recover the data?

    If not, please give it a try, here's the document mentioned:

    https://www.dropbox.com/s/9dezibbcjvtw9sj/document.numbers.zip?DL=0

    So says "... cannot be opened for some reason any ', I'm having a very bad time...

    But If you are asked to enter the password - thank God - contact me

    There is nothing on the face of the planet to open a document from v3.6.1 numbers once you get 'Document.numbers' cannot be opened for a dialogue of reason. Be it password protected, or not makes no difference. Your only hope is to get a copy of older backup and restore. The same thing happens in the current versions of Pages v5.6.n also.

    Any other spreadsheet application would have not done this for you.

  • Error "cannot open file."

    I have problems with Pages 5.6.1 on my MBP. Everytime I try and open a project, or save a new one, I get a "cannot open file" error. "

    The files all work very well using iCloud web access and on another Mac and iPad but not on this one machine. Oddly, when I close the Pages and try to copy a file from disk to iCloud Pages on my Mac, I get the error message that says that the file is "updated".
    I've not yet deactivated and reactivated Pages in the player iCloud in system preferences settings - I wonder if someone could suggest an alternative.

    Right-click on the file itself before you open it.

    Click info

    Check around to see you have rights on the document or check if it is locked

Maybe you are looking for