One-click 'Save as jpeg' shortcut script please! - saved in the same folder

Hi, I've been re-directed here because I was told a script could solve my problems - but I have no scripting experience/knowledge/ability! Below is my original problem and post. I got as close as 2 button presses, but I'm after that sweet, sweet single-button, double-my-productivity shortcut! Thanks!
http://forums.adobe.com/thread/1106992
I use 'Save as .jpeg' ALL the time (Photoshop CS6, Mac ML), and it really feels like I should just be able to press one button (a shortcut) and the name/quality dialogs don't appear and it just saves a .jpeg into the folder that my original .PSD/file is in.
So basically:
- Press one button to save my open .PSD/file as a .jpeg
- Automatically save it in the same folder as my .PSD
- Save it as '10' quality in the jpeg settings
- No dialog boxes, as soon as I press the button, it saves it - if there's already a .jpeg of the same name, it creates a '-1','-2' etc.
I've tried using 'Actions', but it seems to save it wherever my original Action folder was - it doesn't change to whatever the current folder the .PSD is in...
Thanks!
Adam

File -> Scripts -> Script Events Manager
Click Enable Events at the top
Select Save Document from Photoshop Event  drop down
Select Save Extra JPEG from Script drop down
Click Add
Click Done
EVERY document you save, except JPEG files, will save a jpg file. Saving will be slower.
You will need to modify line 62 of the Save Extra JPEG.jsx file located here: <YOUR_PHOTOSHOP_INSTALL_LOCATION>\Presets\Scripts\Event Scripts Only
In order to boost your quality to '10'. Here is the line in question
jpegOptions.quality = 2; // really low
Change it to
jpegOptions.quality = 10; // really high
You will need to modify the script to get this problem solved as well: it saves it - if there's already a .jpeg of the same name, it creates a '-1','-2' etc.
You can steal code out of Image Processor that finds a file name that is unique for the folder so you don't get overwrites.
Are you sure you want that? If you do lots of saves you are going to fill up your disk fast.

