automate save them with the addition of a number

All, Hy

This is the situation:

I got a psd file. I want this file to be saved automatically as Documentname1.png while it is originally Documentname.psd.

The script does not ask what number I would like to add, I can see that in the script and change that myself.

She also has to save the file in another folder where the Documentname.psd is registered.

Could someone create a script for this action? I have no experience in the script at all.

TNX!

This file is always the same, it is: C:\Documents and Settings\png

I think you wanted to say your ' My Documents ' folder, so here's a new version:

If (app.documents.length > 0) {}
myDoc var = app.activeDocument;
var myDocName = myDoc.name;
If (myDocName.lastIndexOf ("DSP") > 0) {}
var MonNouveauDossier = new file (Folder.myDocuments.fsName + "/ png");
If (! myNewFolder.exists) myNewFolder.create ();
var myNewName = myDocName.replace (/ .psd$ /, 1 ".png");
var myNewFile = new queue (myNewFolder.fsName + "/" + myNewName);
myDoc.saveAs (myNewFile, SaveDocumentType.PNG, true, Extension.LOWERCASE);
}
else {}
Alert ("the current document is not PSD-file.");
}
}
else {}
Alert ("Please open a document and try again.");
}

You can change Folder.myDocuments.fsName on some desired way:

for example ' ~ / Desktop "or" images/c / ".

Tags: Photoshop

