Scriptable Window Capture

I have a video [actually it's a cable TV picture] running in an application window that I want to be able to 'sample' from time-to-time (to update a webpage with a snapshot image).
I have looked at using screencapture via a shellscript, but this needs user interaction (to select the window). Equally Ambrosia's Snapz Pro is next to unscriptable in its current release.
There are loads of apps that will sample a webcam, but none of these seems to be capable of working the way I want to.
Any thoughts, ideas, suggestions, or solutions gratefully received!

The closest you are going to get is to put the window in full screen, then do screen capture (Command-Shift-3), it'll take screen shot and put it on your desktop.
tell application "App Name" to activate
tell application "System Events"
set size of window 1 of process "App Name" to {100, 100} -- change to your screen size
delay 1
keystroke "#" using command down
end tell

Similar Messages

  • Automated screen/window capture with Applescript?

    Is it possible to automate screen capture in an automated, non-interactive way, using Applescript?
    I know it is possible to use the terminal screencapture command in an Applescript to capture the whole screen, but the screencapture options to either select an area of the screen or a particular window require user interaction at run time to select the screen area or the target window.
    What I need is to be able to specify - in the script itself - the area of the screen to capture, or the name of the window to capture, and have this happen without user interaction.
    Is this possible? Are the undocumented ways of passing area or window information to screencapture? Or some other Finder/System way of doing it?
    (with some research I found references to an app called FreeSnap which is allegedly scriptable - but it had been removed from all the usual sources as well as the original developer site. If there's no direct Applescript/Finder/System way to do the above, are there any third-party scriptable screenshot Apps which can do it?)
    Thanks.

    Hi brendan
    Here is the code:
    set tmpPath to ((POSIX path of (path to desktop)) & "screenpic.png") as string
    do shell script "screencapture " & quoted form of tmpPath
    delay 1.5
    set this_file to tmpPath
    try
    tell application "Image Events"
    launch
    set this_image to open this_file
    set {docWidth, docHeight} to the dimensions of this_image
    crop this_image to dimensions {400, 200}
    save this_image with icon
    close this_image
    end tell
    on error error_message
    display dialog error_message
    end try
    Hope this helps

  • Image displayed by child window captured by parent window.

    This is a rather peculiar problem.
    My application starts with a JFrame which takes some file as an input and then open another window and plot the graph.What happens is whatever is drawn on the child window(graph) is captured by the parent window which looks quite odd.Could anyone help me out the how to solve this problem??

    sure... here are the codes......
    //parent window:
    package igib.genebrowser;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import igib.genebrowser.menu.*;
    import igib.genebrowser.plot.*;
    public class GeneBrowserMain extends JFrame
         public GeneBrowserMain()
              super("GenomeBrowser-1.0");
              Container cp = this.getContentPane();
              cp.setLayout(new BorderLayout());
              DrawFeature df = new DrawFeature();
              cp.add(df, BorderLayout.CENTER);
         public static void main(String args[])
              Point p = new Point(400,300);
              GeneBrowserMain gbm = new GeneBrowserMain();
              GeneBrowserMenu menu = new GeneBrowserMenu();
              gbm.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              gbm.setSize(300,200);
              gbm.setLocation(p);
              gbm.setJMenuBar(menu);
              gbm.setResizable(false);
              gbm.setVisible(true);
    //GeneBrowserMenu file
    package igib.genebrowser.menu;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import igib.genebrowser.plot.*;
    import igib.genebrowser.menu.*;
    import igib.genebrowser.*;
    public class GeneBrowserMenu extends JMenuBar implements ActionListener
         JMenu fileMenu;
         JMenuItem open;
         JMenuItem quit;
         GeneBrowserMain gbm;
         public GeneBrowserMenu()
              this.gbm = gbm;
              fileMenu = new JMenu("File");
              this.add(fileMenu);
         open = new JMenuItem("open");
              fileMenu.add(open);
              quit = new JMenuItem("quit");
              fileMenu.add(quit);
              open.addActionListener(this);
              quit.addActionListener(this);
         public void actionPerformed(ActionEvent e)
              if(e.getSource() == open)
                   try
                             Point p = new Point(300,200);
                             FileOpenWindow f = new FileOpenWindow();
                             f.setSize(450,250);
                             f.setLocation(p);
                             f.setVisible(true);
                   catch(Exception ex)
              if(e.getSource() == quit)
                   System.exit(1);
    //FileOpenWindow which takes file as input and opens GBMainFrame and plot graphs
    package igib.genebrowser.menu;
    import javax.swing.*;
    import javax.swing.border.*;
    import java.awt.event.*;
    import java.awt.*;
    import javax.swing.colorchooser.*;
    import javax.swing.tree.*;
    import javax.swing.event.*;
    import javax.swing.filechooser.*;
    import java.io.FileWriter;
    import java.io.BufferedReader.*;
    import java.io.File;
    import igib.genebrowser.util.*;
    import igib.genebrowser.plot.*;
    import igib.genebrowser.*;
    //import java.io.*;
    public class FileOpenWindow extends JFrame implements ActionListener, ItemListener
         public JTabbedPane tPane ;
         public File seqFile, repeatFile, snpFile, geneFile;
         JLabel sequenceFile, repeatfile, snpfile, genefile, jb, winsize, shiftsize;
         JButton browse1, browse2, ok1, ok2, browse3, browse4, browse5, browse6;
         JTextField jtf1, jtf2, jtf3, jtf4, jtf5, jtf6;
         File f;
         PlotGraph pg;
         GBMainFrame gb;
         GeneBrowserMain gbm;
         JComboBox shiftSize, winSize;
         public FileOpenWindow()
              super("Open File");
              ImageIcon icon = new ImageIcon("images/middle.gif");
              Container cp = this.getContentPane();
              tPane = new JTabbedPane();
              JPanel jp1 = addNCBI();
              JPanel jp2 = addOther();
              tPane.addTab("NCBI", icon, jp1);
    tPane.setSelectedIndex(0);
              tPane.addTab("Other", icon, jp2);
    tPane.setSelectedIndex(0);
              //tPane.add(jp1);
              cp.add(tPane,BorderLayout.CENTER);
              this.setResizable(false);
         private JPanel addNCBI()
              JPanel cp = new JPanel();
              cp.setLayout(new GridLayout(8,5));
    //***********************1st row*************************************************//
              for(int i = 0; i < 5; i++)
                   jb = new JLabel(" ");
                   cp.add(jb);
    //***********************1st row*************************************************//
    //***********************2nd row*************************************************//
              for(int i = 0; i < 5; i++)
                   jb = new JLabel(" ");
                   cp.add(jb);
    //***********************2nd row*************************************************//
    //***********************3rd row*************************************************//
              jb = new JLabel(" Sequence");
              cp.add(jb);
              sequenceFile = new JLabel(" File :");
              cp.add(sequenceFile);
              browse1 = new JButton("browse");
              cp.add(browse1);
              jtf1 = new JTextField(" ");
              cp.add(jtf1);
              jb = new JLabel(" ");
              cp.add(jb);
    //***********************3rd row*************************************************//
    //***********************4th row*************************************************//
                   jb = new JLabel(" Repeat");
                   cp.add(jb);
                   repeatfile = new JLabel(" File :");
                   cp.add(repeatfile);
                   browse2 = new JButton("browse");
                   cp.add(browse2);
                   jtf2 = new JTextField(" ");
                   cp.add(jtf2);
                   jb = new JLabel(" ");
                   cp.add(jb);
    //***********************4th row*************************************************//
    //***********************5th row*************************************************//
              for(int i = 0; i < 5; i++)
                   jb = new JLabel(" ");
                   cp.add(jb);
    //***********************5th row*************************************************//
    //***********************1st row*************************************************//
                   winsize = new JLabel("Window Size: ");
                   cp.add(winsize);
                   winSize = new JComboBox();
                   winSize.addItem("100");
                   winSize.addItem("500");
                   winSize.addItem("1000");
                   winSize.addItem("5000");
                   cp.add(winSize);
                   jb = new JLabel(" ");
                   cp.add(jb);
                   shiftsize = new JLabel("Shift Size: ");
                   cp.add(shiftsize);
                   shiftSize = new JComboBox();
                   shiftSize.addItem("25");
                   shiftSize.addItem("50");
                   shiftSize.addItem("100");
                   shiftSize.addItem("500");
                   cp.add(shiftSize);
    //***********************1st row*************************************************//
    //***********************5th row*************************************************//
              for(int i = 0; i < 5; i++)
                   jb = new JLabel(" ");
                   cp.add(jb);
    //***********************5th row*************************************************//
    //***********************6th row*************************************************//
                   for(int i = 0; i < 2; i++)
                        jb = new JLabel(" ");
                        cp.add(jb);
                   ok1 = new JButton("OK");
                   cp.add(ok1);
                   for(int i = 0; i < 2; i++)
                        jb = new JLabel(" ");
                        cp.add(jb);
    //***********************6th row*************************************************//
                   browse1.addActionListener(this);
                   browse2.addActionListener(this);
                   ok1.addActionListener(this);
                   shiftSize.addItemListener(this);
                   winSize.addItemListener(this);
                   return cp;
         private JPanel addOther()
              JPanel cp = new JPanel();
              cp.setLayout(new GridLayout(9,5));
    //***********************1st row*************************************************//
              for(int i = 0; i < 5; i++)
                   jb = new JLabel(" ");
                   cp.add(jb);
    //***********************1st row*************************************************//
    //***********************2nd row*************************************************//
              jb = new JLabel(" ");
              cp.add(jb);
              sequenceFile = new JLabel("sequenceFile :");
              cp.add(sequenceFile);
              browse3 = new JButton("browse");
              cp.add(browse3);
              jtf3 = new JTextField(" ");
              cp.add(jtf3);
              jb = new JLabel(" ");
              cp.add(jb);
    //***********************2nd row*************************************************//
    //***********************3rd row*************************************************//
                   jb = new JLabel(" ");
                   cp.add(jb);
                   repeatfile = new JLabel("RepeatFile :");
                   cp.add(repeatfile);
                   browse4 = new JButton("browse");
                   cp.add(browse4);
                   jtf4 = new JTextField(" ");
                   cp.add(jtf4);
                   jb = new JLabel(" ");
                   cp.add(jb);
    //***********************3rd row*************************************************//
    //***********************4th row*************************************************//
              jb = new JLabel(" ");
              cp.add(jb);
              snpfile = new JLabel("SNP File :");
              cp.add(snpfile);
              browse5 = new JButton("browse");
              cp.add(browse5);
              jtf5 = new JTextField(" ");
              cp.add(jtf5);
              jb = new JLabel(" ");
              cp.add(jb);
    //***********************4th row*************************************************//
    //***********************5th row*************************************************//
              jb = new JLabel(" ");
              cp.add(jb);
              genefile = new JLabel("Gene File :");
              cp.add(genefile);
              browse6 = new JButton("browse");
              cp.add(browse6);
              jtf6 = new JTextField(" ");
              cp.add(jtf6);
              jb = new JLabel(" ");
              cp.add(jb);
    //***********************5th row*************************************************//
    //***********************6th row*************************************************//
              for(int i = 0; i < 5; i++)
                   jb = new JLabel(" ");
                   cp.add(jb);
    //***********************6th row*************************************************//
    //***********************1st row*************************************************//
                   winsize = new JLabel("Window Size: ");
                   cp.add(winsize);
                   winSize = new JComboBox();
                   winSize.addItem("100");
                   winSize.addItem("500");
                   winSize.addItem("1000");
                   winSize.addItem("5000");
                   cp.add(winSize);
                   jb = new JLabel(" ");
                   cp.add(jb);
                   shiftsize = new JLabel("Shift Size: ");
                   cp.add(shiftsize);
                   shiftSize = new JComboBox();
                   shiftSize.addItem("25");
                   shiftSize.addItem("50");
                   shiftSize.addItem("100");
                   shiftSize.addItem("500");
                   cp.add(shiftSize);
    //***********************1st row*************************************************//
    //***********************6th row*************************************************//
              for(int i = 0; i < 5; i++)
                   jb = new JLabel(" ");
                   cp.add(jb);
    //***********************6th row*************************************************//
    //***********************7th row*************************************************//
                   for(int i = 0; i < 2; i++)
                        jb = new JLabel(" ");
                        cp.add(jb);
                   ok2 = new JButton("OK");
                   cp.add(ok2);
                   for(int i = 0; i < 2; i++)
                        jb = new JLabel(" ");
                        cp.add(jb);
    //***********************7th row*************************************************//
              browse3.addActionListener(this);
              browse4.addActionListener(this);
              browse5.addActionListener(this);
              browse6.addActionListener(this);
              ok2.addActionListener(this);
              return cp;
         public void actionPerformed(ActionEvent e)
              if(e.getSource()==ok1)
                   String ncbi = "";
                   String repeat= "";
                   try
                        ncbi = jtf1.getText();
                        repeat = jtf2.getText();
                        System.out.println("NCBI" + ncbi + "www");
                        if( ncbi.equals(" ") && repeat.equals(" "))
                             System.out.println("NCBI333" + ncbi);
                             DisplayInfo di = new DisplayInfo("Sorry!, Please select some file", "");
                             di.setSize(450,100);
                             di.setLocation(600,600);
                             di.setVisible(true);
                             GBFileProp.snpFile = "";
                             GBFileProp.geneFile = "";
                             return;
                   catch(Exception ex)
                   GBFileProp.fileFormat="NCBI";
                   GBFileProp.fileName = ncbi;
                   GBFileProp.repeatFile = repeat;
                   ReadNCBI readFile1 = new ReadNCBI(ncbi);
                   ReadRepeatFile rrf = new ReadRepeatFile(repeat);
                   try
                        gb = new GBMainFrame();
                        gb.setSize(1200,750);
                   catch(Exception ex)
                        DisplayInfo di = new DisplayInfo("Sorry!, Wrong File", "Enter file in \".gbk\" format");
                        di.setSize(450,100);
                        di.setLocation(600,600);
                        di.setVisible(true);
                   setVisible(false);
                   setDefaultCloseOperation(DISPOSE_ON_CLOSE);
              if(e.getSource()==ok2)
                   String sequence= "";
                   String repeat= "";
                   String snp= "";
                   String gene= "";
                   try
                        sequence = jtf3.getText();
                        repeat = jtf4.getText();
                        snp = jtf5.getText();
                        gene = jtf6.getText();
                        if( sequence.equals(" ") && repeat.equals(" ") && snp.equals(" ") && gene.equals(" "))
                                                      DisplayInfo di = new DisplayInfo("Sorry!, Please select some file", "");
                             di.setSize(450,100);
                             di.setLocation(600,600);
                             di.setVisible(true);
                             System.out.println("File " + GBFileProp.repeatFile);
                             return;
                   catch(Exception ex)
                   GBFileProp.fileFormat="Other";
                   GBFileProp.fileName = sequence;
                   GBFileProp.repeatFile = repeat;
                   GBFileProp.snpFile = snp;
                   GBFileProp.geneFile = gene;
                   ReadGeneFile a = new ReadGeneFile(gene);
                   ReadSNPFile rsp = new ReadSNPFile(snp);
                   GCReadFile grf = new GCReadFile(sequence);
                   ReadRepeatFile rrf = new ReadRepeatFile(repeat);
                   try
                        gb = new GBMainFrame();
                        gb.setSize(1200,800);
                   catch(Exception ex)
                        DisplayInfo di = new DisplayInfo("Sorry!, Wrong File", "Enter file in corresponding format");
                        di.setSize(450,100);
                        di.setLocation(600,600);
                        di.setVisible(true);
                   setVisible(false);
                   setDefaultCloseOperation(DISPOSE_ON_CLOSE);
              if(e.getSource()==browse1)
                   String w;
                   Fselect(1);
                   try
                   w=f.toString();
                   jtf1.setText(w);
                   catch(Exception ex)
              if(e.getSource()==browse2)
                   String w;
                   Fselect(4);
                   try
                   w=f.toString();
                   jtf2.setText(w);
                   catch(Exception ex)
              if(e.getSource()==browse3)
                   String w;
                   Fselect(3);
                   try
                   w=f.toString();
                   jtf3.setText(w);
                   catch(Exception ex)
              if(e.getSource()==browse4)
                   String w;
                   Fselect(2);
                   try
                   w=f.toString();
                   jtf4.setText(w);
                   catch(Exception ex)
              if(e.getSource()==browse5)
                   String w;
                   Fselect(4);
                   try
                   w=f.toString();
                   jtf5.setText(w);
                   catch(Exception ex)
              if(e.getSource()==browse6)
                   String w;
                   Fselect(2);
                   try
                   w=f.toString();
                   jtf6.setText(w);
                   catch(Exception ex)
              if(e.getActionCommand().equals("sequence_ncbi"))
                   final JFileChooser chooser = new JFileChooser();
                   FileFilter type1 = new ExtensionFilter ("Fasta File(.faa)", new String[] {".faa",".txt"});
                   chooser.addChoosableFileFilter (type1);
                   chooser.setFileFilter (type1);
                   int returnVal = chooser.showOpenDialog(this);
                   if (returnVal == JFileChooser.APPROVE_OPTION)
                        seqFile = chooser.getSelectedFile();
              else if(e.getActionCommand().equals("sequence_other"))
                   final JFileChooser chooser = new JFileChooser();
                   FileFilter type1 = new ExtensionFilter ("Fasta File(.faa)", new String[] {".faa",".txt"});
                   chooser.addChoosableFileFilter (type1);
                   chooser.setFileFilter (type1);
                   int returnVal = chooser.showOpenDialog(this);
                   if (returnVal == JFileChooser.APPROVE_OPTION)
                        seqFile = chooser.getSelectedFile();
         public void itemStateChanged (ItemEvent e)
              GBFileProp.windowsize = (int)Integer.parseInt(winSize.getSelectedItem().toString());
              GBFileProp.shiftsize = (int)Integer.parseInt(shiftSize.getSelectedItem().toString());
         public void Fselect(int sel)
                   final JFileChooser chooser = new JFileChooser();
         ImageIcon openIcon = new ImageIcon("images/open.gif");
                   FileFilter type1 = new ExtensionFilter ("NCBI File(.gbk)", new String[] {".gbk",".txt"});
                   FileFilter type2 = new ExtensionFilter ("ptt File(.ptt)", new String[] {".ptt",".txt"});
                   FileFilter type3 = new ExtensionFilter ("Fasta File(.faa)", new String[] {".faa",".txt"});
                   FileFilter type4 = new ExtensionFilter ("Text File(.txt)", new String[] {".txt",".txt"});
                   chooser.setCurrentDirectory (new File (System.getProperty ("user.dir")));
                   if(sel == 1)
                        chooser.addChoosableFileFilter (type1);
              chooser.setFileFilter (type1);
                   if(sel == 2)
                        chooser.addChoosableFileFilter (type2);
              chooser.setFileFilter (type2);
                   if(sel == 3)
                        chooser.addChoosableFileFilter (type3);
              chooser.setFileFilter (type3);
                   if(sel == 4)
                        chooser.addChoosableFileFilter (type4);
              chooser.setFileFilter (type4);
         int returnVal = chooser.showOpenDialog(this);
                   if (returnVal == JFileChooser.APPROVE_OPTION)
                        f = chooser.getSelectedFile();
                        //System.out.println("path of open "+ f);
    //GBMainFrame file
    package igib.genebrowser;
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    import igib.genebrowser.menu.*;
    import igib.genebrowser.plot.*;
    import igib.genebrowser.util.*;
    public class GBMainFrame extends JFrame
         GBMainMenu gb;
         PlotGraph pg;
         JPanel jf = new JPanel();
         JPanel jf1;
         LineGraph lg, lg1;
         JPanel jp1, jp2;
         JLabel jl;
         public GBMainFrame()
              super("File: " + GBFileProp.fileName + " " + GBFileProp.repeatFile + " " + GBFileProp.snpFile + " " + GBFileProp.geneFile);
              Container cp = this.getContentPane();
              cp.setLayout(new BorderLayout());
              cp.setSize(1024,600);
              Color c1=new Color(255,100,100);
              jf = new JPanel(new GridLayout(1,15));
    cp.add(jf, BorderLayout.NORTH);
              pg = new PlotGraph();
              pg.setBackground(Color.white);
              cp.add(pg, BorderLayout.CENTER);
              GBFileProp.jsb.setUnitIncrement(5);
              cp.add(GBFileProp.jsb, BorderLayout.SOUTH);
              lg1 = new LineGraph();
              lg1.setBackground(Color.white);
              lg1.setSize(50, 1000);
              cp.add(lg1, BorderLayout.EAST);
              lg = new LineGraph();
              lg.setBackground(Color.white);
              cp.add(lg, BorderLayout.WEST);
              gb = new GBMainMenu();
              jf.add(gb);
              setVisible(true);
              repaint();
    //PlotGraph File
    package igib.genebrowser.plot;
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    import java.util.*;
    import java.awt.image.*;
    import java.io.*;
    //import Acme.JPM.Encoders.*;
    //import Acme.*;
    import java.awt.print.*;
    import java.awt.Component;
    import java.awt.print.PrinterJob;
    import igib.genebrowser.menu.*;
    import igib.genebrowser.util.*;
    import igib.genebrowser.*;
    public class PlotGraph extends JPanel implements MouseListener,MouseMotionListener
         int xcoordinate;
         JScrollBar scrollBar;
         int mouseX;
         int mouseY;
         String st1 = " ";
         JScrollPane jsp;
         int check;
         int n;
         double base;
         int value;
         String repeatSymbol = "!";
         int position[] = new int[1500];
         public PlotGraph(String st)
              check = 0;
              GBFileProp.check = false;
         setVisible(true);
              ToolTipManager.sharedInstance().setInitialDelay(0);
              addMouseListener(this);
              addMouseMotionListener(this);
         public PlotGraph()
              check = 0;
              //System.out.println(GBFileProp.gcmax + "max y");
              if(GBFileProp.genescore>5)
              GBFileProp.filesize = GBFileProp.readGeneEnd[GBFileProp.genescore - 6];
              //System.out.println(GBFileProp.seqscore + " GBFileProp.seqscore");
              if(GBFileProp.filesize < GBFileProp.seqscore)
                   GBFileProp.filesize = GBFileProp.seqscore;
              if(GBFileProp.snpscore>5)
                   if(GBFileProp.filesize < GBFileProp.readSNPPosition[GBFileProp.snpscore-6])
                        GBFileProp.filesize = GBFileProp.readSNPPosition[GBFileProp.snpscore-6];
              if(GBFileProp.repeatscore>2)
                   if(GBFileProp.filesize < GBFileProp.endRepeatPosition[GBFileProp.repeatscore-2])
                        GBFileProp.filesize = GBFileProp.endRepeatPosition[GBFileProp.repeatscore-2];
              GBFileProp.scrollsize = (int)GBFileProp.filesize/285;
              GBFileProp.check = true;
         setVisible(true);
              addMouseListener(this);
              addMouseMotionListener(this);
              try
              AdjustmentListener lst = new AdjustmentListener()
                   public void adjustmentValueChanged(AdjustmentEvent e)
                        int i = e.getValue();
                        value = i;
                        GBFileProp.defaultStartCoordinate = (int)(e.getValue()*10*base);
                        GBFileProp.defaultEndCoordinate = GBFileProp.defaultStartCoordinate + (int)(10000*base);
                        repaint();
              GBFileProp.jsb.addAdjustmentListener(lst);
              catch(Exception e)
                   System.out.println("error here" + e);
    //******************** For Painting all the graph**********************************//
         public void paintComponent(final Graphics g)
              super.paintComponent(g);
              Font f = new Font("Times-Roman", Font.PLAIN, 16);
              g.setFont(f);
              GBFileProp.scrollsize = (int)GBFileProp.filesize/285;
              base = (double)(100.0/GBFileProp.zoomSize);
              n = (int)(GBFileProp.filesize/base);
              GBFileProp.jsb.setMaximum(n/10);
              if(GBFileProp.checkSave)
                   GBFileProp.checkSave = false;
                   Image img = this.createImage(1200,800);               
                   Graphics gph = img.getGraphics();
                   this.paint(gph);
                   try
                        OutputStream os = new FileOutputStream(GBFileProp.save);
                        GifEncoderTest ge = new GifEncoderTest(img,os);
                        ge.encode();
                        os.close();
                        catch(Exception e){}
              if(GBFileProp.checkPrint)
                   try
                        GBFileProp.checkPrint = false;
                        RepaintManager.currentManager(this).setDoubleBufferingEnabled(false);
                        PrinterJob pj=PrinterJob.getPrinterJob();
                        pj.printDialog();
                        pj.print();
                   catch (Exception PrintException)
                        System.out.println("print error" + PrintException);
                        GBFileProp.checkPrint = false;
              if(SetVisibleClass.isMerge)
                        GBFileProp.snpposition = 500;
                        GBFileProp.geneposition = 500;
                        GBFileProp.repeatposition = 500;
                        GBFileProp.userdefinedpoint = 500;
                   else
                        GBFileProp.snpposition = 450;
                        GBFileProp.geneposition = 400;
                        GBFileProp.repeatposition = 150;
                        GBFileProp.userdefinedpoint = 500;
              if(GBFileProp.check)
                   try
                        if(SetVisibleClass.isSNP)
                        drawSNPPage(g);
                   catch(Exception e)
                        System.out.println("Error in snp plotting");
                   try
                        drawGenePage(g);
                   catch(Exception e)
                        System.out.println("Error in gene plotting");
                   try
                        if(SetVisibleClass.isGC)                    
                        drawGCPage(g);
                   catch(Exception e)
                        //System.out.println("Error in GC plotting");
                   try
                        drawUserDefinedPage(g);
                   catch(Exception e)
                        System.out.println("Error in User Defined plotting");
                   try
                        if(SetVisibleClass.isRepeat)                    
                             drawRepeatPage(g);
                   catch(Exception e)
                        System.out.println("Error in Repeat plotting");
    //******************** For Painting all the graph**********************************//
    //***************************** For Painting Gene**********************************//
         public void drawGenePage(Graphics g1)
              Graphics2D g = (Graphics2D)g1;
              g1.setColor(Color.darkGray);
              g.drawLine(0,650,(int)10000,650);
              //g1.setColor(Color.b);
              BasicStroke pen = new BasicStroke(3.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_ROUND);
    g.setStroke(pen);
    //****************************** X coordinate *************************************//
              for(int i = 0; i < 10000; )
                   int xcor = (GBFileProp.defaultStartCoordinate + (int)(i*base));
                   String xCoordinate = "" + xcor;
                   g.drawLine((int)(i/10),645,(int)(i/10),655);
                   g.drawString(xCoordinate,(int)(i/10),665);
                   i = i + 1000; //+ (int)(1000/base);
    //****************************** X coordinate *************************************//
              if(SetVisibleClass.isGene)
                   g1.setColor(Color.darkGray);
                   g1.drawString("Gene:", 10, (GBFileProp.geneposition - 25));
                   g1.setColor(GBColorSymbol.cGene);
                   for (int i = 0; i < GBFileProp.genescore ; i++) // - 5 to b subtracted from genescore
                        int basestart = (int)((GBFileProp.readGeneStart[i] - (int)(GBFileProp.defaultStartCoordinate))/base); ///10;
                        int baseend = (int)((GBFileProp.readGeneEnd[i] - (int)(GBFileProp.defaultStartCoordinate))/base);
                        if(basestart >=0 && baseend <=(int)(10000))
                             checkGenePosition(i);
                             g.drawLine((int)((basestart/10)),GBFileProp.geneposition,(int)((baseend/10)),GBFileProp.geneposition);
                             arrow(true,true,i, g, basestart, baseend);
                        if(basestart >=0 && baseend > (int)(10000))
                             checkGenePosition(i);
                             g.drawLine(basestart/10,GBFileProp.geneposition,1000,GBFileProp.geneposition);
                             arrow(true,false,i, g, basestart, 10000);
                        if(basestart < 0 && baseend <= (int)(10000))
                             checkGenePosition(i);
                             g.drawLine(0,GBFileProp.geneposition,baseend/10,GBFileProp.geneposition);
                             arrow(false,true,i, g, 0, baseend);
                        if(basestart < 0 && baseend > (int)(10000))
                             checkGenePosition(i);
                             g.drawLine(0,GBFileProp.geneposition,1000,GBFileProp.geneposition);
                   //System.out.println("GeneSt: " + GBFileProp.readGeneStart[i] + " GeneEd: " + GBFileProp.readGeneEnd[i] + " No " + i + "GeneScore " + GBFileProp.genescore);     
    //*****************************End For Painting Gene**********************************//
    //*****************************Start For Painting snp**********************************//
         public void drawSNPPage(Graphics g1)
              //System.out.println(GBFileProp.snpscore + "for snp");
              Graphics2D g = (Graphics2D) g1;
              BasicStroke pen = new BasicStroke();
              g.setStroke(pen);
              //g.setColor(Color.Red);
              g.drawString("SNP", 20, GBFileProp.snpposition);
              g.setColor(GBColorSymbol.cSnp);
              for(int i = 0; i < GBFileProp.snpscore; i++)
                   int basePosition = (int)((GBFileProp.readSNPPosition[i] - GBFileProp.defaultStartCoordinate)/base);
                   //System.out.println(" position " + (basePosition/10));
                   //g.drawString("|",(basePosition/10),GBFileProp.snpposition);
                   g.drawString(GBColorSymbol.snpSymValues[GBColorSymbol.snpSym],(basePosition/10),GBFileProp.snpposition);
                                                                                                                  //Line SNP score
              //System.out.println(GBFileProp.snplinescore);
              for(int i = 0; i < GBFileProp.snplinescore-1; i++)
                   int basePosition = (int)((GBFileProp.readSNPStartPosition[i] - GBFileProp.defaultStartCoordinate)/base);
                   //g.drawString("|",(basePosition/10),GBFileProp.snpposition);
                   g.drawString(GBColorSymbol.snpSymValues[GBColorSymbol.snpSym],(basePosition/10),GBFileProp.snpposition);
              for(int i = 0; i < GBFileProp.snplinescore-1; i++)
                   int basestart = (int)((GBFileProp.readSNPStartPosition[i] - (int)(GBFileProp.defaultStartCoordinate))/base); ///10;
                   int baseend = (int)((GBFileProp.readSNPEndPosition[i] - (int)(GBFileProp.defaultEndCoordinate))/base);
                   System.out.println(basestart + "     " + baseend);
                   if(basestart >=0 && baseend <=(int)(10000))
                             g.drawLine((int)((basestart/10)),GBFileProp.snpposition,(int)((baseend/10)),GBFileProp.snpposition);
                   if(basestart >=0 && baseend >(int)(10000))
                             g.drawLine((int)((basestart/10)),GBFileProp.snpposition,(int)((1000)),GBFileProp.snpposition);
                   if(basestart < 0 && baseend <=(int)(10000))
                             g.drawLine((int)((0)),GBFileProp.snpposition,(int)((baseend/10)),GBFileProp.snpposition);
                   if(basestart < 0 && baseend > (int)(10000))
                             g.drawLine((int)((0)),GBFileProp.snpposition,(int)((1000)),GBFileProp.snpposition);
    //*****************************Start For Painting GCPlotting**********************************//
         public void drawGCPage(Graphics g1)
              Graphics2D g = (Graphics2D) g1;
              g1.setColor(Color.darkGray);
              g.drawString("GC Percentage", 20, 20);
              BasicStroke pen = new BasicStroke();
              g.setStroke(pen);
              g1.setColor(Color.black);
              //System.out.println(GBFileProp.seqscore + " score");
              for(int i = 0; i < (int)((10000)*base); )
                   //System.out.println(GBFileProp.defaultEndCoordinate + " " i" " + GBFileProp.defaultStartCoordinate);
                        //System.out.println(GBFileProp.gcposition);
                        int firstPosition = (int)GBFileProp.GCPercentage[(int)((((int)(i) + GBFileProp.defaultStartCoordinate)/GBFileProp.shiftsize))] * (3*100)/GBFileProp.gcmax;
                        int secondPosition = (int)GBFileProp.GCPercentage[(int)((((int)((i+GBFileProp.shiftsize)) + GBFileProp.defaultStartCoordinate)/GBFileProp.shiftsize))] * (3*100)/(GBFileProp.gcmax);
                        g.drawLine((int)((i/10)/base), GBFileProp.gcposition - firstPosition, (int)(((i+GBFileProp.shiftsize)/10)/base), GBFileProp.gcposition - secondPosition);
                        i = i + GBFileProp.shiftsize;
              for(int i = 0; i < GBFileProp.seqscore -1; i++)
                   int firstPosition = (int)Integer.parseInt(GBFileProp.GCPoint.elementAt(i).toString()) * 3;
                   int secondPosition = (int)Integer.parseInt(GBFileProp.GCPoint.elementAt(i+50).toString()) * 3;
                   //int secondPosition = (int)GBFileProp.GCPercentage[i+50] * 3;
                   //g.drawString("|",basePosition,300);
                   g.drawLine((int)(i/10), 300 - firstPosition, (int)(i+50)/10, 300 - secondPosition);
                   i = i + 49;
    //*****************************End For Painting GCPlotting**********************************//
    //*****************************Start For Painting Repeat File**********************************//
         public void drawRepeatPage(Graphics g1)
              int check = 0;
              Graphics2D g = (Graphics2D) g1;
              g.setColor(Color.darkGray);
              g.drawString("Repeat", 10, 480);
              for (int i = 0; i < GBFileProp.repeatscore ; i++)//- 1 to b subtracted from repeatscore
                   int basestart = (int)((GBFileProp.startRepeatPosition[i] - (int)(GBFileProp.defaultStartCoordinate))/base); ///10;
                   int baseend = (int)((GBFileProp.startRepeatPosition[i] - (int)(GBFileProp.defaultStartCoordinate))/base);
                   if(basestart > 0 && basestart < 10000)
                        try
                             if(GBFileProp.repeatFamily.equals("LINE"))
                                  System.out.println(" Line" );
                                  GBFileProp.repeatposition = 575;
                                  repeatSymbol = GBColorSymbol.repeatSymValues[GBColorSymbol.lineSym];
                                  if(GBFileProp.repeatName[i].length() >= 2)
                                       if(GBFileProp.repeatName[i].substring(0,2).equals("L1"))
                                            g.setColor(GBColorSymbol.cL1);
                                            g.drawString(repeatSymbol, (int)(basestart/10), GBFileProp.repeatposition);
                                       else if(GBFileProp.repeatName[i].substring(0,2).equals("L2"))
                                            g.setColor(GBColorSymbol.cL2);
                                            g.drawString(repeatSymbol, (int)(basestart/10), GBFileProp.repeatposition);
                                       else if(GBFileProp.repeatName[i].substring(0,2).equals("L3"))
                                            g.setColor(GBColorSymbol.cL3);
                                            g.drawString(repeatSymbol, (int)(basestart/10), GBFileProp.repeatposition);

  • CS6 Premiere Pro Windows Capture Format

    Can Premiere Pro CS6 for Windows be set to capture Quicktime instead of AVI?

    But that's actually a good thing.  AVI is the better container, and doesn't suffer from the flaws that QuickTime has.

  • Windows Capture 8.1

    Hello,
    Could we use a Windows 7 Capture to capture a Windows 8.1 Image?
    Using WDS/MDT2013
    Regards,
    Ramu
    Ramu V Ramanan

    Thanks Daniel, I have tired and it worked smoothly. 
    Will post if I find anything during testing.
    Regards,
    Ramu
    Ramu V Ramanan

  • How can I capture and take screenshots of all the browser tabs and not only windows ?

    This class identifies all minimized windows and take a snapshot (screenshot) of them. I want to take screenshots also of all the broswer for example chrome tabs windows that are open but not in the front. Same idea that it get now the minimized windows but
    to get the screenshots of the broswer opened tabs ! What should I change in the WindowSnap class? Since both classes are a bit long I added them to pastebin.com
    What i'm doing now is to get all the minimized windows i mean all the the windows in the back if it's chrome browser windows or open tabs if it's program games other windows. This is what i'm doing in form1 constructor:
    this.listBoxSnap.Items.AddRange(WindowSnap.GetAllWindows(true, true).ToArray());
    int numitems = this.listBoxSnap.Items.Count;
    for (int i = listBoxSnap.Items.Count - 1; i >= 0; i--)
    string tt = listBoxSnap.Items[i].ToString();
    if (tt.Contains(" ,"))
    listBoxSnap.Items.RemoveAt(i);
    listBoxSnap is just a regular listBox1 in my form1 designer.
    And this is the WindowSnap class code, it's a bit long code but it's all connected:
    I'm not sure what to show here from this class what is the most important part so i added all the class code to a link to pastebin.com:
    WindowSnap.cs
    What i'm calling/using in form1 constructor from this WindowSnap.cs class is the GetAllWaindows method:
    public static WindowSnapCollection GetAllWindows(bool minimized, bool specialCapturring)
    windowSnaps = new WindowSnapCollection();
    countMinimizedWindows = minimized;//set minimized flag capture
    useSpecialCapturing = specialCapturring;//set specialcapturing flag
    EnumWindowsCallbackHandler callback = new EnumWindowsCallbackHandler(EnumWindowsCallback);
    EnumWindows(callback, IntPtr.Zero);
    return new WindowSnapCollection(windowSnaps.ToArray(), true);
    EnumWindowsCallBackHandler is:
    private delegate bool EnumWindowsCallbackHandler(IntPtr hWnd, IntPtr lParam);
    EnumWindows is:
    [DllImport("user32.dll")]
    [return: MarshalAs(UnmanagedType.Bool)]
    private static extern bool EnumWindows(EnumWindowsCallbackHandler lpEnumFunc, IntPtr lParam);
    Then i have the class called WindowSnapCollection:
    WindowSnapCollection.cs
    The problem is in form1 constructor i'm getting only 23-24 windows in the listBox1. When i'm doing this two lines:
    this.listBoxSnap.Items.AddRange(WindowSnap.GetAllWindows(true, true).ToArray());
    int numitems = this.listBoxSnap.Items.Count;
    I see in numitems about 30 windows and after filtering i'm getting 20 windows and i checked that's the correct number of opened minmizied windows i have in this example 20.
    Now what i want to do is somehow to get with all this windows in the listBox also all the opened tabs in chrome.
    For exmaple i have only 4 opened chrome windows. But in one of the chrome windows i have almost 40 tabs opened !
    I want somehow to add to the listBox all this opened tabs also as captured screenshots like i'm doing now with the windows.
    This is a screenshot of my program showing what i'm doing and what i get:
    So now i have 19 windows captured in the next refresh it will show 20.
    My question is if there is any way to capture also all the chrome opened tabs in all the windows if any opened tabs are opened at all ? Now i'm getting only the chrome opened windows captured screenshot. But i want to get also the chrome tabs captured screenshots.

    Hi Chocolade1972,
    Since this forum is discussing about Windows Forms general like winform controls, and your issue is related with Windows Desktop SDK, I will move this thread to the more related forum.
    Thanks for your understanding.
    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 pref to turn off border/shadow in window screen capture?

    Somewhere along the line, Apple changed screen capture of a window (cmd-shift-4 and then spacebar) so that now you get a white border and drop shadow around the window in the screen capture file. This is very pretty, but for the purposes of posting captures on websites, for example, the original 'just the window' capture is really much more useful. Is there a *defaults write com.apple.screencapture* (or something) preference that can be changed to set the border/shadow to off?
    - padmavyuha

    Yes, annoying isn't it? I got mine changed using this command in Terminal:
    defaults write com.apple.screencapture disable-shadow -bool true
    You then need to log out and back in. This fix is courtesy of "atverd" at MacOSXHints. Bless him, and Rob Griffiths.
    Francine
    Francine
    Schwieder

  • Screen Capture won't capture window

    Hello, I'm using Snow Leopard on a Mac Mini with a single monitor. When using the screen capture keyboard commands, I can do everything except for capturing a window. I'm supposed to be able to hit command+shift+4, and then spacebar, and the pointer will change into a camera that will capture only the window I click with it. I recall being able to do this a long time ago, before I upgraded to Snow Leopard. I also use a widget called Screenshot Plus that acts as a front-end to those keyboard functions.
    When I try these days, the cursor changes into a camera, but the entire screen is highlighted as if it will be selected. When I click, what gets captured is a blank white area the full size of my screen. The Screenshot Pro widget produces the same incorrect result.
    I've seen another discussion about this topic, but it seemed to center on the Grab utility. On my system, Grab works correctly, including the window capture function. So I have a way to get the results I want, but I would be interested in a solution that allows me to use the keyboard method again. Thank you.
    Mike

    Noondaywitch, I created a test account and screen capture of windows worked correctly in it. Thank you!
    So now I need to look for something about my account. I'm going to try disabling all startup items and see what happens.
    UPDATE: Disabling all startup items and rebooting fixed the problem. The window capture function now works in my user account. Now I can put startup items back one by one to see which one might have caused the issue.
    Thanks to all who gave advice.

  • Master collection CS4, how to keep "Date taken" in captured videos?

    Hello,
    I have the master collection CS4 on a Vista system, and I can easily capture from my old Canon Elura DV tapes, with a firewire cable, either using Premiere Pro, or the simple Windows capture utility.
    Now, no matter what file format I created, both AVI (big) and WMV (smaller) the files' "Date Taken" or "Date Shot" fields are blank. All Date modified/created and accessed are the date of the capture, which I do not really need, since my tapes are 8 years old... !
    Windows Photo Gallery sorts your photo and videos by date taken, but this does not seem to be possible with captured DV videos...
    Now, it seems such a simple feature to have the DV date/time stamp to be translated into the file "Date Taken" field, I am wondering how to do that.
    Is there a plugin? Is there a workflow I am missing in premiere? or AfterEffects?
    The date/time stamp is embeddded in the DV stream, and I read that a AVI capture will simply copy the DV stream to the HD, so how do I extract / see that information?
    And, really, how come such a critical information is so hard to work with? I mean, don't professional movie makers want to know precisely when video clips have been shot?
    Thank you
    regards

    Hi,
    hmm, I use SCLive to capture and the filename becomes the date taken and are numbered sequentially...as it can capture different avi files every time it sees the camera was shut off and turned back on...like those become "scenes" in a way..a new avi file.  But the date and numbers reflect what youre talking about.  I never captured using cs3 which is what I use.  SCLive is actually "better" at capturing mini dv tapes.
    As for movie making the slate gives you that info...and when you start the edit you rename the captured footage according to the slate..so the filenames reflect more readily what the stuff is...
    eg. " scene3-take3-cu " or "scene5-take2-master"...etc.

  • Premiere Elements capturing video in one piece instead of clips

    I am saving all of my old SVHS tapes to the computer using an ADVC-55 capture card via fire wire and Premiere Elements 12
    When the video has captured the entire tape and I go to view, I have noticed that It would save the captured video in clips and other times the full video with no clips.
    I have clicked on the radio button to save the captured video as clips.
    To be honest, I am not entirely sure what Premiere elements does when it captures the clip.
    I know it saves the whole tape as and .avi file - the file size is about 9.5GB
    it does seem a bit hit and miss and I am quite new to the program.
    Can anyone explain where I am going wrong.
    many thanks

    TD1459
    What computer operating system is your Premiere Elements 12 running on?
    What are your Capture settings?
    Generalizing....miniDV camcorder....
    If you are doing DV data capture firewire into Premiere Elements 12 Windows Capture Window, you have the option to capture
    a. the whole as DV AVI standard or widescreen, depending on how recorded
    or
    b. Split Scenes...under Split Scenes, you have the option of by Timecode or by Content. Then you end up with DV AVI standard or DV AVI widescreen clips.
    If you are doing HDV data capture firewire into Premiere Elements 12 Windows Capture Window, your options
    a. the whole as MPEG2.mpeg
    or
    b. Split Scenes...under Split Scenes, ONLY by Content, not by Timecode. Then you end up with MPEG2.mpeg clips as many MPEG2.mpeg clips as can be detected on a Content basis.
    If I recall, VHS does not have Timecode, so the Split Scenes by Timecode would not be an option and you would be dealing with DV data capture firewire with the DV AVI standard output. What does your Capture Window set show for Split Clips, Content? If so, it might be that the program is not able to analyze and detect scenes in some while it can in others.
    More later.
    ATR

  • Print Inspector Window?

    Anyone know of a way to print the Inspector Window or export it to text?
    Thanks.

    Anyone know of a way to print the Inspector Window or export it to text?
    Data fields can be copied and pasted individualy. But it is much easier to simply screen capture the window itself as a PNG file and send/print the graphic image as a whole. To do this simply press the "Command-Shift-4" key combination followed by pressing the "Space Bar" to put you in the "Window" capture mode. Then move the cursor over the "Inspector" window and when it turns blue, just click the mouse. Default storage for the file is the Desktop and will be named "Picture #.png" where the # is a numeric suffix added when more than one "Picture.png" file exists.

  • Error in OSD Task from Windows XP to Windows 7

    Hi All,
    Recently I installed CM2012 R2
    and I am doing functional testing migration
    of operating systems, I have a specific problema
    when trying to migrate from Windows
    XP to Windows 7, the steps like
    capture settings in Windows,
    capture settings network Work ok, but at the end of the restart in Windows PE task appears an error, these are tha last lines of my SMSTS.LOG
    CreateProcess failed. Code(0x800700C1) TSManager 15/01/2014 03:53:32 p.m. 952 (0x03B8)
    Command line execution failed (800700C1) TSManager 15/01/2014 03:53:32 p.m. 952 (0x03B8)
    Failed to install boot image.
    Unknown error (Error: 800700C1; Source: Unknown) TSManager 15/01/2014 03:53:32 p.m. 952 (0x03B8)
    Failed to install boot image SMX00017.
    Unknown error (Error: 800700C1; Source: Unknown) TSManager 15/01/2014 03:53:32 p.m. 952 (0x03B8)
    Failed to reboot the system. Error 0x(800700c1) TSManager 15/01/2014 03:53:32 p.m. 952 (0x03B8)
    Failed to initialize a system reboot.
    Unknown error (Error: 800700C1; Source: Unknown) TSManager 15/01/2014 03:53:32 p.m. 952 (0x03B8)
    Fatal error is returned in check for reboot request of the action (Restart in Windows PE).
    Unknown error (Error: 800700C1; Source: Unknown) TSManager 15/01/2014 03:53:32 p.m. 952 (0x03B8)
    An error (0x800700c1) is encountered in execution of the task sequence TSManager 15/01/2014 03:53:32 p.m. 952 (0x03B8)
    This error is only trying a migration from Windows Xp to Windows 7. When I try to migrate from Windows 7 to Windows 7 with the same task sequence Works perfectly.
    I have a problema with my Windows PE?? someone has the same trouble?
    Thanks in advance
    Luis

    Your version of the WINPE boot image is not compatible.  You get the 0x800700c1 when the bootsect.exe file is not compatible.  The only option, I think, that you have is to use a bootsect.exe file from an older set of boot files. 
    Best, Jacob I'm a PC.

  • Screen Capture Video Loses Quality When Imported Into iMovie - WHY?

    I am using screen capture software to make a video of my screen at 1024x768. The video is for a tutorial. I want to use iMove to get things like transitions and such into the movie, and to add text and audio. The problem is that, although the video looks great in QuickTime, it loses quality significanly when I import into iMove. The text on the screen is blurry, and the quality of everything else is terrible as well.
    Is this s limitation of iMove? Can screen capture video be imported? Does it only work with DV?
    Also, I tried to convert the file to many other formats, from QuickTime to MPEG-4, so it's not the file type.
    If anyone can help me out, I've be very grateful.
    Thanks!
    iBook G4   Mac OS X (10.4.5)  

    Your dimensions are getting in the way. iMovie converts your 1024X768 to a DV Stream file that is 720X480.
    One workaround would be to set your display resolution smaller. Try 800X600 (if your windows fit that size).
    If you're using Snapz Pro you should set your window capture to 640X480. This size will import nicely into iMovie.
    An even better way would be to do all of the work using QuickTime Pro. Again a 1024X768 QT.mov file would not fit on the most common display settings used. When you add the QT Player window the controller would be below the screen and not accessible for most users.
    800X600 would make a better file (smaller, too). It would still be 4:3 aspect and would also import into iMovie.

  • Help capturing screenshots from script

    Hi all,
    I'm helping someone with a project, I'm a fairly experienced Unix and Windows developer but don't know much about Macintosh or Applescript so please excuse me if any of these are stupid questions; if you can direct me to the relevant documentation that would be great.
    I'm trying to write a script to capture screenshots (actually single window captures of the browser window) and save them to disk every N minutes.. I've seen how to do this with the Grab application, or from the command line using screencapture. I don't see how to automate either of these applications through Applescript though; when I select file-> open dictionary they aren't in the list. Does this mean I can't use applescript to drive them? If so, can anyone suggest an alternative?
    2GHz PowerPC G5   Mac OS X (10.4.10)  

    You can use AppleScript to execute screencapture:
    <pre class="command">do shell script "screencapture -S file"</pre>

  • Is there any way to fix the window screen grab in 10.5?

    For whatever reason, the window capture function (CMD-SHIFT-4, then SPACE) in OS X 10.5 now insists on including the shadow of the window being captured. Given how much documentation I write this is a HUGE setback for me; what used to take a few seconds now takes several minutes since I now have to edit every image in Photoshop to remove the shadow, or use CMD-SHIFT-4 without the SPACE and hope my marquee is accurate.
    Is there any way to fix this "improvement" (ahem) in 10.5?
    <Edited by Moderator>

    Here is the problem.
    Let's say you have a window that's sized to, say, 400x300, and you want to grab that window. You hit SHIFT-CMD-4, then tap SPACE, then click on the window.
    Up until OS X 10.5, you would get an image file on your desktop that, when opened, contained a 400x300 graphic of that window.
    Starting with 10.5, when you open that image you get an image that's LARGER than 400x300 and contains the window plus the shadow that OS X puts around it, with transparency.
    Yes, they look great when you post them in documents with any color background. But that's only useful if you have an actual design-need for a drop shadow. Believe it or not, there are countless instances where a drop shadow is NOT needed or wanted. This means that I have to edit every file to remove the drop shadow which is a waste of time. Before Apple forced the drop shadow, I had the choice of whether to include a drop shadow or not when I work with the file in InDesign, and the drop shadow would work beautifully in any color background.

Maybe you are looking for

  • Turnkey option not available during install

    I'm attempting to install ES on my laptop. However during the install process I specify that I'm installing on Windows and it goes straight to the PDF Generator configuration screen. It never prompts me to perform the turnkey installation. Any idea w

  • I Cannot purchase from iTunes.....

    I wanted to purchase THE full version of the toddler game which is the phone4kid....i tried THE free version first at App store...installed THE free version...i liked it for my baby so we decideer to purchase THE full version but when i click THE res

  • My MacBook randomly shuts down.

    Hi there: My 13" MacBook (2009?) keeps shutting down at random intervals, but very frequently. I followed instructions to reset SMC - no change The battery is fully charged, and retains it's charge. The Energy save modes are at 15 mins computer/displ

  • Biztalk Receive pipeline doesnot start

    All. Suddenly my Biztalk server application doesnt pick data from db.(pooilng interval =3 Sec). I checked in tracked service instance but no instance reated. And all the other existing applicaion received Routing failure exception. Please advice what

  • Gmail, Mail.app and Archive Failing

    One of my parents' macs fails to properly archive email messages.  Gmail is acting as the backend, and I used the recommended imap settings from Google to set up the account.  The error message is this: "The IMAP command "UID COPY" (to Archive) faile