Action that does different things based on width to height ratio

I have a few hunderd images I want to run a batch on and I am building the action I will use.
I need to do something I have not come accross before.
If the image is taller than wide I need to make the image 1024 pixels high.
else
If the image is wider than tall I need to make the image 1024 pixels wide.
How can I do something like this in an action?
Will I need to use a script instead?

Will File > Automate > Fit Image not suffice?
If not you may have to use a (different) Script as Actions alone (edit) basically don’t allow the user to set conditional operations.

Similar Messages

  • Can you have multiple users working off the same Mac pro at the same time with multiple monitors but doing different things?

    I'm buying desktops for a start up company and was wondering if I could purchase a single Mac Pro and run multiple monitors to allow multiple users to work on the computer at the same time. These users would be doing different tasks but I would hope to accomplish that on a single desktop. I know that screen sharing is possible but with only one user controlling both of the screens. Thanks in advance, sorry for my apple ignorance!

    A lot of companies are buying or leasing laptops to be used at the office by day, and carried home at night.
    Some companies are doing "Bring your own device". Bring a device to receive email -- computer/smartphone/tablet you already have, or have an allowance to buy one for your use.
    If Capital is short (and when is it not) leasing computers, to be turned in a few years, can be a huge savings because the cost is expensed as incurred. The alternative is laying out cash today, but not being able to expense the cost this year. Instead, the computer expense must be recovered over their useful life (often five years) through depreciation.

  • IView that displays different things depending on event

    Hi list,
    I need to create an iView that will be receiving different events from other iViews.  This receiving iView will display different things depending on the event (eg. image maps, data sheet, etc).  How should I implement this iView?  Should this iView be multi-component and then the events triggers the correct component?  Or should this iView be multi JSP pages with one component handling the event and calling the correct JSP page?  Or are there any other suggestions/examples out there?
    The image map is not simple either.  It has several hotspots on one image map.
    Thanks in Advance,
    Jovanka

    Hi list,
    I need to create an iView that will be receiving different events from other iViews.  This receiving iView will display different things depending on the event (eg. image maps, data sheet, etc).  How should I implement this iView?  Should this iView be multi-component and then the events triggers the correct component?  Or should this iView be multi JSP pages with one component handling the event and calling the correct JSP page?  Or are there any other suggestions/examples out there?
    The image map is not simple either.  It has several hotspots on one image map.
    Thanks in Advance,
    Jovanka

  • How to make an action that does not record the path in which you save your file

    Hi all, once I set an action like this:
    and with the batch i can always choose the destination folder, time by time.
    But I tried to do a similar action that saves a png file, but I can't leave the "in: " empty, it always fill with a path.
    How can I do?
    Thanks a lot!

    Basically i need to create a new document out of a folder full of images.
    You may have to look into Scripting to achieve something like this.
    You could ask in the Scriptimg Forum
    Photoshop Scripting
    But maybe it would suffice to insert the Menu Item
    File – Scripts – Load Files into Stack
    into the Action and then iterate through the Layers with [ or ] and reset the opacities and Blend Modes – but as Actions would not be able to change the number of repetitions of the operation conditionally a custom Script would still seem preferable. 

  • Possible to resize pic according to own width and height ratio?

    Hi there
    Usually when resizing (or exporting) a picture, iPhoto automatically chooses an appropriate combination of width and height for us. For example, if I wanted to reduce the width to 320 pixels, iPhoto automatically updates the height to 240, making the resized pic to be 320x240.
    However, I need to resize a picture to become 300x300. How can I do that? When I type in 300 for width, iPhoto keeps automatically putting the height as 225, making the picture 300x225, but I need 300x300. Is there a way to manually choose how I want to resize the pic?
    Thanks in advance.

    teriyip:
    What you need to do before exporting is to crop to the size ratio, in this case square. Then you can put in 300 in one dimension field and the other will come in at 300 also. There's a square option in the Constrain menu.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.

  • How can I add buttons that do different things to each row of an rpt result

    Hi there,
    I'm trying to figure out how to add buttons to each row of a report. Here is the scenario:
    report query returns a set of data that needs to be "approved". The options are "Append", "Replace", or "Reject" (I want to make the results look like so:)
    Person1 today blah, blah blah... Append button Replace button Reject button
    Person2 today blah, blah, blah... Append button Replace button Reject button
    PersonA today something, blah... Append button Replace button Reject button
    and so on.
    I'd like to set up the page so that there is an append, replace, reject button for each row returned by the report. So when the "Approver" clicks on the append button, something happens for that row, etc. How does one do this? So far I can only get the buttons to show up in the region. I also thought it might be possible to somehow turn the append, replace, reject text into links that called a plsql proceedure that would handle the action, but I'm not having any success with that idea either.
    Edited by: user10361829 on Sep 29, 2009 12:10 PM

    What I've done is make my report query as follows:
    select field_a, field_b, field_c, 'Append', 'Replace', 'Reject'
    from table_x
    where field y = :PX_ID
    That gives me the words (append, replace, reject) in the report. Then I go to the report attributes section and make a link out of the columns (append, replace, reject) so far, so good.
    Next question is how to make clicking on those links activate an update action on tableN. In the column_link section there is a box marked "Request" that looks like it might be relevant because Request is a term connected to buttons, but I've no idea how to use it. Or, can one use the tabluar form element section of the report attributes page to connect the Append (pseudo column) to an action? I've looked at your example (Sam) with the delete button, but what I really need to see is the Apex menu that sets it up because there are so many levels in the interface it is not intuitive (at least for me). I know exactly what I want it to look like but I'm missing the crucial step to get there... Thanks for your help so far.
    Column link section is described below :
    Column Link     Top
    Link Text      flashlight          
         [*Append*][Icon 1][Icon 2][Icon 3][Icon 4][Icon 5]
    Link Attributes      
    Target: *"Page in this application"*     Page: *10*     
    Reset Pagination
    Request Clear Cache      
    Name     Value
    Item 1      Px_page_item flashlight *#????#*          flashlight
    Item 2      flashlight          flashlight
    Item 3      flashlight          flashlight
    URL      
    Page Checksum

  • Setting to use only middle portion of ultra wide display in order to get traditional width-to-height ratio

    For the software I use most, like word processor and terminal emulator, a more
    squarish display is much easier to view than the ultra-wide display I recently
    purchased (somewhat by mistake). Everything has become very stretched out
    lengthwise and is very difficult to read. Is there some setting in Windows8
    to use only the central portion of the display in order to get the same
    height-to-width ratio of older monitors?  Thanks.

    Hi,
    Meanwhile, I suggest you view the manufactre website or contact their supprt to check if there's a Display Manager to optimize your media presentation and maximize your monitor’s state such as Easy Arrange and Auto mode, usually there should be such kind
    of manager for an ultra wide monitor.
    Yolanda Zhu
    TechNet Community Support

  • Creating a page that does not exist

    Hi everyone,
    Is it possible to create a page that does not exist based on the user input?
    By does not exist I mean that it is not stored in your computer and JSP will generate the page based on the user input. For example, in forums the user can create a new topic and based on the options selected a page will be created and stored that was not present before. The same thing happens when a message has a large number of replies, in which a new page will be created and attached to the previous page. I hope that I am not misunderstanding the concept of creating pages in forums.
    Any help is greatly appreciated.
    Regards,
    Basil Mahdi

    Hi,
    what happens in the forums is that you type in a message and that message is stored in a database. Along with your message the number of thread, forum number and message number is stored. Next time somebody wants to read your message, this message is taken from the db and shown to you by the jsp. The JSP ofcourse does more thant taht it shows also other messages and static HTML.
    http://galileo.spaceports.com/~ibidris/

  • Make photoshop action that saves file with specific filename

    Is there a way to make a photoshop action that does a SaveForWeb, but adds text to the original filename when saving?
    For example, if I open a file called "coverPage," and I want the action to do SaveForWeb as a JPEG, can I have it save  as "coverPageWEBVERSION"?
    Thanks for your time and help

    No this is one thing you will need scripting for.
    They really should have introduced some modification to the Save dialog that allows file naming additions or modifications triggerable within actions. But they never did.
    As a workaround, Bridge is a good tool for renaming, because naming convensions can be SAVED and quickly applied to groups of files. Not often known fact  - On a mac there are also OS scripts that can do the same thing. There is a script called 'rename items' hidden away somewhere. This is accessable by Control or right clicking on a group of files, and going through the 'automate' submenu

  • Action that turns layers into frames

    I have an action I made that turns each layer of a PS document into a frame in a GIF animation.  Trouble is, it's reliant on layers being named "Layer 1", "Layer 2" etc in order to work, and has a finite maximum number of layers/frames (which can be extended easily, but it's a little tedious).  Is there an action, or a way to make an action that does this without relying on specific file naming?  (The finite maximum issue is of secondary concern.)

    HI, Ron.
    JJ's suggestion should fix you up.
    But, FYI, when making actions that require layer selection, select the layer with keyboard shortcuts rather than your mouse.
    Alt+. (period) selects the top layer, without reference to layer name.
    Alt+[ and Alt+] select the next layer down or up.  Without reference to layer names.
    The action will record layer names if you select them with your mouse.
    Peace,
    Lee

  • How do you change the image size and resolution in photoshop everytime I change the width the height changes my measurements will not stay

    Can someone assist me with changing image size and resolution.  each time I change the width the height changes and vice/versa?

    There's a chain link between width and height. The point is to keep the aspect ratio the same, otherwise your picture would get stretched.
    You click on the chain-link to shut that off and you can adjust width and height separately.
    Also could you give us your version of Photoshop, what OS you are running it on (Windows 7 for example) and what exactly you want to do with your document?
    Resolution is the print term for how many pixels will be printed on an inch of paper. It doesn't apply if your image is intended for screen viewing.
    Gene

  • The crawled property of Image width and height - is there a differnce when the image is png format?

    Hi,
    We are indexing file share with images and get the properties of Image Width, Image Height, Image Size (we show it as refiners in SharePoint after make it managed properties). Somehow when the picture is png format - we see only Size but not height and width.
    Is that any setting that should be done in the file share (when i select an image in the windows explorer window i can see all its properties, and it seems that png files do expose the width and height properties
    keren tsur

    Hi  Keren,
    According to your description, my understanding is that when you tried to  crawl file share with images, the ows_ImageWidth and ows_ImageHeight crawled property for PNG  file could not be generated.
    For your issue, I can reproduce your issue in my SharePoint 2013 environment. For a workaround, you can upload the PNG images into SharePoint images Library and they would work fine.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • CS5 Device Central Stage.width/Stage.height update problem when change the device profile.

    When creating FL 3.0/3.1 app   and testing it at the CS5 Device Central if you change the profile of the active device(select different phone with different screen size) Stage.width/Stage.height could't change. Always stays the same as the first device's Stage.width and height. Even if you add addListener with Delegate nothing happends. Also it effects to Screen Oriantation. It looks like a problem or is this a bug?

    Having the same problem, though I can't get it to connect even once. I just started researching the problem tonight - no solution yet...
    I'm on Windows 7 Pro 64-bit, Production Premium CS 5.5.
    I've got no other internet issues, Adobe update works fine.
    Please - Anybody have an idea how to troubleshoot this problem?
    Thank you.

  • Overloading methods that do logically different things, does this break any major principles?

    This is something that's been bugging me for a bit now. In some cases you see code that is a series of overloads, but when you look at the actual implementation you realize they do logically different things. However writing them as overloads allows the caller
    to ignore this and get the same end result. But would it be more sound to name the methods more explicitly then to write them as overloads?
    public void LoadWords(string filePath)
    var lines = File.ReadAllLines(filePath).ToList();
    LoadWords(lines);
    public void LoadWords(IEnumerable<string> words)
    // loads words into a List<string> based on some filters
    Would these methods better serve future developers to be named as LoadWordsFromFile() and LoadWordsFromEnumerable()?
    It seems unnecessary to me, but if that is better what programming principle would apply here?
    On the flip side it'd make it so you didn't need to read the signatures to see exactly how you can load the words, which as Uncle Bob says would be a double take. But in general is this type of overloading to be avoided then?

    Hi PandoraElite,
    >>Would these methods better serve future developers to be named as LoadWordsFromFile() and LoadWordsFromEnumerable()? It seems unnecessary to me, but if that is better what programming principle would apply here?
    I think you could define a class with many complex behavior, and the behavior has the same method name with different parameters like below:
    //difine the class
    public class LoadClass
    public void LoadWords(string filePath)
    //add method
    MessageBox.Show("string");
    public void LoadWords(IEnumerable<string> words)
    // loads words into a List<string> based on some filters
    MessageBox.Show("IEnumerable<string> words");
    //use the class
    string str = "hello";
    List<string> list = new List<string> { "h","e","l","l"};
    TestClass.LoadClass loadclass = new TestClass.LoadClass();
    loadclass.LoadWords(str);
    loadclass.LoadWords(list);
    >>On the flip side it'd make it so you didn't need to read the signatures to see exactly how you can load the words, which as Uncle Bob says would be a double take. But in general is this type of overloading to be avoided then?
    I think it would be better not to use the “LoadWords(lines)” in the “public void LoadWords(string filePath)”. When you modify the “LoadWords(IEnumerable<string> words”, it would affect the “LoadWords(lines)” method and the function of the “LoadWords(lines)”method
    might be effected.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Is there a free java based forum that does NOT require disk write access ?

    Hello,
    I've been trying to set up mvnForum (www.mvnForum.com) on my site but I've had to give it up as the way the server is set up I can only give write access to Tomcat if I give write access to everyone !
    I don't need my forum to have disk access as it can just use the mySQL database the whole time. So is there a good java based forum out there that does not require disk access ? I'm hoping to find one that has e-mail authentication for people who register and things like that.
    I know a php forum that will do it already but as the rest of the site is written in jsp it would be nice to be able to integrate it properly. Any help greatly appreciated.

    Please try mvnForum beta3, it doesnot require disk write. Since RC1 mvnForum use disk access to write Lucene search index and attachment file.
    Regards,
    Minh Nguyen
    mvnForum Developer

Maybe you are looking for

  • I want to back up my IPOD music on to my PC, but IPOD is formatted for my MAC, how do I do it?

    Can anyone help me back up my IPOD music to my Laptop PC?  I have my IPOD formatted for my MAC and can't back it up on PC......Help!

  • Ipod not recognised - tried absolutely everything

    My ipod is not recognised by windows or itunes when I connect it via the USB cable to my PC. If the ipod is off upon connecting it will turn on but will not change to the 'do not disconnect' screen and doesn't appear in my computer. The socket theref

  • Drag and Drop images between two listviews

    I need a help for listview drag n drop opretion on winform. where  listview1 hold the images and i want to drag images from listview1 to listview2 and then when i click any button i want all paths of Images which is in the listview2. and also i want

  • Listener log file questions

    I have few queries regarding listener.log file. 1) What is the use of listener.log file? 2) Does listener.log file need to be purged? 3) When is this Listener.log will be created?

  • Problem with burned DVD on DR8-A

    Hi everybody, I have a strange problem. If you could help me it will be great. I burned a Memorex 8x DVD+R on my DR8-A at 4x speed. This works fine. So after i look my DVD in Windows Explorer and it shows me the all the files ( i have twenty video fi