Similar Questions

  • Open submenus when I stop on them with the mouse pointer does not work

    I used to use Vista Upgrade of XP until it hit the big time. With this installation, the option 'Open submenus when I dwell on them with the mouse pointer' worked perfectly well.  Since I did a format and installed the full installation of Vista version, and now this feature does not work. I checked and re-checked the option in the customization of the menu star and nothing. Also unable to find what anyone at the mouse settings itself.

    Does anyone know how to get this feature to work again once it's something I use a lot.

    Concerning

    Owen

    Hello

    If none of these help or you find a solution please report.

    Does work here on Vista either, but I don't want it works even if it is checked.

    Try UnChecking the start - Customize - Menu tab apply / OK and then go back and save
    Apply / OK.

    If no joy this initiative will eventually.

    Follow these steps to remove corruption and missing/damaged file system repair or replacement.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN

    sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Then, run checkdisk - schedule it to run at next boot, then apply OK your way out, then restart.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    ------------------------------------------------

    Maybe something here: [check Control Panel - mouse or TouchPad (as applicable)]

    If a mouse (or if you use a touch screen and a mouse)

    Start - computer, or Windows Explorer - Tools - Folder Options - general tab - check the
    Single click to open an item - APPLY / OK

    Control Panel - mouse - look for hover or click Automatic similar settings according to your mouse.

    When a TouchPad

    Look in the Notification area next to the clock for all TouchPad control program.

    Control Panel - mouse - also look for it TouchPad (mine is on the device however settings tab
    other brands and maybe on the other tabs and more than one). There are usually the parameters that
    can determine if a click, double click, hover or can open or close a program.

    Start - computer, or Windows Explorer - Tools - Folder Options - general tab - check the
    Single click to open an item - APPLY / OK

    If some people are well positioned can change to some other setting if you plan to leave
    them that way and then change again.

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • No problem with the addition of a Kingston SSDNow V300 240 GB SDD to a D7-1245dx?

    A knowledge of any problems with the addition of a Kingston SSDNow V300 240 GB SDD to a D7-1245dx? Its size is 7mm width 69,85 mm x depth 100mm height but not sure of the size of the computer laptop berries/caddy supports

    Decide whether to use the laptop for a little longer so to upgrade the system to a Kingston 240 GB SDD drive and move the current drive to the secondary location (already got 2nd coming of caddy). It lets me do a bit more space on the laptop in addition to increasing performance.  Figure between an SSD and get up to 8 GB ram it should last a little longer.

    You will have a shopping cart for the SSD, but it looks like you have an and get a second wagon. Dv7-1000 series does not use a cable or connector. the hard disk plug right into SATA ports on the motherboard. 7mm drive has the connectors SATA and the mounting holes exactly in the same place as a 9.5 mm drive. All is just shorter so the reader rides low in the caddy. As a swimming pool with 20% water let out. 7mm SSD works perfectly. Windows 7 or 8/8.1 are preferred; Vista is not configured to treat SSDS as well or easily.

    If it's 'the Answer' please click on 'Accept as Solution' to help others find it.

  • can someone help me with the addition of an account for child microsoft under a perintal account

    need of assistants with you that links child account to perintal for the child account is connected to Xbox live Microsoft account. He is asked to accept the terms of use on the Xbox site. She also asked inter in perinatal password and ID. The perinatal e-mail password was disassociated from the perinatal account. went to account.live.com account add kid account with parental account but how always to choose the option to add an account it takes me to a new page and I don, t know how to navigate the page. Can someone from Microsoft help me please with the addition of my son's account to my account.

    Hello

    Did you manage on behalf of your son using a parent account? You have already set up a parental control using the Windows parental control? If it isn't yet, please visit the link below on how to set up parental controls on your son's account by using Windows parental control:

    Bind the child account for a Parent account

    You can also download the installer of Windows parental control in the link below:

    http://Windows.Microsoft.com/en-us/Windows-Live/Essentials-home

    If you have any other questions, please let us know.

    Thank you!

  • Windows 7 - date/clock will not automatically be synchronized with the internet time

    Windows 7 - date/clock will not automatically be synchronized with the internet time

    Please help me solve this problem...

    every time I can't manually change the date and time...

    If the time server internet will not synchronize the clock, select 'Change settings' and choose a different time server from the drop-down list.

  • I signed up for the 10 free stock images, and when I try to download them, save them to the desktop isn't an option.  What should I do?  I need to get rid of the tattoo.

    I signed up for the 10 free stock images, and when I try to download them, save them to the desktop isn't an option.  What should I do?  I need to get rid of the tattoo.

    Follow the n steps these screenshots: I downloaded my 10 free images and they all have the Adobe watermark on them, so I can't use them. Why do they have a watermark on them?

  • After I open a document using Adobe reader DC and want to save it with the help of Save as when I try to open this operation all I get is an empty windo saying save as. This problem just started, note I'm on Windows 7 Prof

    After I open a document using Adobe reader DC and want to save it with the help of Save as when I try to open this operation all I get is an empty windo saying save as. This problem just started, note I'm on Windows 7 Prof

    Hi sgodwin2468,

    Make sure that Acrobat Reader DC is updated Release Notes | Adobe Acrobat, Reader.

    If the problem persists, try the solution below.

    The default "save under" Acrobat/Reader DC dialog box is different from the dialogue box you had in earlier versions of Acrobat/Reader, it also allows you to record in the clouds and previous locations that you saved the files. It is possible that when Acrobat/Reader tries to connect to the 'cloud', it runs into problems. You can try to disable this feature to see if this brings your backup in the back of the box: open Acrobat Preferences, then go to the "General" category and uncheck "show the online storage when you save files:

    Kind regards

    Nicos

  • Hi, I had problems with the addition of soundtrack to Adobe premiere elements 13. When I add it or drag it immediately comes crashing windows, where says "Adobe Premiere Elements has stopped working". I can add videos with no problems, but cannot add any

    Hi, I had problems with the addition of soundtrack to Adobe premiere elements 13. When I add or drag it happens immediately windows crash, where says "Adobe Premiere Elements has stopped working". I can add videos with no problems, but cannot add .mp3 files.

    I had Windows 8.1, 2.4 GHz, 6 GB of RAM. How to solve this problem?

    Fixed a problem when converting the mp3 file. WAV...

    some poor Adobe Premiere Elements if there is for example simple bug in the software.  Waste of money for this software.

  • I have a request for a phone number in my HTML code in my database which is automatically filled with the correct sales phone number when sending emails. I create HTML code in dreamweaver and then put the code in my e-mail program. I need to do the ph

    I have a request for a phone number in my HTML code in my database which is automatically filled with the correct sales phone number when sending emails. I create HTML code in dreamweaver and then put the code in my e-mail program. I need to make the phone number in the clickable query. I know the code to do it well not in a query. What is the code?

    As far as I saw, most of the smartphones will automatically recognize it these days, as long as the number is written in a format of regular phone number. This format also allows to make images or text other than a telephone number in a tap to call the link.

    Looking at what you have presented I guess it would be something along the lines of...

    urmcell>>">urmcell >

    When the location of the link and the link text would be the same variable.

    I've never worked with Intelliclick so above is a wild guess. They would be those who need to ask themselves if there is a way to fill in the address of a link like that.

  • I have a Nikon D 810 camera and Photoshop CS5.  I downloaded camera 8.8 Raw and DNG converter.  I can't open the raw (.nef) files, and treat them with the DNG Converter. What's not?

    I have a Nikon D 810 camera and Photoshop CS5.  I downloaded camera 8.8 Raw and DNG converter.  I can't open the raw (.nef) files, and treat them with the DNG Converter. What's not?  Thank you!

    As I said earlier, the DNG Converter works ONLY on files, not on files.

    Do not target the individual files.  Target Of THE FOLDER that contains them.

    Make sure that said FILE DO NOT contain any other files , you have already settled before, or your settings will be eliminated when re-converted to DNG.

    No need to write long explanations.  More messages are, the more chances you have of receiving relevant responses.

  • I used Microsoft for years.  How can I use my files and store and add to them with the I mac

    I used Microsoft for years.  How can I now access my stored info and edit and add to my files with my Apple I Mac. Having problems to work with files in the mac

    I used microsoft years how can I access my stored info and edit and add to them on the Mac.

    This can help you get started > https://www.apple.com/support/macbasics/

    Additional help here > https://support.apple.com/en-us/HT201732

    A good resource for help on your Mac is easy to access. Click on an empty area anywhere on your screen. You should see Finder > file > edit > view > go > window > help at the top of your screen.

    Click on help > Mac Help then type in a keyword for what you need to help in the search field top right of the Help window.

  • main themes with the latest versions of 2015 of photoshop and illustrator.

    I have major problems with the latest versions of 2015 of photoshop and illustrator. It takes 15 minutes to read a file and often more than one hour to save a file. I am unable to have photoshop and illustrator open at the same time and constantly feel the programs to crash. It takes me days to do something that has already taken a few hours.  Is there advice that everyone has on new updates or everyone knows these issues?  I use a pc not mac. It seems that both photoshop and illustrator now use a lot more disk space and my computer is constantly feeezing.  Willingness to purchase additional memory to fix this or is anyway I can return to these applications 2014 versions until the problems are resolved?  I have a backlog of work and working around the clock, but am so frustrated with hours spent staring at the screen waiting for a file to open or save.

    Seriously beyond frustrated, the loss of income of lost time is simply not acceptable, when you pay for an app like this expect to work!

    Uninstall versions 2015, run the cleanup tool and check for previous versions of the CC app.

    The Adobe Creative Cloud Cleaner tool allows to solve installation problems

    Mylenium

  • HELP with the addition of ACR5.6 PSE7

    Hello

    I'm new to this forum. Photography is a hobby for me. I shoot with my Olmpus e450 and the Nikon D90. I write here because I have heard that there are a lot of knowledgeable people here.

    Here's my problem, I can not load O.r.f.s. on my CF card for processer PSE brute. I have not yet tried the Nikon raw files.

    So far, I downloaded from the website of adobe several times and have not been able to get successfully the process works.

    So I deleted all the files Cameraraw.8Bi. If at this stage I do not at all connect.

    I have a Windows vista Home premium 32 bit OS.

    I'm not very computer savy so if you want to help me you're going to be pretty accurate.

    I tried following the instructions in the support section of Adobe (cannot open a raw file in photoshop) or Photoshopelements - but I of course do something wrong.

    So thank you in advance,

    Best regards

    Dave

    Hi Dave,.

    Well, x 64 is 64-bit processing capability.  I have a gateway LX 6200-01 that has four cores processors (as a result, 64-bit) with 8 GB of memory.  It's great!  With x 64 systems, you can always load programs x 86 or 32-bit, you have with the 32 vista system.  The differences only is you have 2 processors and I have four processors.  If you have downloaded the program, you should always be able to re - install as much as keep you it on your computer.  In addition, Adobe should have sent you an email with the license #.  If you still have the e-mail program, you should be well reinstall.  If this is not the case, just call adobe, they should have a record of your transaction.  I don't know why your E420 files are not displayed to the top.   One thing you can do is download the DMG from Adobe file converter and convert all your ORF DMG files.  I had to do it before E620 included in the database.  DMG is just a file format Adobe created for Raw files to make them all universal, which isn't a bad idea.  Just go to the web page of Adobe support and in the search area type in DMG converter and it will lead you to the download page.  Let me know how it goes.

    Dennis

  • Photoshop won't let me save files with the Extensions...

    Photoshop is not letting me save my files with the extensions more. It is only to save files in the copy and I have to add the extensions manually. This happened at the time, I've upgraded to OSX maverics and drives me crazy because it is extremely laborious. I use the CS5 version. Help, please!

    In the Mac Finder > Preferences > Advanced 'show all filename Extensions' should be checked on.

    In Photoshop:

    Preferences > file management > add a file Extension should be set to "always".

  • [Flex 3] Problem with the additional compiler arguments (cannot open)

    Hello world

    I have a problem with an additional compiler argument:

    Error Msg: can't open 'WEB-INF/flex/service-config.xml'

    This is the error I have to manage.

    I read that it is has to do with the argument of the compiler:

    -Compiler arguments additional properties - Flex compiler:

    -local = en_US, fr_FR, nl_NL-source-path = local / {local} -services "WEB-INF/flex/service-config.xml"

    But what's not here?

    Best regards.

    PS: I tried with a lot of path to the file.

    Hi PLbe,

    Using weborb in your project or any type of remote access in your project.

    Try to give the complete path for argument of services instead of the relative path.

    Thus to specify---> - services "c:\inetpub\wwwroot\weborb30\web-inf\flex\services-config.xml".

    instead of -services "WEB-INF/flex/service-config.xml"

    If you pasted the WEB - INF folder in your Flex application project file in src so no need to specify the full path. But if you have not included the WEB - INF folder (including configuration files) in the folder of your project, then you must include the full path.

    "c:\inetpub\wwwroot\weborb30\web-inf\flex\services-config.xml" is the default path where this file...

    Thank you

    Jean Claude Chari.S

Maybe you are looking for