Photoshop CS5 save with same name to a folder, also smartsharpen?

I thought this would be easier, just trying to save a file down with its current filename to a folder.
On a side note I couldn't see the option in the Library for Smart Sharpen (not the unsharp mask) Can this be done?
Matt
tell application "Finder"
          set highResFolder to "Hal 9000:Users:matthew:Desktop:HR" as alias
          set lowResFolder to "Hal 9000:Users:matthew:Desktop:LR" as alias
end tell
tell application "Adobe Photoshop CS5.1"
  activate
          tell front document
                    delete layer "Original Image"
  flatten
  resize image resolution 300 resample method none
                    set myOptions to {class:JPEG save options, quality:12}
  save  in folder highResFolder as JPEG with options myOptions appending no extension without copying
  close the current document saving no
          end tell
end tell

Might have it!, still can't find the Smart sharpen so played with unsharp mask.
tell application "Finder"
          set highResFolder to "Hal 9000:Users:matthew:Desktop:HR" as alias
          set lowResFolder to "Hal 9000:Users:matthew:Desktop:LR" as alias
end tell
tell application "Adobe Photoshop CS5.1"
  activate
          set myOptions to {class:JPEG save options, quality:12}
          tell front document
                    delete layer "Original Image"
  flatten
  resize image resolution 300 resample method none
  --sharpen image
  filter current layer using unsharp mask with options ¬
                              {amount:80, radius:3.2, threshold:0}
  --insert save option           save  in folder highResFolder as JPEG with options myOptions appending no extension without copying
  save in file ((highResFolder as string) & name) as JPEG with options myOptions without copying
  --Save for all HR JPEGS
  --Prepare for Low RES by resetting image history
                    tell application "Adobe Photoshop CS5.1"
                              set current history state of current document to history state 3 ¬
                                        of current document
                    end tell
  resize image width 1020
  resize image resolution 300 resample method none
  filter current layer using unsharp mask with options ¬
                              {amount:80, radius:3.2, threshold:0}
  --add save to lowResFolder with same options
  save in file ((lowResFolder as string) & name) as JPEG with options myOptions without copying
  --close file
  close
          end tell
end tell

