Electron microscopy
 
Take a Screenshot using a Mouse Click and Drag Method like Snipping Tool
- Python for Integrated Circuits -
- An Online Book -
Python for Integrated Circuits                                                                                   http://www.globalsino.com/ICs/        


Chapter/Index: Introduction | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | Appendix

=================================================================================

============================================

Take a screenshot using a mouse click and drag method like Snipping Tool with copy-pasted name as a file name: code:
         continue in Python
         continue in Python
Output (the image in red circle is generated by a click-drag screenshot):         
         continue in Python          
         continue in Python         

============================================

Take a screenshot using a mouse click and drag method, and then insert the image and/or a text into a ppt file. code 1: main code:
         continue in Python
         continue in Python
         continue in Python
Simple pptx slide preparation with checking the existence of a pptx file. code 2:         
         continue in Python          
         continue in Python     
Steps and output:         
         i) For instance, copy text "transparent height test" into clipboard for the pptx file name "transparent height test.pptx".
         ii) Run the main script.
         iii) Got below:
               continue in Python
         iv) Click "ScreenShot", then a slide is generated:.         
               continue in Python          
         v) Click "ScreenShotAndText".         
         vi) Make a screen shot.
         v) A text box shows up, and then type Yougui Liao is here:                  
               continue in Python
         vi) Click "Enter" key (do not try to click "OK"), then a slide will be shown:
               continue in Python     

============================================

Screenshot: save screenshot to a pre-defined file name; ScreenShot_FileTile: make screenshot with a tile input from the dialog box; ConfirmPPTfile: confirm if there is such a ppt file; ScreenShotAndText: save screenshot to a pre-defined file name together with input text. code 1: main code:
         continue in Python
         continue in Python
         continue in Python
         continue in Python
         continue in Python
         continue in Python
Simple pptx slide preparation with checking the existence of a pptx file. code 2:         
         continue in Python          
         continue in Python     
Steps and output:         
         i) For instance, copy text "transparent height test" into clipboard for the pptx file name "transparent height test.pptx".
         ii) Run the main script.
         iii) Got below:
               continue in Python
         iv) Click "ScreenShot", then a slide is generated.
         v) Click "ScreenShotAndText".         
         vi) Make a screen shot.
         v) A text box shows up, and then type Yougui Liao is here:                  
               continue in Python
         vi) Click "Enter" key (do not try to click "OK"), then a slide will be shown:
               continue in Python

=============================

Position of the button. code:
         continue in Python
    Output:
         continue in Python


         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         

 

 

 

 

 

 

 

 

 

 

=================================================================================