Similar Messages

  • Install more than one exe into one folder or into some subfolders of the same folder

    Hi!
    I want to do at least one of the following:
    1. I want to install several exes (built with LV app builder) into one directory because they belong together.
    2. Make several subfolders under the same top level folder aand install exes into each of them.
    The (top level) folder should be the "company" folder. The subfolders are for the applications.
    For example:
    c:\company\app1\app1.exe
    c:\company\app1\app1setup.exe
    c:\company\app2\app2.exe
    etc.
    This may also reside under the "program files" folder.
    If i try to do so, i encounter some problems setting up the build specifications. If i have more than one build spec. for exes i cannot add them to the same folder. At least if they contain the same external files, e.g. dlls.
    If i try to make one installer per exe, i get an error message telling me that the same folder (my "top level folder") already exists in the registry and cannot be added a second time. This is also true if i try to make a new project instead of having several installer build specs in one project.
    I use Labview 2009 (engl.) under Windows Vista (german).
    If anyone has some help for me or encounters similar problems please let me know.
    Holger
    Message Edited by HolgerD on 09-26-2009 10:13 AM
    Solved!
    Go to Solution.

    Hi Holger,
    the build directories should be different for each build, but you can copy the executables into one folder manually (tested successfully in WinXP). For multiple installers, put each installer build in a separate directory, and install all to the same program files subfolder. Works with XP (tested!), so this must be a Vista issue...
    Please build the four specs in attached project and run both installers to the same directory - should be working...
    Best regards,
    Sebastian
    Attachments:
    calc.dll.zip ‏73 KB

  • I am saving a video on iMovie directly to my external drive this video I'm saving is 4 hours long! when i click save nothing happens  can you please help?

    i am saving a video on iMovie directly to my external drive
    this video I'm saving is 4 hours long!
    when i click save nothing happens
    can you please help?

    Michael: are you still using an old version o0f PSE (e.g. PSE V4)? Problems similar to the one that you described are relatively frequent in old PSE Versions ( I was suffering a lot from them)..... and there are quite seldom in newer PSE versions.  Unfortunately, I do not remember which PSE Version became much better in this area (was it V5? or V6?)
    If using an older PSE version and encoutering often the problem: consider to migrate to a newer PSE Version..

  • Is there anyone there? I hope there is someone who can you understand this problem and have the common sense to respond?  I open gmail. I want to save an email to one of my folders. I position my cursor over the appropriate Folder icon or by choice, to th

    Is there anyone there? I hope there is someone who can you understand this problem and have the common sense to respond?
    I open gmail. I want to save an email to one of my folders.
    I position my cursor over the appropriate Folder icon or by choice, to the Trash.
    The friendly finger pointing cursor icon changes to an arrow icon.
    The hand icon allows me flawless access to opening and/or moving emails.
    The arrow, however does not open the link.
    On the Google menu bar the cursor hand with finger opens the links to Everett (my name), Search, Images, Maps and Play.
    When I attempt to open the remaining links in the menu bar (YouTube, News, Gmail, Drive, Calendar and More) the arrow icon replaces the hand. The arrow icon does not work. It will not activate these links.  Nor does it open email messages in the Inbox.
    Usually I reset, even reboot Safire and sometimes the problem goes away, then reappears.
    Can you imagine if this condition should it happen to a tech savvy Google Support person? Perhaps one can share and make my problem go away.
    I am considering dropping Google as my mail source. Unfortunate!
    Everett Halvorsen
    [email protected]
    718.490.3824

    I have uninstalled my Access Connection, but this problem seems to persist. IBM technician have changed the wireless card of my T60, the first few days after it was changed was very fine, no problem at all. About a week later, the problem occured again, and it happened quite frequently after that occurence. Now i really have no idea what is the cause and how to solve it. Will be greatful if there is anyone that can help me.

  • Double contacts as "iPhone"...my phone saves the same number twice, once with a 1 before the area code and one without it. It causes two different threads in my texts even of they're saved as the same contact

    my phone saves the same number twice, once with a 1 before the area code and one without it. It causes two different threads in my texts even of they're saved as the same contact

    My wife is having the same problems as a reciever. She works in a school as a teaching assistant and her teacher sends messages that are mixed with previous texts from ages ago.
    Can anyone shed some light on this problem or is it only her and this poster?
    2m42s

  • How to apply different keyboard shortcuts to an actions with the same name but in different menus within one application?

    Hi,
    Hopefully someone can help. I have the application "djay" and in two different menus there is the action "Eject". I was wondering if it's possible to apply different keyboard shortcuts to those actions with the same name? I can't see how to do it as it seems you can only write the action but as there are two it doesn't seem to work for me.
    For example:
    djay>Table-1>Eject - ⌘⇧1
    djay>Table-2>Eject - ⌘⇧0
    Thanks in advance for any help!!

    A NodeList doesn't only contain 1 element. In your example it contains ALL <Data> elements inside the document.
    NodeList nodes = document.getElementsByTagName("Data");
    System.out.println(nodes.getLength() + " \"Data\"-elements found");
    for(int i=0; i<nodes.getLength(); i++) {
       Node node = nodes.item(i);
    }

  • I just purchased Photoshop 13 for PC MS Windows 8.1  In trying to install, I get the following message after clicking on the 2nd file.  "The file archive part of Adobe Photoshop Elements 13 is missing.  You need all parts in the same folder in order to ex

    I just purchased Photoshop 13 for PC MS Windows 8.1  In trying to install, I get the following message after clicking on the 2nd file.  "The file archive part of Adobe Photoshop Elements 13 is missing.  You need all parts in the same folder in order to extract Adobe Photoshop Elements 13.  Please download all parts.:  I've also gotten an Exit Code: 7 when trying to install.  I've turned my McAfee virus system off while trying to install. 

    Hi,
    Have you tried downloading Photoshop Elements 13 from here?
    https://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-10-11-downloads.html
    There is only one file to download - which one depends on your system (32-bit or 64-bit).
    These are the trial versions but will convert to the full version when you supply your serial number.
    Brian

  • Help! Fix my javascript to save a bmp with suffix in the same folder as the previous save.

    Here's my current javascript:
    #target photoshop
    // sets document preferences to inches
    app.preferences.rulerUnits = Units.INCHES
    // these are our values for the END RESULT width and height (in inches) of our image
    var fWidth = 11.73;
    var fHeight = 5.97;
    var CurrentDLPFile=app.activeDocument
    var CurrentDLPFileName= CurrentDLPFile.name
    var CurrentDLPFilePath="~/Desktop/fetch"
    var f = File.saveDialog('Save Where?',''); 
    // in case we double clicked the file
    app.bringToFront();
    // resizes the canvas to 11.73 x 5.97 inches
    CurrentDLPFile.resizeCanvas(UnitValue(fWidth,"in"),UnitValue(fHeight,"in"));
    // flattens all layers
    CurrentDLPFile.flatten();
    // saves as photoshop file
    if (f!=null) CurrentDLPFile.saveAs(f,undefined);
    // splits channels
    CurrentDLPFile.splitChannels();
    // converts active K seperation to bitmap form
    var bitsaveoptions = new BitmapConversionOptions()
    bitsaveoptions.method = BitmapConversionType.HALFTONESCREEN
    bitsaveoptions.angle = 45
    bitsaveoptions.frequency = 55
    bitsaveoptions.resolution = 300
    bitsaveoptions.shape = BitmapHalfToneType.ROUND
    app.activeDocument.changeMode(ChangeMode.BITMAP,bitsaveoptions);
    // THIS IS WHERE I'M HAVING ISSUES- I want to save the file (which at this point is a bmp), with a suffix of 1 in the same folder; and then close the file.
    var doc = app.activeDocument;
    var docName = doc.name;
    docName = docName.match(/(.*)(\.[^\.]+)/) ? docName = docName.match(/(.*)(\.[^\.]+)/):docName = [docName, docName];
    var suffix = '_1';
    var saveName = new File(decodeURI(doc.path)+'/'+docName[1]+suffix+'.bmp');
    function saveFile(app.activeDocument, saveName);

    I figured it out, here's for anyone else who is struggling with a similar problem:
    var CurrentDLPFile=app.activeDocument
    // saves active doc as photoshop file
    if (f!=null) CurrentDLPFile.saveAs(f,undefined);
    //renames active document to whatever was saved
    var CurrentDLPFile = app.activeDocument.name
    //assigns the location of the saved psd
    var psdPath = activeDocument.path
    saveBMP = new BMPSaveOptions();
    saveBMP.alphaChannels = false;
    saveBMP.depth = BMPDepthType.ONE;
    saveBMP.flipRowOrder = false;
    saveBMP.rleCompression = false;
    saveBMP.osType = OperatingSystem.WINDOWS;
    var doc = app.activeDocument; 
    var Name = doc.name.replace(/\.[^\.]+$/, '');  
    var Suffix = "1"; 
    var saveFile = File(psdPath + "/" + Name + Suffix + ".bmp");
    activeDocument.saveAs(saveFile, saveBMP, true, Extension.LOWERCASE); 
    activeDocument.close( SaveOptions.DONOTSAVECHANGES );

  • How to save files (example:csv) from the different subVI to the same folder of main VI?

    I would like to save files (example:csv) from the subVI to the same folder of main VI? Please help! Thanks.

    CP_AT wrote:
    I would like to save files (example:csv) from the subVI to the same folder of main VI? Please help! Thanks.
    I don't understand the problem. You write in the program where to save files, and it saves them there. Do you mean something else?
    Cameron
    To err is human, but to really foul it up requires a computer.
    The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
    Profanity is the one language all programmers know best.
    An expert is someone who has made all the possible mistakes.
    To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
    LabVIEW Unit 1 - Getting Started
    Learn to Use LabVIEW with MyDAQ

  • How to save as AI file with PDF compatability at the same location?

    Hi Guys,
    Requesting for script. Here are the details..
    I  do have lot of AI files (from different paths) which are do not have PDF compatability switch  on. So now I am looking for script that all the files should save as at  the same place (over write) and should switch on the PDF compatability  switch on.
    I tried with Action script, But the problem  is, action scripting is recording the path where I saved first time.  That means, all the files are save as into recorded path. This makes me  some what confusion, because source file will be 1 and save file with PDF  1. So in total 2 files will create which is not good.
    So I am  requesting you that script schould overwirte at the same path and should  switch on the PDF compatability.
    FYI: Using Adobe CS4...
    If you help for this, it is really greatful for me.
    Thanks in advance...
    Regards
    HARI

    #target illustrator
    var df = new Folder('~/Desktop');
    var topLevel = Folder.selectDialog('Please choose your Top Level Folder…', df);
    if (topLevel != null) {
         topLevel = topLevel.fsName
         var fileList = new Array();
         fileListRecursive(topLevel, /\.ai$/i);
         if (fileList.length > 0) {
              main();    
         } else {
              alert('This Folder or sub folders contained NO Illustrator AI files?');    
    function main() {
         with (app) {
              while (documents.length) {
                     activeDocument.close(SaveOptions.PROMPTTOSAVECHANGES);
              //var orginalUIL = userInteractionLevel;    
              //userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
              for (var a = 0; a < fileList.length; a++) {
                   var docRef = open(fileList[a]);
                   with (docRef) {
                        var aiOptions = new IllustratorSaveOptions();
                        aiOptions.compatibility = Compatibility.ILLUSTRATOR12; // Change to 14 for CS4
                        aiOptions.compressed = true;
                        aiOptions.embedICCProfile = true;
                        aiOptions.embedLinkedFiles = false;
                        aiOptions.flattenOutput = OutputFlattening.PRESERVEAPPEARANCE;
                        aiOptions.fontSubsetThreshold = 0;
                        aiOptions.overprint = PDFOverprint.PRESERVEPDFOVERPRINT;
                        aiOptions.pdfCompatible = true;
                        aiFilePath = new File(fullName);
                        saveAs(aiFilePath, aiOptions);
                        close(SaveOptions.DONOTSAVECHANGES);
              //userInteractionLevel = orginalUIL;
    function fileListRecursive(f, exp) {         
         var t = Folder(f).getFiles();
         for (var i = 0; i < t.length; i++) {
              if (t[i] instanceof File && RegExp(exp).test(t[i].fsName)) fileList.push(t[i]);
              if (t[i] instanceof Folder) fileListRecursive(t[i].fsName, exp);
    }

  • Want to replace Wav Files with Apple Lossless in the same folder...Scripts?

    Hello!
    I have about 4,000 wav files (wow) that I digitized from Vinyl. I organize my media folder myself (I have the organize option unchecked in preferences) and most of the songs are not properly tagged. I would love to convert the wav files to apple lossless and have Itunes save the file in the same folder from where it originated. I havent found a way to do this yet. Its weird to me that I can select a song in a playlist and hit "Show in Finder" and it knows exactly where it is yet when I convert files to apple lossless they end up in the "unknown artist-unknown album" folder. Anyone have any ideas or is there any scripts that can do this for me ? thanks so much!!
    I had found one script that deletes the original wav files but still the new apple lossless are still put in the unknown album folder.....
    Zeke

    When iTunes converts a file, it does not allow you to direct the location of the output file, but rather places it according to the Artist/Album tags, which in your case are unknown.
    Almost every other conversion tool allows you to direct the location of the output. There are not a huge choice that run on the Mac and support Apple Lossless, but a good one is Max.

  • Open,, Save as,, Link file,, CS3 doesn't function the same as CS2!

    We have a 25 seat license here for CS3 and we've all noticed that in Indesign when you use the 'open' and 'save as' and 'link file', the window will point to the last place you did this function, rather than the actual folder you are currently working in. Argh! Why is this? Indesign CS2 didn't behave this way. Photoshop CS3 and Illustrator CS3 don't behave this way. It's a huge waste of time.
    For some of the designers here it's no big deal because they usually work on the same project (and in the same folder) all day. But for most of us whom will bounce around from client folder or project folder, it's annoying as hell to have to re-path the link file, or the folder you want to open, or the location you want to save to.
    I've asked IT to look into it. They couldn't find anything. I've checked the Forums. Didn't find anything. So now I'm posting.
    I still use CS2 at home which works the way I'm used to. While at home, if I hit the re-link in Indesign (CS2), it points me to the folder that I'm working in and I choose the file I want. Done. At work if I hit the re-link in Indesign CS3, it points me to the last job folder that I updated a link from,, I have to repath thru the network, find the client folder that I'm now working on, and then chose the file.
    Same with Open and Save as. Help!!! Is there a way to change this? It's not a system setting, it's a CS3 setting.
    I hope so.
    Harvey

    OK, Fine.
    Thing is,, this sucks. I work in a folder happy design department. If there are more than 30 files in a folder, or more than 3 general catagories, a subfolder gets created.
    I think this is just Adobe's way of forcing people to use Bridge. Which would be fine if we worked 600 files here to each folder,, like I do at home. I like bridge, I use it at home all the time on my laptop. I'm not folder happy. Bridge does everything I need. But my workplace is folder happy, and once you put it in a folder, you might as well be burying it somewhere. And I'll work in 6 or more client folders every day. Argghhh!
    In order to 'live with it' I've created a folder on my desktop which I fill with shortcuts to the 20 or so current and active clients that I have every week, (out of our 500 or so client list). Then I just click to that folder on my desktop and chose the shortcut.
    Sucks that there's not an option.
    Thanks
    -H

  • I want to but can't play WAVs and MP3s in the same folder, please he

    Hello,
    I have a Zen Nano Plus. One of the reasons I got it was because it has a built in microphone. When you record with the mic it saves it as a WAV file, and puts it in the "recorded" file. I want to make a folder with both songs (mp3s) and bits of spoken word that I record in - so that when I play it I can select shuffle and it will randomly play either a song or a recorded part. (It's for a friend in a coma and we want to leave it playing her favourite songs as well as messages from her friends.) When I make a new folder it won't recognise WAVs only the MP3s, and when I put MP3s in the "recorded" file it won't recognise them, only the WAVs. The shuffle option will only shuffle between tracks in the same folder. I've called the help line and spent half an hour talking to them but nothing was solved. I realise that I can convert the WAV files into MP3 files (anyone recommend a good, free converter?) but would rather not have to do this. Also, if it is possible to play both in the same folder, can I also record through the mic directly into this folder? This would save me having to take it home whenever a new message is left to organise the tracks.
    Any help given very much appreciated,
    Anil.

    Firmware is the operating system of the player, written by Creative. Peebee is saying that it would require a fundamental change to this operating system, which would need to be reprogrammed by Creative. You can by all means request it as a wishlist item, by sending to support, but there's no guarantee it will be implemented.

  • My macbook pro is frozen, the mouse moves, but it will not click.  I have restarted and it is still the same... Can anyone help me ?

    my macbook pro is frozen, the mouse moves, but it will not click.  I have restarted and it is still the same... Can anyone help me ?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain models. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • HT3743 I was trying to software update i phone 3g, when software downloaded an install, one unknown error has occurred, and asking for restore, at the same time i am trying to re-store again an error of 1015, happen, what i should do

    I was trying to software update i phone 3g, when software downloaded an install, one unknown error has occurred, and asking for restore, at the same time i am trying to re-store again an error of 1015, happen, what i should do, for solution,
    please advise me,
    best regards,
    Ahmed

    try to edit your host file ang delete any line that contain gs.apple.com

Maybe you are looking for

  • Be Careful, Found out Verizon Edge is Deceptive

    The information contained in this thread is true and there is no deviation from the truth.  Has anyone else experienced this? This letter is to notify you about a problem I am experiencing with my xxx-xxx-xxxx line, which has no come to a resolution.

  • Trying to Validate the name of a file with a Validator

    Hi, Im trying to validate an file name that is sent with a form I want that the Validator Checks if the filename ends with some extensions (.jpg ,etcc) for only addmit one type of files (images) I ve build my own Pluggable Validator , but I dont know

  • Moving Multiple Subtitles

    I have a ten minute educational video that I have manually created subtitles for in DVDSP4 (I realize there are better methods for creating subtitles, but I wanted to get this done as quickly as possible and I very rarely do subtitles). After placing

  • 2 Submit Buttons --- doesn't process form

    I previously was utilizing one button and the cancelAction command. However, this was causing the form to be submitted when used in the preSubmit event. I have recently implemented a 2 submit button solution to a form, which works beautifly for valid

  • Command line file read

    How do i read the command line statements using the getop function in java? Let's say i have 5 arguments which i enter on command line.2 of which is to read from a file and write to a file. for this case, how do i initialise and use the getop? rgds