Similar Messages

  • Automator and applescript to copy new files in a folder with same name as parent folder

    I have an iMac with a pictures folder (Finder folder) containing several subfolders with pictures. As per now, all these subfolders are imported into an iPhoto library (and the structure of the Finder pictures folder is thus maintained: The iPhoto events are named the same as the Finder subfolder). I.e. I have not created any albums in iPhoto.
    I have also set up a workflow, where new iPhone photos are automatically being synced to specified Finder folders within the iMac pictures folder. So what I want to do is to make a workflow to import potential new photos from week to week into the existing iPhoto structure. I know iPhoto has this Autoimport folder, so this one is unpacked and "mapped". So, this is what I´m hoping to do:
    Automator (iCal - want to do this on a weekly basis):
    - Get specified Finder items -- set to target folder = iMac pictures folder
    - Get folder content (with subfolders)
    - Filter Finder items
         - Items from the last 7 days (which then would be any new files created last week)
    - Applescript/shell script loop(?)
         - Get folder name for each file´s (from previous step) parent folder
         - Create new folder with same name as the file´s parent folder (if not already existing) under the iPhoto Autoimport folder
         - Copy the given file into the folder from above
    - Run iPhoto application (Automator task), which then should just auto import the new photos according to the Finder folder structure
    Whith the workflow above, I aim to maintain the existing iPhoto structure, and just import new photos into the existing structure. Creating folder names under the Autoimport, similar as the existing Finder folder names / iPhoto events should make it possible to have the new files imported under the existing event, right?

    Anyone?
    I have now switched to Aperture (from iPhoto) due to Aperture´s capability to handle Finder folder structure, and due to the possibility of having the pictures within Aperture as referenced files to the pictures within the Finder folders (i.e. possibility to delete pictures from both library and Finder folder at the same time).
    So I have a superior Finder folder called "Album". Within "Album" I have several subfolders (sub albums) containing pictures. The "Album" folder with subfolders are imported into Aperture as "Projects and albums", and the pictures are uploaded within the Aperture structure as referenced files. So for now the Aperture structure is more or less a direct mirror of the Finder folder structure, whereas "Album" is the project.
    And this is my current workflow in Automator, but I´m searching help with my Applescript:
    - Get specified Finder items (target folder = the superior Finder folder "Album")
    - Get Folder content
    - Filter Finder items (to look for potential new files to import into Aperture)
         - Kind is not folder
         - Date created last X days
    The output files from this task enters an Applescript
    on run {input, parameters}
           repeat with f in input (**Loop**)
                   tell application "Finder"
                          set fileName to name of (f)
                          set parentFolder to name of container of (f)
                          tell application "Aperture"
                                 tell library 1
                                        tell project "Album"
                                               if (exists album parentFolder) then
                                                 ** I then would like to check if fileName already exist within the existing album**
                                                 ** If not existing, I would like to import file f into the existing album as a referenced file**              
                                               else if not (exists album parentFolder) then
                                                       make new album with properties {name:parentFolder}
                                                ** I then would like to import file f into the new album as a referenced file**
                                               end if
                                        end tell
                                 end tell
                          end tell
                   end tell
           end repeat
    end run

  • How do I add files with same name to a folder

    I have photos with the same name and want to add all to the same folder.  I dont want to have to manually change the nams is there an easy way to do this.  In windows I would have the option to keep both and it would change the extn of one of the files.  Gary

    You have to do that manually, but why not set your camera to number photos sequentially?
    However, there is an App called A Better Finder Rename available from the App Store that can rename files.
    Or from here:
    http://www.publicspace.net/ABetterFinderRename/

  • While saving multiple attachments from mail, files with same name are added and not replaced

    While saving Multiple Attachments from Mail, existing file with same name are not overwritted but new files are added in the folder.

    Bjørn Larsen a écrit:
    Hi all
    Hope to get some help with Elements Organizer.
    I have 12-15 years of digital photos that I now want to import into my newly aquirede Adobe Elements Organizer / Photoshop. Since my Nikon names the files with continous numbers from 0001 to 9999 I have multiple files with the same name although they are not alike at all. My previous software had no problems with that since I keep the photos in separate file folders based on import date. I generally import photos after each event and so name the folder with the date and some event info (e.g. 2014.12.24 - Christmas at grandparents).
    That is a common situation, I have the same limitation for files not going over 9999 on my Canons...
    Now - when I import my photos into Elements Organizer I get a lot of error messages with "same name exist .....) Hmmmmmmm
    Please sate the exact wording of the error message, I have never seen a message stating 'same name exist...' or equivalent; only messages about files already in the catalog. Files already in the catalog mean that some files have the same 'date taken' and file size in Kb.
    Any suggestions. I'm using a mac and tried to rename files based on date taken. The mac can do that but it takes ages to go into each folder and run the renaming script there.
    I also use a similar folder creation scheme (such a date naming is the default for the downloader). That way I never get a message about duplicates for the same file names.
    However - I can't be the first or only person with this problem so I figure that some workaround must be known out there. Maybe the import action can recognize date taken or - well. Thank you very much in advance if you can help me out here.
    You can alsways set the downloader to rename the imported files with a unique new name, there are many options in the 'advanced' dialog of the downloader. I don't know about Macs, but I don't thing there is a difference.

  • BUG:  With same name jpg and RAW in same folder

    OK, we have established that you can't import same filenames RAW/jpg into the same folder, but you can drag them in later. This is useful for stacking.
    Bugs that occur when jpg and RAW with same name together in same folder. (have not tested for psd, tif etc.
    1. If you rename the jpg, the RAW also gets renamed
    2. You cannot move the jpg properly within the folder in grid mode.
    Most of my landscape shots need to go to photoshop. I developed a nice workflow which integrates PS quite well with LR...see post here:
    http://www.adobeforums.com/cgi-bin/webx/.3bc34679/5
    I created the workflow so that I could retain same name RAW/jpg stacks in the same folder. I have altered the workflow slightly so the jpg gets autorenamed with filename_# ... see the link above.
    Kev

    It's the same design issue Kevin. Sidecar files get renamed automatically and these are treated as sidecars.

  • When we click on the copy botton record with same name should not be saved

    Hi,
    Copy button will copy the record with the same name and will save it.our requirement is when we click on the copy botton ,record with same name should not be saved
    we are performing this task in custom object 12 and exposed Opportunity Name in the layout.
    Records with same Opportunity Name should not save ..when we copy the record
    Can we perform any field validation on Opportunity Name field?
    Please help
    please email me @ [email protected]
    Thanks
    Srinivas Merugu

    Opportunities that are assoicated to the same account cannot have the same name. You cannot make this unique for your whole instance. The only way that you could do this would be to create a webservice application that checks this before you save the record.
    What about defaulting the name each time this could make the record unique?

  • How to separate two contact with same name

    Hi, anyone knows how to separate two contacts with same name in Contacts?  Actually they are two persons from two gmail contacts with same name but different contact numbers, different emails....etc, but Contacts assume they are same person and merge them as one!

    FG,
    In Lion, you have the File > Duplicate option. You will then have two copies of your document open, and the one on top will have the temporary filename "OriginalFileName copy", and your next responsibility is to File > Save (or Command-S) and rename the duplicate. At this point, you edit the copy's name, to perhaps ...copy 1, or whatever you wish. The document you had open when you initiated the File > Duplicate will still be there on your screen, waiting for you to Close it or continue editing.
    Jerry

  • How to create device IDs with same name

    i am using SE 3310 and its creating different device ids for each node sharing it . since I will be building a RAC enviornment I need these IDs/name to be same .
    for example  on one node the lun id is /dev/rdsk/c3t0d0s6  but the same lun id on node 2 is /dev/rdsk/c2t0d0s6.
    In past with an old storage array I fixed this issue by creating links  in /dev/rdsk for  c3t0d0s6 --->  c2t0d0s6.
    my question is : is there a way in SE3310 that device ids get created with same name or do i still have to rely on creating these soft links ?
    thanks
    Note: since i need the answer to this quickly i will wait a while and then post this question in other forums and i will update the question here with the answer .

    This could be a Solaris (I presumed) O.S. question rather than SE3310 or storage question.  
    The logical device (/dev/[r]dsk/*) is the work of the O.S. when it first configures the device,  in this case the LUN from your SE3310.   I can go in depth on how the cX number happens (due to device probe order, driver differences, history of device discovery due to need of persistent device naming, etc...) but ... it's a really long story and is really quite irrelevant and most people should not be interested...
    If you have COMPLETELY identical servers, i.e. identical hardware down to specific HBA in specific slot are the same,   and if you make sure that luns are presented to all servers exactly the same way, same order, and any changes are seen by all servers in the same sequence,  in theory,  all /dev/rdsk/* devices will be consistent across servers.
    But that's still rather irrelevant.    Application that is designed to work in a redundant environment should not be dependent on logical devices like /dev/rdsk being the same.
    So ... in effect this is also not a question for the Solaris forum,  but rather a question for those familiar with RAC,  how to configure such that device access is done "safely" through actually identifying the lun rather than assuming /dev/rdsk are consistent.

  • How to create two employees with same name as supplier record?

    Dear all,
    We need to create a supplier record for an employee so that we can issue invoice for pretty cash payment. If there are 2 employees with same name, how can we create supplier records for these 2 employees? The system does not allow duplicate supplier name.
    Please advise.
    Regards,
    HY

    Hello,
    In R12 it is possible to create 2 employee with same name but different employee number.
    And also possible to create these 2 employees as suppliers in Payables.
    HTH,
    Vik

  • Can I run 2 different domains with same name but on 2 different machines?

    I am trying to setup 2 domains with same name (sharedcds1) on 2 different machines (Machine1 and Machine2).
              When I start the weblogic managed server 1 (sharedcds1managedserver1) on Machine2, it throws an error saying it has some conflicts with the managed server 1 running on Machine1. How did the managed server of one machine know about the other server. Can I run 2 different domains with same name but on 2 different machines?
              Here is the error in the log -
              <Jun 14, 2005 10:53:29 AM EDT> <Error> <Cluster> <BEA-000123> <Conflict start: You tried to bind an
              object under the name weblogic.transaction.coordinators.sharedcds1managedserver1 in the JNDI tree.
              The object from 4596206652609838848S:130.170.61.153:[9505,9505,-1,-1,9505,-1,-1,0,0]:sharedcds1:s
              haredcds1managedserver1 is non-clusterable, and you have tried to bind more than once from two or m
              ore servers. Such objects can only be deployed from one server.>
              <Jun 14, 2005 10:53:29 AM EDT> <Error> <Cluster> <BEA-000123> <Conflict start: You tried to bind an
              object under the name weblogic.transaction.coordinators.sharedcds1managedserver1 in the JNDI tree.
              The object from 8842351474821025197S:130.170.61.154:[9505,9505,-1,-1,9505,-1,-1,0,0]:sharedcds1:s
              haredcds1managedserver1 is non-clusterable, and you have tried to bind more than once from two or m
              ore servers. Such objects can only be deployed from one server.>
              Thanks
              Satish

    Yes you can. Make sure that domains configured to use different multicast address. WLS uses multicast for communications between nodes in domain.
              although your configuration will work, you could have troubles if you going to execute inter-domain calls between domains/servers with the same names.

  • Error while uploading document with same name in Document library

    Hi,
    Whenever I try to upload document with same name in Document library it throws an error. I know its a default behavior but is there any way so that I can upload documents with same name or can we append some unique id with title of the document?
    Please suggest.
    Thanks

    No, unfortunately this is not possible. SharePoint treats the file name as the primary key identifier for a document so if you try to upload a second document with the same name it will assume this is a new version of the file. If you have versioning enabled
    on the document library, it will add this as a new version. If not, it will overwrite the original file with the new one.
    If you need two documents with the same name, you will have to either place them in different folders within a document library or in different document libraries.
    http://stackoverflow.com/questions/11894968/uploading-documents-with-same-name-to-sharepoint-2010
    Regards,
    Rajendra Singh
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful
    http://sharepointundefind.wordpress.com/

  • Creation of BPEL with a WSDL having 2 operations with same name

    How to create a BPEL 2.0 from WSDL which is having the +2 operation with Same  name+ and we are planing to USE PICK activity but the BPEL is giving error while selecting the operation name
    can't create input variable.The selected operation does not have an input message.+
    WSDL:Operation
         <wsdl:portType name="ABC">
              *<wsdl:operation name="XYZ"*>
                   <wsdl:input name="Request1" message="tns:Request"/>
                   <wsdl:output name="Response1" message="tns:Response"/>
              </wsdl:operation>
              *<wsdl:operation name="XYZ">*
                   <wsdl:input name="Request2" message="tns:Request"/>
                   <wsdl:output name="Response2" message="tns:Response"/>
              </wsdl:operation>
         </wsdl:portType>
    Can you please provide the alternate solution if the procedure followed by us is wrong
    Thanks in Advance

    Hi Preetam,
    I believe it's not allowed, use different operation name.
    A wsdl:portType in a DESCRIPTION MUST have operations with distinct values for their name attributes.
    This applies only to the wsdl:operations within a given wsdl:portType. A wsdl:portType may have wsdl:operations with names that are the same as those found in other wsdl:portTypes.
    why do you need multiple operation with same message type?
    Regards,
    Faiz

  • Creating  file on network with same name

    Hello All,
    I have created the A0001BOE20060001.txt file on my machine & i want to create same file with same name on the different machine,
    i m able to copy all data in that file & recreate it on the server but i have problem with how to GET same file Name
    As i m creating a new file & writing data on the 1.txt which i m creating on the server
    How should i recognize the file name & create the same file on the server????

    Is this on Windows?
    I believe that java.io.File works with UNC paths. For example, if you have a network resource on the share myshare on machine my-pc, you could do something like:
    File f = new File( "\\\\my-pc\\myshare\\myfolder\\myfile.txt" );
    Note that you have to escape backslashes. You'll also want to be sure that you have permission to access the share - it won't prompt you for a password, so you must have already authenticated using Explorer or net use.
    Thanks,
    Brian

  • After upgrading my 3gs to ios5, I get 2 copies of pictures synced from my computer, 1 in the Photo Library and another in a library with the same name as the folder I put the pictures in to put on the phone. Any ideas why?

       When syncing pictures from my computer to my I-Phone I get 2 copies of the pictures, 1 in the Photo Library and another in a library with the same name as the folder I put pictures in to put on the phone. This started after I upgraded to ios5. I have tried re-installing I-Tunes. I have not reset the phone. My main concern is the amount of memory pictures take up on the phone. It's not a problem now but could be in the future. Any Ideas on why this happening?

    It has always been this way.  it was never different.  This is how the iphone handles photos - always has.
    There are NOT two copies,  There are simply two ways to access the very same photos.  All synced photos will ALWAYS be under Photo Library ( you can look at all photos at once this way or do a slideshow of all photos).  Those very same photos can also be accessed from the individual folders so you can show or slideshow just that folder.
    Just as a book can be in the library and in the fiction section, there is only one book/photo.

  • Is Photoshop CS5 compatible with the new Adobe Camera RAW 8.6?

    Is Photoshop CS5 compatible with the new Adobe Camera RAW 8.6?
    I am using the new Nikon D810. Adobe Camera RAW has this new camera included. But I cannot open the NEF files in Photoshop CS5

    NO

Maybe you are looking for

  • Safari and Mail crashing everytime on MBA Late 2010

    Safari and Mail keep crashing everytime. Here are details of the problem. Can anyone help? Process: Safari [190] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Version: 5.0.3 (6533.19.4) Build Info: WebBrowser-75331

  • How do I merge two adobe accounts into one or simply delete one of these accounts?

    Sometime ago I set up an Adobe Digital account when I was reading eBooks from the Library. I decided it was too cumbersome carrying a lap top around to a read a book so I had not used the account in quite some time. I was given a kobo reader as a gif

  • ICal syncing from desktop to iPhone and iPad is a nightmare

    I have a mid-2011 MBA running Mountain Lion, an iPhone 5C, and an iPad 2. I use the Lightning add-on for Thunderbird for a calendar, but it is buggy. I really want to go back to iCal so I can have my calendar on my phone and on my iPad, but syncing i

  • Grouping of Columns

    Hi All, I have a requirement of grouping of columns in report. For example a report which has columns A,B,C,D,E,F. Once user see this report he wants to save A,B,c as group and save. He can make any no of groups as such and save see later... Thanks!

  • What antivirus is recommended for parallels?

    I have parallels 10 and I am running windows XP. Do I need an antivirus, if I am not using any emails or seldom browsing? If so which one is compatible with the virtual machine? Thanks,