Editing Python Smart ClipBoard

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 15: Line 15:
 
*The program does not have a clipboard history as I, so far, have not found that useful.  There are a lot of other apps with this feature.
 
*The program does not have a clipboard history as I, so far, have not found that useful.  There are a lot of other apps with this feature.
  
 
+
See the GUI at [[ClipBoard GUI]]
For a quick overview on use once installed see the GUI documentation at: '''[[ClipBoard GUI]]'''  That page will also link to the 4 areas of operation:
 
* [[Clipboard Transformations]] 
 
* [[Clipboard Snippets]] 
 
* [[Clipboard Snips]] 
 
* [[Clipboard Commands]] 
 
 
 
 
   
 
   
 
== Status ==
 
== Status ==
This program is up and running most of the functions seem to work well, major problem is that I keep adding details to the functionality, I use the program partly as an opportunity to explore Python.  Making improvements from time to time for my projects.  Code at GitHub, see '''[https://github.com/russ-hensel/smart_clipboard  smart_clipboard  code at GitHub]''' I think the major problem with the code is that I am still making a fairly large number of changes/enhancements.  As a result I am breaking things. New versions are uploaded at various milestones, they are not carefully checked.  Email me if there are problems, or even if you wish to check that I have a new version not yet uploaded.  Contact Info at:  '''[[http://www.opencircuits.com/User:Russ_hensel Russ Hensel]]'''
+
This program is up and running most of the functions seem to work well, major problem is that I keep adding details to the functionality, I use the program partly as an opportunity to explore Python.  Making improvements from time to time for my projects.  Code at GitHub, see [[https://github.com/russ-hensel/python_smart_terminal Code at GitHub]] I think the major problem with the code is that I am still making a fairly large number of changes/enhancements.  As a result I am breaking things.
  
 
== Code ==
 
== Code ==
Line 129: Line 123:
 
     .... whatever --|
 
     .... whatever --|
 
                     |
 
                     |
                     |-- clipboard    -----> all code required to run the application ( not sure if smart_terminal or python_smart_terminal or nothing is top level name, just put it in some well named place )
+
                     |-- clipboard    --| -> all code required to run the application ( not sure if smart_terminal or python_smart_terminal or nothing is top level name, just put it in some well named place )
 
                                            
 
                                            
 
                                         | -- images -> image files, mostly screen shots, icons... or what ever, not important for the code.
 
                                         | -- images -> image files, mostly screen shots, icons... or what ever, not important for the code.
Line 150: Line 144:
  
 
I have run the program on both Windows 10 but not Linux or Rasperian on a RPi.  It should may in most OS's, this depends on how well pyclip a library I use works on these OS.  Let me know about issues.
 
I have run the program on both Windows 10 but not Linux or Rasperian on a RPi.  It should may in most OS's, this depends on how well pyclip a library I use works on these OS.  Let me know about issues.
 
I may list dependencies, one almost for sure is pyperclip.
 
  
 
= Configure to Run =
 
= Configure to Run =
Line 161: Line 153:
 
I have made yet another pass to clean up and comment the code in parameters.  Let me know if you have issues.  You should understand some values are being phased out but may still have some implementation and some may be coming in and have little or no implementation.  The comments should let you identify these situations.
 
I have made yet another pass to clean up and comment the code in parameters.  Let me know if you have issues.  You should understand some values are being phased out but may still have some implementation and some may be coming in and have little or no implementation.  The comments should let you identify these situations.
  
Parameters starts out with some "meta" parameters.  These are defined early in the creation of the objects and may effect other values.  In any case you can always define a value twice, the last one always wins.  
+
Parameters starts out with some "meta" parameters.  These are defined early in the creation of the objects and may effect other values.  In any case you can always define a value twice, the last one always wins. The most important meta parameter is mode, you should not change it from self.mode = "Terminal" unless you understand the implications or do not mind going on a ride.
  
All the com port values are defined in pretty much one place, find it ( say search on "color" ) an change it to what you need.
+
All the com port values are defined in pretty much one place, find it ( say search on "baud" ) an change it to what you need.
  
[[Clipboard Configuration]]
+
[[Clipboard Configuration]] [[config.....]]
  
 
== Running It ==
 
== Running It ==
Line 189: Line 181:
  
  
..... more here soon perhaps ......
+
..... more here soon ......
 
 
 
 
 
 
== Debugging ==
 
 
 
There are several application outputs that may be useful for debugging.
 
 
 
* Watch the GUI
 
* Check the Python console.
 
* Look at the python log file ( use the GUI button <Edit Log> ( specify your editor in parameters.py first ) or use your editor on the default name of the log file, by default: clipboard.py_log.
 
 
 
Most issues will probably be missing libraries, parameters.py issues, or just bugs in my code (email me ).
 
  
 
= Notes on the Code =
 
= Notes on the Code =
Line 217: Line 197:
 
= Customizing/Extending =
 
= Customizing/Extending =
  
Simple customization may be done simply by changing the parameter file, see: [[Smart Terminal Parameter Examples]]  Modifications are similar to the smart terminal: Modify by messing with any of the source code ( not recommended ) or by programming an extension, see:  [[Python Smart Terminal Technical]] and [[Writing You Own Extensions to SmartTerminal]]
+
Simple customization may be done simply by changing the parameter file, see: [[Smart Terminal Parameter Examples]]  If you want to add code that can be done by messing with any of the source code ( not recommended ) or by programming an extension, see:  [[Python Smart Terminal Technical]] and [[Writing You Own Extensions to SmartTerminal]]
  
 
= Additional Info =
 
= Additional Info =
Line 223: Line 203:
 
*Click on the category '''ClipBoard''' below ( and perhaps the others as well )
 
*Click on the category '''ClipBoard''' below ( and perhaps the others as well )
 
   
 
   
 +
*[[Writing You Own Extensions to ClipBoard]]
 
   
 
   
 
*[[ClipBoard GUI]]   
 
*[[ClipBoard GUI]]   

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)