Clip to Clipboard

I have created a PDF file with password protection. The Clip to Clipboard is grayed out but I can highlight it and copy it. Why? I am viewing the file in Adobe Reader 9.1.3

Bernd
This is really strange.
I am using Windows XP, Adobe Reader 9.1.3 and I can highlight the text and copy it into another WordPerfect document.
Ford

Similar Messages

  • How do I move a clipping form clipboard onto my desktop?

    I liked it when a Command/shift/4 would move the image to my desktop, but now it stays on my clipboard. Do I have to open another ap to be able to unload it to my desktop? It's says, fleetingly, Your image has been moved to your clipboard, click twice to... then the window quickly moves away. Was i supposed to be ablle to double click that fleeting bulliten?

    cmd-shift-4 should put it on your desktop.
    cmd-ctrl-shift-4 will put it on the clipboard.
    Are you also holding down the ctrl key?
    If not, check what is set for the screen capture shortcuts here:

  • Need to save the image saved in the System Clipboard in using JDK 1.3.1

    Does anyone know how to use JDK 1.3.1 to take an image saved in the System clipboard and save it to a file using the JPG format?
    I know how it is done in JDK 1.4 using the following code. Unfortunately, the same code does not recognize the image in the clipboard in JDK 1.3.1
    I am using jai-1_1_2_01.
    package clipboard;
    import java.awt.datatransfer.Clipboard;
    import java.awt.datatransfer.DataFlavor;
    import java.awt.datatransfer.Transferable;
    import java.awt.image.RenderedImage;
    import java.awt.Toolkit;
    import java.awt.datatransfer.UnsupportedFlavorException;
    import java.io.IOException;
    import java.io.FileOutputStream;
    import java.io.BufferedOutputStream;
    import java.io.File;
    import javax.media.jai.JAI;
    import javax.media.jai.RenderedOp;
    public class clipboard
    {  private File tempFile = null;
    * @param args
    static int BUFFER_SIZE = 65536;
    public static void main(String[] args)
    {  clipboard clip = new clipboard();
    clip.writeImageFromClipboard();
    public void writeImageFromClipboard()
    {  Clipboard            clip = Toolkit.getDefaultToolkit().getSystemClipboard();
    Transferable transferable = clip.getContents(null);
    RenderedImage img = null;
    FileOutputStream fileOutStr = null;
    BufferedOutputStream bufOutStr = null;
    DataFlavor [] dataFlavors;
    File tempFile;
    int
    byteCount;
    String [] strArr;
    dataFlavors = transferable.getTransferDataFlavors();
    System.out.println("clip=" + clip.getName());
    System.out.println("Transferable=" + transferable);
    for (int i = 0; i < dataFlavors.length; i++)
    {  System.out.println("dataFlavours[" + i + "]=" + dataFlavors.toString());
    if (transferable.isDataFlavorSupported(new DataFlavor("image/x-java-image; class=java.awt.Image", "Image")))
    { try
    { img = (RenderedImage) transferable.getTransferData(new DataFlavor("image/x-java-image; class=java.awt.Image", "Image"));
    if (this.tempFile == null)
    { this.tempFile = File.createTempFile("__TMP_IMG__", ".jpg");
    System.out.println(this.tempFile.getCanonicalPath());
    fileOutStr = new FileOutputStream(this.tempFile);
    bufOutStr = new BufferedOutputStream(fileOutStr);
    // Encode the file as a JPG image.
    JAI.create("encode", img, bufOutStr, "JPEG", null);
    catch (UnsupportedFlavorException e)
    { e.printStackTrace();
    catch (IOException e)
    { e.printStackTrace();
    finally
    { if (bufOutStr != null)
    { try
    { bufOutStr.flush();
    bufOutStr.close();
    catch (IOException e)
    if (fileOutStr != null)
    { try
    { fileOutStr.flush();
    fileOutStr.close();
    catch (IOException e)
    else
    { System.out.println("Not an image!");

    The login  you connected to the server  and run the above statement does not have permissions to operate  on this path "C:\Users\ISLLCdba\Desktop\MAA
    PROFILE PICTURES\"
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Copy to Clipboard

    I have a script that generates a text file.
    I can save it just fine, but I need to be able to also copy it to the system clipboard.
    It needs to work on whatever platform a user happens to be on: Windows, Mac, etc.
    How do you do this in an AE script?
    Thanks

    I have this for Windows, but there should be a cross-platform solution.
    //This works on Vista and Win 7,  XP requires the user to copy 'clip.exe' to the 'sys32' folder.
    function copyTextToClipboard2(text)
       var folderForTempFiles = Folder.temp.fsName;
       //alert(folderForTempFiles)
       // create a new textfile and put the text into it
       var clipTxtFile =new File(folderForTempFiles + "/ClipBoard.txt");
       clipTxtFile.open('w');
       clipTxtFile.write(text);
       clipTxtFile.close();
       // use the clip.exe to copy the contents of the textfile to the windows clipboard
       var clipBatFile =new File(folderForTempFiles + "/ClipBoard.bat");
       clipBatFile.open('w');
       clipBatFile.writeln("clip < " + folderForTempFiles + "/ClipBoard.txt");
       clipBatFile.close();
       clipBatFile.execute();

  • Clips in timeline don't play full length

    clips on clipboard show full length but when I put them in timeline they cut the end of the clip off. Help please..

    Hi Pippa - welcome to the Forum!
    If you are new to iMovie, you might not realise that in the Timeline, or in Clips View, only one frame of a clip shows when you look at it. But when you play it the whole clip will display.
    If you already understand that I apologise for misjudging you!:-)
    So - if that is not the problem - how much of the clip is being cut off?
    By 'clipboard' I guess you mean the 'Clips Pane' to the right of the Preview screen?

  • How to observe Windows clipboard?

    I want to make a sys-clipboard program,but i don' t know how.
    Some question puzzled me.
    I don' know what can i do for observe system clipboard.(Dynamic Observe).
    Thanks very much.

    How did i do like this?But i have got any responses in
    it.
    How can i do ?Thanks.
    //Code:
    import java.awt.Toolkit;
    import java.awt.datatransfer.Clipboard;
    import java.awt.datatransfer.FlavorEvent;
    import java.awt.datatransfer.FlavorListener;
    * &#21019;&#24314;&#26085;&#26399; 2004-2-13
    &#26356;&#25913;&#25152;&#29983;&#25104;&#25991;&#2021;
    ;&#27169;&#26495;&#20026;
    * &#31383;&#21475; > &#39318;&#36873;&#39033; > Java
    &#20195;&#30721;&#29983;&#25104; >&#20195;&#30721;&#21644;&#27880;&#37322;
    * @author Administrator
    &#26356;&#25913;&#25152;&#29983;&#25104;&#31867;&#2241;
    ;&#27880;&#37322;&#30340;&#27169;&#26495;&#20026;
    * &#31383;&#21475; > &#39318;&#36873;&#39033; > Java
    &#20195;&#30721;&#29983;&#25104; >&#20195;&#30721;&#21644;&#27880;&#37322;
    public class Cliper extends Clipboard implements
    Runnable
         * @param arg0
         Thread thread;
         public Cliper(String arg0)
              super(arg0);
    // TODO
    O
    &#33258;&#21160;&#29983;&#25104;&#26500;&#36896;&#20989;
    &#25968;&#23384;&#26681;
              thread=new Thread(this);
              thread.start();
         /* &#65288;&#38750; Javadoc&#65289;
         * @see java.lang.Runnable#run()
         public void run()
    // TODO
    O
    &#33258;&#21160;&#29983;&#25104;&#26041;&#27861;&#23384;
    &#26681;
              for(int i=0;i<=10;i++)
    this.addFlavorListener(new
    ew
    Flavorlistener(Toolkit.getDefaultToolkit().getSystemCli
    board()));
                   try
                        Thread.sleep(1000);
                   catch(Exception e){
                        e.getStackTrace();
         class Flavorlistener implements FlavorListener
              Clipboard c;
              public Flavorlistener(Clipboard c)
                   this.c=c;
              public void flavorsChanged(FlavorEvent arg0)
    // TODO
    DO
    &#33258;&#21160;&#29983;&#25104;&#26041;&#27861;&#23384;
    &#26681;
                   arg0=new FlavorEvent(c);
                   System.out.println("aaaa");
         public static void main(String[] args)
              new Cliper("test");
    }A Big5 for the very oriental comments in the code.

  • Trouble with some custom SystemD/User unit files

    Good evening all,
    I'm trying to move programs out of my .xinitrc file and my window manager's startup hooks into systemd user unit files for ease of management, and hopefully more resilient.  I have followed the setup on the wiki page for SystemD/User session (https://wiki.archlinux.org/index.php/Sy … asic_setup) and already have some services already running:
    ╭─vendion@tyre ~
    ╰─➤ systemctl --user status
    ● tyre
    State: degraded
    Jobs: 0 queued
    Failed: 4 units
    Since: Fri 2014-08-08 20:23:47 EDT; 4 days ago
    CGroup: /user.slice/user-1000.slice/[email protected]
    ├─3200 /usr/lib/systemd/systemd --user
    ├─3202 (sd-pam)
    ├─dbus.service
    │ ├─ 3623 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation
    │ ├─ 3711 /usr/lib/at-spi2-core/at-spi-bus-launcher
    │ ├─ 3728 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3
    │ ├─ 3996 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
    │ ├─ 4184 /usr/lib/GConf/gconfd-2
    │ └─29638 /usr/bin/dunst
    ├─udiskie.service
    │ └─3389 /usr/bin/python /usr/bin/udiskie
    ├─spideroak.service
    │ ├─3394 /opt/SpiderOak/lib/SpiderOak
    │ └─3993 /opt/SpiderOak/lib/SpiderOak --spider
    ├─skype.service
    │ └─3396 /usr/lib32/skype/skype
    ├─mpd.service
    │ ├─3386 /usr/bin/mpd --no-daemon
    │ ├─3959 /usr/bin/pulseaudio --start --log-target=syslog
    │ └─4178 /usr/lib/pulse/gconf-helper
    ├─mpdscribble.service
    │ └─3544 /usr/bin/mpdscribble
    └─google-musicmanager.service
    └─3638 /usr/bin/google-musicmanager
    Some of them are using unit files provided by the package, others I wrote the unit file for.  The services that are failing that are causing the state to be degraded are:
    ╭─vendion@tyre ~
    ╰─➤ systemctl --user --failed
    UNIT LOAD ACTIVE SUB DESCRIPTION
    ●clipit.service loaded failed failed Clipboard manager
    ●pasystray.service loaded failed failed Pulseaudio system tray icon
    ●pidgin.service loaded failed failed Pidgin IM client
    ●redshift.service loaded failed failed Redshift display colour temperature adjustment
    LOAD = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB = The low-level unit activation state, values depend on unit type.
    4 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.
    I had to write the unit files for each of these.
    clipit.service unit file: http://sprunge.us/Qjfd
    When I check the status for this here is what I get:
    ● clipit.service - Clipboard manager
    Loaded: loaded (/home/vendion/.config/systemd/user/clipit.service; enabled)
    Active: failed (Result: start-limit) since Fri 2014-08-08 20:24:04 EDT; 4 days ago
    Main PID: 3619 (code=exited, status=1/FAILURE)
    Aug 08 20:24:04 tyre systemd[3200]: clipit.service: main process exited, code=exited, status=1/FAILURE
    Aug 08 20:24:04 tyre systemd[3200]: Unit clipit.service entered failed state.
    Aug 08 20:24:04 tyre systemd[3200]: clipit.service holdoff time over, scheduling restart.
    Aug 08 20:24:04 tyre systemd[3200]: Stopping Clipboard manager...
    Aug 08 20:24:04 tyre systemd[3200]: Starting Clipboard manager...
    Aug 08 20:24:04 tyre systemd[3200]: clipit.service start request repeated too quickly, refusing to start.
    Aug 08 20:24:04 tyre systemd[3200]: Failed to start Clipboard manager.
    Aug 08 20:24:04 tyre systemd[3200]: Unit clipit.service entered failed state.
    pasystray.service unit file: http://sprunge.us/BWWR
    Status output
    ● pasystray.service - Pulseaudio system tray icon
    Loaded: loaded (/home/vendion/.config/systemd/user/pasystray.service; enabled)
    Active: failed (Result: start-limit) since Fri 2014-08-08 20:24:12 EDT; 4 days ago
    Main PID: 3769 (code=killed, signal=TRAP)
    Aug 08 20:24:12 tyre systemd[3200]: pasystray.service: main process exited, code=killed, status=5/TRAP
    Aug 08 20:24:12 tyre systemd[3200]: Unit pasystray.service entered failed state.
    Aug 08 20:24:12 tyre systemd[3200]: pasystray.service holdoff time over, scheduling restart.
    Aug 08 20:24:12 tyre systemd[3200]: Stopping Pulseaudio system tray icon...
    Aug 08 20:24:12 tyre systemd[3200]: Starting Pulseaudio system tray icon...
    Aug 08 20:24:12 tyre systemd[3200]: pasystray.service start request repeated too quickly, refusing to start.
    Aug 08 20:24:12 tyre systemd[3200]: Failed to start Pulseaudio system tray icon.
    Aug 08 20:24:12 tyre systemd[3200]: Unit pasystray.service entered failed state.
    pidgen.service unit file: http://sprunge.us/KgKV
    Status output
    ● pidgin.service - Pidgin IM client
    Loaded: loaded (/home/vendion/.config/systemd/user/pidgin.service; enabled)
    Active: failed (Result: start-limit) since Fri 2014-08-08 20:24:04 EDT; 4 days ago
    Main PID: 3620 (code=exited, status=1/FAILURE)
    Redshift.service unit file: http://sprunge.us/IDCC
    Status output:
    ● redshift.service - Redshift display colour temperature adjustment
    Loaded: loaded (/home/vendion/.config/systemd/user/redshift.service; enabled)
    Active: failed (Result: start-limit) since Fri 2014-08-08 20:23:58 EDT; 4 days ago
    Docs: http://jonls.dk/redshift/
    Main PID: 3517 (code=exited, status=1/FAILURE)
    Aug 08 20:23:57 tyre systemd[3200]: redshift.service: main process exited, code=exited, status=1/FAILURE
    Aug 08 20:23:57 tyre systemd[3200]: Unit redshift.service entered failed state.
    Aug 08 20:23:58 tyre systemd[3200]: redshift.service holdoff time over, scheduling restart.
    Aug 08 20:23:58 tyre systemd[3200]: Stopping Redshift display colour temperature adjustment...
    Aug 08 20:23:58 tyre systemd[3200]: Starting Redshift display colour temperature adjustment...
    Aug 08 20:23:58 tyre systemd[3200]: redshift.service start request repeated too quickly, refusing to start.
    Aug 08 20:23:58 tyre systemd[3200]: Failed to start Redshift display colour temperature adjustment.
    Aug 08 20:23:58 tyre systemd[3200]: Unit redshift.service entered failed state.
    I know that my unit files for these services work because if I manually start them with "systemctl --user start <service>" then they work just fine, but when systemD is trying to start them when I login they fail.  I have dbus setup like the wiki says to, and "DBUS_SESSION_BUS_ADDRESS" is defined.  I also have the DISPLAY environment variable set in /etc/systemd/system/[email protected]/display.conf like the wiki suggests as well.  I know that SystemD user sessions still may not be ready for prime time but I could use a better way to manage these startup programs than the .xinitrc file.
    Thanks in advance for any help

    i suppose there is a code whitch resets the default bounds when
    the component is beeing added to the JTable.Technically, the Component returned by the getCellRendererComponent() is not added to the JTable, it's just used as a rubber stamp.Mmm, I was wrong: at least with the basic L&F, the Component is (temporarily) added to a CellRendererPane, which is a children of the JTable.
    Moreover, I witnessed that both setBounds() and doLayout() are called before the component is actually painted...
    I've never used a compound component as a renderer, but I assume the issue is common (did not have time to search nor try it myself). You may investigate whether the JPanel is appropriately laid out, by inserting some breakpoints/logs at appropriate places (setBounds, doLayout,...)Did this on an extra-short example, and it did render correctly...
    somehow the textfield's bounds where not set anymore.Note that the Javadoc for Cellrendererpane states that +"After the component is painted it's bounds are reset to -w, -h, 0, 0 so that, if it's the last renderer component painted, it will not start consuming input"+.
    That does not explain why the w and h are 0, but at least it's clear that depending on where you put your logging statement makes a big difference about the accuracy of the bounds logged

  • PE2 - What's the difference between "cut" and "clear" in Project Assets?

    When removing items from the Project Assets area, what's the difference between "cut" and "clear"?
    Also I believe "delete" is an option at times, but I couldn't replicate it.

    Cut should Delete, but transfer that Clip to the Clipboard, where Clear will just Delete it completely - no transfer to Clipboard.
    That can be tested by doing a Cut, then move the CTI (Current Timeline Indicator) to the end of the Timeline, and hit Ctrl+V (Paste). That Deleted Clip should appear after the CTI.
    Then, clear (or choose a different Clip) the Clipboard, and try Clear. It should not Paste the Clip into the Timeline.
    Good luck,
    Hunt

  • Copy clip you're deleting into clipboard

    Hi. Sorry if this is a bonehead question. How do you delete a clip in such a way so that it gets copied to the clipboard and is available for pasting with command-v or shift-v? I've been copying using command-c, then deleting, then pasting. I swear I've seen editors copy and delete in one fell keyboard shortcut swoop.

    Command X.

  • How can we get the image which is stored in clipboard by labview, is there any functions available like text from clip board

    How can we get the image which is stored in clipboard by labview, i can get the text in clipboard by using invoke node directly.but i cannot get the image, is there any functions or vi available.(image is in Png format)

    The Read from Clipboard method is, unfortunately, limited to text. If the clipboard contains an image then you need to use OS-specific functions calls. This is an example program for Windows. It's old, but it should still work.

  • JTable and clipboard...

    Hi all!
    I'm trying to copy data from JTable to system clipboard. Here's my code that is
    supposed to do that except it doesn't work. Nothing happens. The system is
    Windows, rigth click invokes menu with only one position - COPY, which is served
    by a appopriate ActionListener. I want to copy entire table (all data):
    private class NotEditableTable extends JTable
    NotEditableTable(Object[][] data, Object[] columnNames)
    super(data, columnNames);
    setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
    setCellSelectionEnabled(true);
    getTableHeader().setReorderingAllowed(false);
    NotEditableTableEngine nete = new NotEditableTableEngine();
    this.addMouseListener(nete);
    public boolean isCellEditable(int row, int column)
    return false;
    private class NotEditableTableEngine extends MouseAdapter implements ActionListener
    public void mouseReleased(MouseEvent e)
    if (e.isPopupTrigger())
    JPopupMenu menu = new JPopupMenu();
    JMenuItem menuitem = new JMenuItem(Lang.TABLE_COPY, new ImageIcon("res/Copy16.gif"));
    menuitem.addActionListener(this);
    menu.add(menuitem);
    menu.show(NotEditableTable.this, e.getX(), e.getY());
    public void actionPerformed(ActionEvent e)
    TransferHandler th = new TransferHandler(null);
    NotEditableTable.this.setTransferHandler(th);
    Clipboard clip = NotEditableTable.this.getToolkit().getSystemClipboard();
    th.exportToClipboard(NotEditableTable.this, clip, TransferHandler.COPY);
    }

    I also tried the code above with a simple JTextField, both with text selected and not.Did my sample code use the TransferHandler??? The simple way to do it for a JTextField would be
    Clipboard c = Toolkit.getDefaultToolkit().getSystemClipboard();
    StringSelection testData = new StringSelection( textField.getText );
    //StringSelection testData = new StringSelection( textField.getSelectedText );
    c.setContents(testData, testData);
    As for the table I said that the Ctrl-C KeyStroke will invoke the default Action to copy selected data from the JTable to the Clipboard. This can be tested manually by simply using Ctrl-C. If you want to invoke it in your program then you need to get the corresponding Action from the JTable and invoke the ActionPerformed method of the Action. You can try using the
    getActionForKeyStroke(...) method of JComponent to get the Action.

  • Is there a way to copy & paste a clip from the timeline in one project in to another project?

    Hello Popular Premiere Pontificaters,
    I am using Premiere 6 on a Windows 7 machine.
    Is there a way to copy and paste a clip from the timeline in one project in to another project?... I can copy my clip, but when I open the other project, it will not allow me to paste it in there... but I am able to copy and paste a clip within a single project.  I tried everything... pasting in to a new video track and pasting in to an existing video track in the second project, but the paste option simply isn't there when I open the second project.
    And if Premiere itself will not allow me to do this in any way, will a copy-paste clipboard type of accessory app allow me to do this?... if so, which is the best, trustworthy copy-paste app that is malware free?
    Thanks,
    digi

    Hi Bill Hunt,
    I just read the page that you provided about "Handles"... thanks allot for that ARTICLE.  In your article and the subsequent article HANDLES, "Transitions Overview: applying transitions" linked from your article, it indicates (in PrE and PrPro anyway - I'm in Premiere 6) that transitions can be applied to non-Video 1 tracks... the paragraph below is a quote from that "Transitions Overview: applying transitions" article...
    "Whatever is below the transition in a Timeline panel appears in the transparent portion of the transition (the portion of the effect that would display frames from the adjacent clip in a two-sided transition). If the clip is on Video 1 or has no clips beneath it, the transparent portions display black. If the clip is on a track above another clip, the lower clip is shown through the transition, making it look like a double-sided transition."
    So this indicates that transitions can be applied to non-Video 1 tracks since it is referring to content in tracks beneath a transparent fade that would show through... and only non-Video 1 tracks can be transparent and have other clips "beneath" them in the timeline, right?
    In the screenshot sample in your article at this LINK, I see the handles (referred to as B and E) and I can see in my monitor window how those handles would be represented by the two little bracket symbols {  }  ... you can see how they appear in my monitor window in Premiere 6 in this screenshot, and below, from a different thread that isn't related to this topic.
    But I'm still trying to figure out how the handles can be applied in the non-Video 1 tracks in the timeline to insert a transition (cross-dissolve) between two clips.
    Can you advise me on this?... I posted a separate thread HERE on this topic, but I haven't got any further with finding an answer.
    Thanks so much for your article,
    digi

  • CS4 How to save a clip or a group of clips to use in another project ?

    Hi guys, I am new here and I am new in this videoediting.
    I find Premiere Pro fantastic to edit videos, it really is a program for PRO´s.
    Because of that it has so many functions and options that it is hard for a beginner to find his way.
    I have tried to find the answere to my question in the Help, here in this Forum and I have also two different Video tutorials but not lucky.
    Background:
    I had 10 videotapes from a Sony handycam that I took in 1989-90 in NZ living there with my 2 small daughters for one year.
    I have got the tapes transformed to DVD´s and I have no problem to read them and edit them in Pro CS4. But I want to make a couple of different videos for different audiences.
    One DVD incl the whole trip, one short version and then I want to use just some clips for something totally diferent.
    I put in a lot of effort to change the lightning and editing every clip very carefully. I just want to do this one time for every clip.
    So how can I save the edited clips so I easily can open them up in different projects?
    Probably a stupid question but no question - no answere!
    I have been readinf quite a lot here in the different forums for Premiere and I am amazed how much knowledge there is here.
    Best regards
    Sven  

    I hope my question has not been answered yet, I hope to hear another solution to my problem.
    Problem again:
    I have 10 movies in .vob format, each around 30 minutes.
    I edit each movie and from the first one I got 19 clips and together 5 min 23 seconds.
    Each clip I try to make better with better lights, better sound etc etc using video and audio efects. So I put a lot of work into each clip.
    When I have edited all 10 movies I might have 200 clips and each clip is improved by using different video and movie effects.
    Then I want to make 3 maybe 4 different movies from all the clips. For some clips I might want to change the effects depending on which movie it will be included in or for some other reason.
    So I want to save each clip with the video and audio effects "open".
    I have got some ideas from Alan and Ann and I have tested to Export from the Workarea.
    So I want to report the results from my tests:
    I have a clip 1 min 40 sec with many diiferent video effects.
    Format: Quick time gives a .mov file and the size was 381 Mbyte. It took around 30 minutes
    Format: Microsoft avi gives a .avi file and the size was also 381 Mbyte and took same time.
    Format: H.264 gives a .mp4 file and the size is only 40 Mbytes but took same time.
    Format: MPEG4 gives a .3gp file with size 2.2 Mbytes.   
    When you export to media you choose Format and Preset plus you have 100 other different parameters that you can change.
    When you click OK Adobe Media Encoder starts up. Here you can change Format and Preset and you can also duplicate the order to make a new file and make files with different Formats.
    .mov file, .avi file and .mp4 file gave in my opinion same quality but the 3gp file was very blurred. I could import all the 3 first formats into Premiere Pro CS4 BUT the video and audio effects were deleted. The effects had affected the new movies so that is kind of OK but I had hoped the new movies should contained the effectinformation so I could change the effect for each clip depending of which final movie it should be in.
    The Premiere Pro CS4 is a fantastic tool and a user can taylor his own "clipboard" with his style and make and save his own tools (effects).
    Maybe there is a function to save an original clip together with its video and audio effects so it easy can be used and reused.
    I have learned a lot today and I hope someone else has found these posts interesting and wants to dig deeper into the subject.
    Thanks everyone!
    Sven

  • Using the Clipboard

    Hi all
    Ive noticed the clipboard features in java but from some of the examples ive been seeing it doesnt seem to be that versatile
    examples ive seen are such things like copy text from one text box to another using the clipboard but it only does this by doing a getText() on the textbox and putting that in the clipboard then doing a setText() on the other textbox from the clipboard
    but what i want to be able to do is any selected text when copy is clicked, it is added to the clip board (whether the selectted text is in a text box or in a textpane) then paste that text to where ever the cursor is (be it in a text box or cursor)
    is there a simple way of doing this or do i have to basically capture every focus event on the text boxes and textpane and then let the clipboard know i am copying and pasting from the currently focused field?

    Swing related questions should be posted in the Swing forum.
    All text components support the standard KeyStrokes:
    Ctrl-C, Ctrl-X, Ctrl-V
    You can also add menu items or toolbar buttons to perfrom these Actions. See the Swing tutorial on "Text Component Features":
    http://java.sun.com/docs/books/tutorial/uiswing/components/generaltext.html

  • Can JButtons within applets copy to the clipboard?

    camickr wrote in another thread:
    As always I would like to see the Applet used that caused the problem. We should not have to create our own applet to test this. As we all know from the original problem you may be missing/adding code. And this posting is way off topic so any new SSCCE along with a new question should be posted in a new posting. If I understand the problem is that Ctrl+C works on a text area, but it doesn't work for a JButton that tries to copy text from the same text area?Not quite. Ctrl+C works within a JTable, copying selected row(s) to the clipboard. The problem is getting a JButton to copy arbitrary text to the clipboard, having nothing to do with a JTable.
    Well post the simple 20 line applet that demonstates this.Sorry, it's more than 20 lines. I included three approaches, Jeanette's, Walter's, and mine.
    * Created on 06.12.2010
    * Jeanette, Walter, and Rich
    import java.awt.EventQueue;
    import java.awt.datatransfer.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.Toolkit;
    import javax.swing.*;
    public class ThreeCopyButtons  extends JApplet  implements ClipboardOwner
        final JLabel first  = new JLabel("Larry");
        final JLabel second = new JLabel("Moe");
        final JLabel third  = new JLabel("Curly");
        static ThreeCopyButtons cb3;
        public JPanel getContent() {
            JButton kleo = new JButton("Kleo");
         cb3 = this;
            TransferHandler handler = new TransferHandler() {
                 * @inherited <p>
                @Override
                protected Transferable createTransferable(JComponent c) {
                    return new StringSelection(cb3.toString());
                 * @inherited <p>
                @Override
                public int getSourceActions(JComponent c) {
                    return COPY;
            kleo.setTransferHandler(handler);
            kleo.setAction(TransferHandler.getCopyAction());
            kleo.setText("Kleo");  // gets overridden by "copy"
         AppletCopyButton walt = new AppletCopyButton("Walt", toString());
         JButton rich = new JButton("Rich");
         rich.addActionListener( new ActionListener() {
             public void actionPerformed(ActionEvent e) {
              StringSelection ss = new StringSelection(cb3.toString());
              Clipboard cb = Toolkit.getDefaultToolkit().getSystemClipboard();
              cb.setContents(ss, cb3);
            JComponent buttons = new JPanel();
            buttons.add(kleo);
            buttons.add(walt);
            buttons.add(rich);
            JPanel labels = new JPanel();
            labels.add(first);
            labels.add(second);
            labels.add(third);
            JPanel box = new JPanel();
            box.setLayout(new BoxLayout(box, BoxLayout.Y_AXIS));
         box.add(buttons);
         box.add(labels);
            return box;
        public String toString() {
         String s = first.getText() + "\t" +
                 second.getText() + "\t" +
                 third.getText();
         return(s);
        // Empty method needed for implementation of the ClipboardOwner interface.
        public void lostOwnership( Clipboard aClipboard, Transferable aContents) {
          //do nothing
        // method expected by applets
        public void init()
        { // the static block above should have already executed
         try {
             javax.swing.SwingUtilities.invokeAndWait(new Runnable() {
              public void run() {
                  JPanel frame = getContent();
                  setContentPane(frame);
         } catch (Exception e) {
             System.err.println("makeContent() failed to complete: " + e);
             e.printStackTrace();
        public static void main(String[] args) {
            EventQueue.invokeLater(new Runnable() {
                public void run() {
                    JFrame frame = new JFrame("Test");
                    frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
                    frame.add(new ThreeCopyButtons().getContent());
                    frame.pack();
                    frame.setLocationRelativeTo(null);
                    frame.setVisible(true);
    // Walter Laan
    class AppletCopyButton extends JButton {
        public AppletCopyButton(String label, String text) {
            super(label);
         final String clip = text;
            setTransferHandler(new TransferHandler() {
                // @Override
                protected Transferable createTransferable(JComponent c) {
                    return new StringSelection(clip);
                // @Override
                public int getSourceActions(JComponent c) {
                    return COPY;
            addActionListener(new ActionListener() {
                // @Override
                public void actionPerformed(ActionEvent e) {
                    Action copy = TransferHandler.getCopyAction();
                    copy.actionPerformed(new ActionEvent(AppletCopyButton.this,
                            ActionEvent.ACTION_PERFORMED, "copy"));
    }Here is a manifest file I call "3cbManifest.txt".
    Main-Class: ThreeCopyButtonsMake sure you preserve the trailing carriage return.
    ]javac ThreeCopyButtons.java
    ]jar cvfm ThreeCopyButtons.jar 3cbManifest.txt *.class
    ]java -jar ThreeCopyButtons.jar
    (The latter command simply tests, but it is running as program, not applet.)
    And here is a short HTML file to run it as an applet. I call it "3cb.html".
    <html>
    <head><title>TestApplet</title></head>
    <body>
    <applet code="ThreeCopyButtons.class"
            archive="ThreeCopyButtons.jar"
            width="450" height="300">
    Your browser is completely ignoring the <i>applet</i> tag!
    </applet>
    </body>
    </html>The three buttons match our three approaches:
    * Kleo -- Jeanette's approach
    * Walt -- Walt's approach
    * Rich -- my approach
    All three methods work fine as a program, whether running directly as classes or from the .jar. None however work as an applet, from the HTML page.
    To test either as applet or program:
    1) open a text editor
    2) type something short
    3) Ctrl+C copy what you typed
    4) click the Kleo button
    5) in editor, click <enter> and Ctrl+V to paste
    6) observe whether you see the text from step 3 or "Larry Moe Curly", with <tabs> between words.
    7) repeat steps 3-6 for the Walt and Rich buttons
    If you can figure out how to get the applet to bypass its security wall, great. We've found a bug in Java's applet security. If not, I am resigned to having the button in my actual app copy info to the table instead of to the clipboard.

    RichF wrote:
    You are right, but aw gee whiz. Have you ever written something that you think is pretty neat, then have to throw it away? hahahahahaha ... sure, happens nearly every day :-)
    My class QEPanel, which handles each row of the statistics, is like that.yeah, have seen it: pretty nasty mixing of view and data <g>
    Hmm, I wouldn't actually have to throw most of it away. :) correct ...
    The JLabel <b>label</b>s would become the table column labels, and the other JLabels would become integers specifying column. except that I don't completely understand what you are after here (ehem: get your vocabulary right, sir) a clean separation would map the data-part of a QEPanel into a QEBean, with properties title (was: label), percentRed ... etc. Something like:
    public class QEBean extends AbstractBean {
        private float sumRed, sumGrn, sumBlu;
        private float minDist = 9999999;
        private float maxDist = 0;
        private double sumDist;
        private int count;
        private int entries;
        private CountPerEntries countPerEntries;
        private String title;
        public QEBean(String title) {
            this.title = title;
        public void reset() {
            // do reset
            firePropertyChange(null, null, null);
        public void updateData(Color quantized, Color actual) {
            // do update internals
            firePropertyChange(null, null, null);
    //------------ getters...
        public String getTitle() {
            return title;
        public float getPercentRed() {
            if (count == 0)
                return 0f;
            return sumRed / count;
        // more getters
    }Then implement a specialized TableModel which knows about QEBean
    public class QEBeanTableModel extends AbstractTableModel {
        List<QEBean> errors = new ArrayList<QEBean>();
        private PropertyChangeListener errorChangeListener;
        @Override
        public int getColumnCount() {
            return 7;
        @Override
        public int getRowCount() {
            return errors.size();
        @Override
        public Class<?> getColumnClass(int columnIndex) {
            switch (columnIndex) {
                   // implement as appropriate
            return Object.class;
        @Override
        public Object getValueAt(int rowIndex, int columnIndex) {
            QEBean error = errors.get(rowIndex);
            switch (columnIndex) {
            case 0:
                return error.getTitle();
            case 1:
                return error.getPercentRed();
              // more as appropriate
            return null;
        public void addError(QEBean error) {
            int oldSize = getRowCount();
            error.addPropertyChangeListener(getPropertyChangeListener());
            errors.add(error);
            fireTableRowsInserted(oldSize, oldSize);
        public QEBean getError(int row) {
            return errors.get(row);
        private PropertyChangeListener getPropertyChangeListener() {
            if (errorChangeListener == null) {
                errorChangeListener = new PropertyChangeListener() {
                    @Override
                    public void propertyChange(PropertyChangeEvent evt) {
                        int row = errors.indexOf(evt.getSource());
                        fireTableRowsUpdated(row, row);
            return errorChangeListener;
        public void resetAll() {
            for (QEBean error : errors) {
                error.reset();
    }Then use the model in HelpBox:
    // init model and keep in field
         qErrors = new QEBeanTableModel();
         qErrors.addError(new QEBean("Hex QE"));
         qErrors.addError(new QEBean("Name QE"));
         qErrors.addError(new QEBean("Mismatch QE"));
         qErrors.addError(new QEBean("SearchAccuracy"));
            // can't resist - JXTable would make customization so much easier :-)
         // JXTable errorTable = new JXTable(qErrors);
         JTable errorTable = new JTable(qErrors);
         errorTable.setBackground(Color.BLACK);
         errorTable.setSelectionBackground(Color.BLACK);
         errorTable.setForeground(Color.WHITE);
         errorTable.setSelectionForeground(Color.WHITE);
         errorTable.setGridColor(Color.BLACK);
            // install renderers which produce an output similar to the labels
           panel.add(errorTable)
    // in the update methods - update the QEBeans stored in the model
        public void updateQE(int which, String q, String a)
         Color     quantized = Color.black;
         Color     actual = Color.black;
         int     rgb[] = { 0, 0, 0 };
         NTC.getRGB(q, rgb);
         quantized = new Color(rgb[0], rgb[1], rgb[2]);
         NTC.getRGB(a, rgb);
         actual = new Color(rgb[0], rgb[1], rgb[2]);
         qErrors.getError(which -1).updateData(quantized, actual);
    // similar in reset, updateEntriesThat's all and will give you an output very similar to the rows of individual labels, only more symetric.
    The toString() method would go away because row toString() is already built into JTable.ehhh? No, not that I know of :-) The default renderer uses the toString of the cell value, the row is not involved.
    >
    Then you can implement the button's action to copy that error table's content to the clipboard. Better usability ensured, IMO.I'll just throw away the darn button. The colorTable doesn't have one, so why should the statisticsTable? sure, that's an option - the visual setup outlined above is for hiding the table-nature, if you want it expose, just do - no problem.
    Cheers
    Jeanette

Maybe you are looking for

  • 2nd Display Question?

    Hi! I've been using my ibook G4 12" for a few months now, absolutely loving it. And I want to hook up a bigger 2nd display on my ibook, so I can watch movies more comfortable, but the manual says it won't support external display more than 1024x768,

  • New iTunes 10 Icon

    Really dislike the new icon for iTunes. For my taste, it's a bit of an eyesore. Would there be any problem changing back to the former icon using "Get Info" and copying and pasting the old one (or using any custom icon for that matter). I do this all

  • 720 x 480 vs. 640 x 480, which one to use?

    This is not a iMovie specific question, but it is related. I always thought that SD was 640 x 480 and I always format any stills I use for that format. Everything has been fine. 640 x 480 = 4:3. Recently somebody said that you should format for 720 x

  • Re: NTLDR and Qosmio f30-140

    Hello fellows My Toshiba is Qosmio f30-140 ,it came with xp windows, but I installed on it windows 7 and it was working very well for almost 2 years until i got problem with the display card started as little green dots till blank screen and these we

  • Cause of high CPU consumption

    I created the following test setting: CREATE TABLE test_p (         id           NUMBER       , rand         NUMBER       , id_pad         VARCHAR2(100)       , vc_pad          VARCHAR2(50) ) NOLOGGING; INSERT /*+ APPEND */ INTO test_p (       id