How to get clipboard to paste as PNG instead of TIFF

(1) If I copy-screen-to-file (Cmd-Sh-4) the file is saved as a PNG.
(2) If I copy-screen-to-clipboard (Opt-Cmd-Sh-4) and paste, I get a TIFF file.
How do I get (2) to give me a PNG?
Thanks!

(2) If I copy-screen-to-clipboard (Opt-Cmd-Sh-4) and paste, I get a TIFF file.
Minor correction. The command to the clipboard is Ctrl-Cmd-Sh-4.
Once in the clipboard, the info is just raster data. It has no file format until you paste it into an app that can handle such data. Like Preview, Photoshop, etc. It's then up to you to save the image into the format you want.
For instance, once I do a screen shot to the clipboard, I can choose "New from Clipboard" in Preview. It displays the image in a new window. From there, I can do a "Save As" into a number of formats. But it isn't anything until then.

Similar Messages

  • SRM7 - how to get clipboard content at runtime

    Hello gurus,
    not sure this is the proper section as my question is kinda technical and ABAP-related, anyway.... SRM 7.0 has a Copy/Paste option on items of a document (purchase order or contract): once the user selects an item, the "Copy" button uploads the item on the clipboard, while the "Paste" one gets clipboard's content and generate a new item with that data.
    I have to check at runtime which data are in the clipboard in a WDDOMODIFYVIEW post-exit enhancement.
    For a specific customer desiderata, I have to check the "copied" position w.r.t. the item that is selected at runtime in order to enable/disable the "Paste" button.
    So the question is: how can I get the "copied" item? I need to check some fields in it in order to eventually disable the "Paste" button dinamically.
    I assume this question could be equivalent to the following: how can I access the clipboard area and get the "copied" item(s) ?
    I'm working on the item main area (/SAPSRM/WDC_CTR_DOTC_IT web dynpro) and tried as follows:
    DATA: lv_FILLED Type abap_bool.
      DATA: facade_clip TYPE REF TO /SAPSRM/IF_CH_WD_SETF_CLIPBRD.
    * check clipboard
      CALL METHOD wd_this->MO_DODM_CTR_ITEMS->/sapsrm/if_cll_do_mapper~is_clipboard_filled
        RECEIVING
          rv_data_contains = lv_filled.
      IF lv_filled EQ abap_true.
        CALL METHOD wd_this->mo_dodm_ctr_items->get_clipboard
    *      EXPORTING
    *        iv_cross_tx  =
          receiving
            ro_clipboard = facade_clip.
    Unfortunately, the second method (get_clipboard) seems to be private/protected. Is there any other way to get info on the copied positions?
    Thanks in advance
    EDIT: moreover, I noticed also that IS_CLIPBOARD_FILLED is not relevant for my task, as it returns always abap_true even though no item was copied. I guess that clipboard can be filled with every kind of data... I have anyway a workaround which is based on a post-exit on the COPY_ITEM method, in which I mark a custom field in the context ("copy_pressed"), so I know in WDDOMODIFYVIEW whether the "Copy" button has been pressed.
    Edited by: Matteo Montalto on Mar 2, 2012 3:53 PM

    Hi all,
    back on the argument as I probably found a way to achieve the desiderata... only a little tile missing, hope someone could provide me an help.
    Basically, in WDDOMODIFYVIEW, I coded as follows:
    DATA: clipbrd TYPE REF TO /SAPSRM/IF_CH_WD_SETF_CLIPBRD.
    clipbrd = wd_this->mo_dodm_ctr_items->/sapsrm/if_cll_do_mapper~get_clipboard( iv_cross_tx = 'X' ).
    This gives correctly the clipboard object, that is however not usable as object of type /SAPSRM/IF_CH_WD_SETF_CLIPBRD.
    I should then use a method to retrieve the content of the clipboard in an usable format; I found out that the method
    CALL METHOD (of /SAPSRM/IF_CH_WD_SETF_CLIPBRD) get_clipboard_content
        EXPORTING
          io_set_facade        =
        receiving
          rt_clipboard_content = test (type ref DATA).
    is exactly what I'm looking for.
    The problem is: what's that io_set_facade intended for? As it's a mandatory parameter I have to pass it in order to retrieve clipboard's content, but don't have idea on how to get it in WDDOMODIFYVIEW as it seems an private attribute of the interface IF_CLL_DO_MAPPER.
    Any help is welcome.
    Thanks.

  • How to get premultiplied alpha in a png embedded with compression=true

    Hi there,
    I found that the [embed] tag has many undocumented features (and WHY ... WHY are they not documented?! and IS there any place where it is all thoroughly documented? Well, the one in the Flex documentation isn't really that helpful)
    So you can embed PNGs in a compressed way like JPGs with compression=true and quality=70 i.e. to save a transparent PNG with JPEG compression.
    BUT when I do that, the alpha seems to not get premultiplied, it doesn't behave like when I don't compress it. The shadows aren't dark anymore but almost lighten the areas up. When not using compression & quality, the shadow areas look like they're supposed to.
    When using a PNG compressed by the Flash IDE, it works.
    So, is there ANOTHER undocumented embed-feature which lets you control if the alpha-channel gets premultiplied or not?
    That would really help in some cases.
    Right now I'm still using the Flash IDE for that, but it would be nice to know if there is a way to make it work merely by Flex EMBED tags.

    Hi corlettk,
    Thanks for your reply. I have defined my map as Map<String, Boolean> selectedIds = new HashMap<String, Boolean>();
                selectedIds.put("123-456", true);           
                int m=123; int n=456;
                                     selectedIds.put(String.valueOf(m) + "-" + String.valueOf(n),true);
                boolean viv = selectedIds.get("String.valueOf(m)-String.valueOf(n)");
                System.out.println(viv);
                My problem is the hashmap key must be set dynamically ("123-456" is just an example) and when i get the value i should be able to pass those varibales in an expression correctly. Please let me know how can i pass an expression like the one above as a hashmap key. Please advise.

  • How to get App Store past bad billing info

    So I have not been able to update my app's because the App Store thinks I made some bad purchase or something.  Well I do t currently have a debit card so how do I get my phone to understand it just needs to give up on wanting billing info for the moment?  Or is this just one of those things that Apple does not budge on?

    Hi Bennytaanz,
    Welcome to the Support Communities!
    The following links will show you how to edit or update your billing information for the iTunes Store; and how to contact them to review your account:
    iTunes Store: Changing your payment information
    http://support.apple.com/kb/ht1918
    iTunes Store & Mac App Store: Seeing your purchase history and order numbers
    http://support.apple.com/kb/ht2727
    Cheers,
    - Judy

  • How to get rid of past songs from itunes match?

    I recently had iTunes match, used it, wasn't satisfied. So I turned it off my phone... but the songs that I had once downloaded, are still there (kind of) you can't play them, but they show up like this: they show up like the "De La Soul" songs do. it also seems that since this, I've had sort of a tough time putting songs onto my iPhone.
    any help? thanks

    These "ghost tracks" as I call them are a presistent, irritating bug that was supposed to be fixed in iOS 5.1. So if you haven't upgraded yet, do so and see if that fixes the problem. If not, then...
    Connect your iPhone via USB and unselect "sync music" and sync. This will remove all the music on your iPhone. You may need to do it a couple of times, or more. Then see if the "ghost tracks" are gone.
    If not, then try selecting the "manually manage music" option on the Summary pane and manually deleting the tracks, syncing again, and unselecting the "manually manage" option, then sync again.
    If this does not work then you'll need to do a full OS restore, then restor from backup.

  • How to get icloud to open in chrome instead of IE on windows 8

    Hi,
         i have windows 8 and in my apps i have - icloud, contacts and calender which clicking on them opens icloud on internet explorer is there a way to get them to open up on google chrome instead
    Thanks intelligent community =D
    Chrisdion Altoft

    Hi,
    This is server side code , you should write in your C# code behind method for Click event of Link Button .
    - Use 1st part code in your button event handler method. (Replace <username> with current user name), best way is to find the crome.exe location at your dev machine , and paste the path here -
    process.StartInfo.FileName = @""; , default location is in user's appdata folder. Test the code.
    - If the above code works , and if your crome.exe is in user's appdata folder , then you will need to find dynamic location of AppData folder for every user. That means the path should not be hard coded. The 2nd part of the code is an hint for how you can
    find the appdata path in C#. Something like this
    //var cromePath = @"C:\Users\<UserName>\AppData\Local\Google\Chrome\chrome.exe";
    var cromePath = Path.Combine(Environment.GetFolderPath(
    Environment.SpecialFolder.ApplicationData), "\Local\Google\Chrome\chrome.exe");
    using (var process = new Process())
    process.StartInfo.FileName = cromePath;
    process.StartInfo.Arguments = "your url";
    process.Start();
    So the step will be
    - First try a direct call to crome,
    var cromePath = @"crome.exe";
    - if it not works , then try with hardcoded path of crome.exe from your dev machine for current user -
    var cromePath = @"C:\Users\<currentUserName>\AppData\Local\Google\Chrome\chrome.exe";
    - And if this work , then try it with dynamic path for any user, find appdata folder location through code 
    var cromePath = Path.Combine(Environment.GetFolderPath(
    Environment.SpecialFolder.ApplicationData), "\Local\Google\Chrome\chrome.exe");
    Hope this will help, if you are a C# developer then you can easily understand  the concept.
    Thanks
    Ganesh Jat [My Blog |
    LinkedIn | Twitter ]
    Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful.

  • How to get the MTBR value in days instead of in hours

    Dear Sir,
    Please help me to get the MTBR value (T-Code MCJB)  in the units of days instead of in the units of hours which is coming as default unit at present.
    Looking for an early reply please.
    THANKS AND REGARDS,
    RN SABAT.

    hi for this you need to change the formula in the std sap
    as per sap's formula
    suppose start date is 01.01
    breakdown date is 10.01
    downtime = 10 hrs
    next break down date is 20.01
    downtime is 5 hrs
    mtbr =19 days X24 hrs-10/2
    the above is how sap calculates
    if 24 hrs is removed from the formula all the data will be in days
    i hope iam right .
    Edited by: Mohammed Iqbal on Apr 27, 2011 6:26 PM

  • How to Get My Dashboard as Default Page Instead of Home Page in OBIEE 11G?

    Hello Gurus,
    I have one requirement where i need to change default page to "My Dashboard" like what we had in OBIEE 10G ?
    Rite-now in OBIEE 11G when any user logs in they are directed to "Home" Page, but i want to change the navigation to "My Dashboard" for all user..
    I know the option to in My Account and Change the Default dashboard in Preferences , but it's manual way to do it for all end-users.
    and the other is to create the PORTALPATH Variable and do it from RPD.
    So I am looking to some other way there we can change the navigation path from system file itself...
    Thanking You..

    Hello David,
    Thanks for reply.
    Actually I am just concern abt the OBIEE Dashboard page, the link that u have mentioned is for Application Server, where we can manage the multiple Application Portals.
    and it also doesn't come with Middleware that we are installing for OBIEE.
    so i did get some useful information but not related to my question.
    is there any place in EM(Enterprise Manager) or Console(Admin Console) from where we can manage the Default Portal for OBIEE Users?
    Thanking You..

  • How to get the output in .xls format instead of .csv.

    Dear All,
    I have added a exportButton on a table through personlization, when I click on the button it is opening in .csv instead of .xls file .
    Please let me know if I can change the format of that to .xls .
    Regards
    Karan deep.

    Hi,
    I tried that but I am not able to get the outplut in .xls format .......I think "export all rows" property is used to export all the rows of the particular table "VO attached to it".....I dont think that this property has any control of file format....

  • Pandora Widget no longer working - how to get a web clip to work instead?

    The Pandora widget was one of my favorites and now no longer seems to be working. So, I tried to make a webclip of the player and that worked fine. Awesome! But, it only works with the dashboard open and stops playing once I go back to working. Anyone know a way to keep it playing?

    HotShott,
    Ok here is how to fix your issue, go back into dashboard while hovering over your clip a little "i" shows up in the bottom right, then uncheck (only play in dashboard).
    Hope this helps with your issue.

  • How to get the XML TAG name itself instead of TAG value

    Hi All,
    I have a question here
    I want to retrieve the XML tag from a XML file instead of its value.
    Example:
    <item>Colgate</item>
    Now I want to retrieve "item" as output from XPath expression, I dont want its value as "colgate"
    How to do that...?
    Thanks
    -Praveen

    You can do this with an axes XPatch expression:
    child::node()/name()
    For more info see: http://www.w3schools.com/xpath/xpath_axes.asp
    HTH,
    Bas

  • How to get iMovie to open with gopro instead of iPhoto?

    I plug in my gopro 4 to my iMac and Iphoto opens with some of the content from it. I want iMovie to open with it instead but I cannot get iMovie to recognize my gopro at all. Any suggestions? I have iMovie 09' and it is compatible with the gopro 4 silver. My OS 10.6.8 will not support the gopro studio or else I would just use it. Please help.

    Yes, I think so.  If you launch the Image Capture application, then connect your GoPro you should see a box at the bottom left of the Image capture window which allows you to set which application (or none) opens when your GoPro is connected.  Try setting the application to iMovie.  Details here:
    http://mac-fusion.com/image-capture-just-wont-stop-opening-when-i-connect-my-cam era/
    Geoff.

  • How to get FCP to recognize an animation sequence, not individual clips ?

    Hello All;
    Could someone tell me how to get FCP to recognize a .png animation sequence (Exported from After-Effects) ? When I place the directory or files onto the timeline, I get a project 27 minutes long, rather than 10 seconds like it should be. I know this must be easy and I'm just missing something.
    Tim

    You exported a .png image sequence from After Effects?
    Three choices:
    1) In Final Cut Pro, click anywhere in the 27 minute long timeline and type Command + A to select all the clips. Once they are all selected Control Click on any one of the selected clips, and from the drop down menu choose Duration. Set the duration each clip is supposed to be ( 1 frame? 3 frames?) and click OK.
    2) In Final Cut Pro, go to the menu Final Cut Pro > User Preferences. When The User Preferences open, click on the Editing Tab. Set the Still/Freeze duration to the duration you want for each of the stills in your image sequence and click OK. You will then need to re-import the stills, and they will now each be the new duration. This does not work on the stills you have already imported- you need to import the stills again.
    3) Open Quicktime Pro (Quicktime Player 7) and go to the menu File > Open Image Sequence. . .
    Navigate to the first frame of your image sequence and click Open. You will be asked to pick your frame rate. Set that and click OK.
    When it opens, go to the menu File > Export and the Save Exported File As . . . window will open. Choose the codec you want for your animation (Pro Res, most likely) and, determine a location for the file and click Save. The image sequence will be exported as a Movie in the frame rate and codec you chose. Import that movie into FCP to edit or composite.
    MtD

  • The updated iPhoto program is cumbersome.  I am trying to create a Christmas card and can't figure out how to get the fold of the card on the left and not on the top of the card.  I had no trouble with this for the past two years.  Can someone help?

    The updated iPhoto program is cumbersome.  I am trying to create a Christmas card and can't figure out how to get the fold of the card on the left and not on the top of the card.  I had no trouble with this for the past two years.  Can someone help?

    Click on the Layout button lower right and choose a Vertical lyout from the dropdown

  • How can I copy and paste a pdf form onto my Mavericks Clipboard. I only see word-wrapped text.

    How can I copy and paste a pdf onto my Mavericks Clipboard. I only see word-wrapped text.

    Yes, Thank you for using the term Place. You moved my focus off the clipboard, and Place set me back on course. Somewhere, the terms Copy and Paste need to be tagged to Place and Export. I'm a database designer who only uses Illustrator for forms the database fills. My need isn't yet met, but the rest should come with reading the right references. Thanks Larry!

Maybe you are looking for

  • WLS 6.1, SP2, Error Deploying WAR, Manifest file problem

    Hi, When I moved to SP2 on 6.1, I am getting a new error while deploying a war file. It looks from the stack trace that there is a problem with my manifest file, but I am just taking the manifest file created by jdk1.3 jar utility - My META-INF dir i

  • How to Set a line's BackGroundColor in JTextPane?

    I want to change a whole line's(not only the characters) background color.(display as we set breakpoint in a debug environment). i tried DefaultStyleDocument.setCharacterAttributes(start,end-start,MyAttr, false); This can not set whole line but the b

  • Error in XPATH

    I had an error determining the receiver of the message.  When I restarted it and increased the trace level, I found out that it is routing to the wrong XPATH.  But when you look into the Receiver Determination, the XPATH of the configured receivers a

  • How to export and compress a video on imovie

    I have a video that is 285MB and I need to it be 50MB is this an impossible task or is there a way of doing this? Please help as the video can be no bigger than 50MB and I would still like it to be a good quality! The version of imovie I'm working wi

  • Renaming

    I frequently make panoramas or simply a set of stitched images. When I am finished, I'll usually move or copy to, the folder containing the finished versions to print. Now, if I want to go back to the original set from which I made the final, the pat