Updated: 4/21/2002; 7:32:28 AM.
PythonCard
PythonCard is cross-platfrom framework for building desktop apps.
        

Wednesday, February 13, 2002

I made a simple, but crucial addition to the radioclient PythonCard app today which increases its usability. When the app starts up, it automatically grabs the text in the clipboard and pastes it into the content field. Then all you have to do is press the "New Post" button to publish the text to your blog. If you want to edit the text before you publish, you can still do so. Notice how little code is involved:
    if self.components.fldContent.canPaste():
        self.components.fldContent.paste() 
This is the kind of tweak that can really increase the usability of single focus apps and utilities. If you wanted to have a little utility that simply took the contents of the clipboard and automatically posted that to your blog, the script would be even simpler and could be made to work across all platforms, especially if your utility doesn't have a UI.

radioclient relies on Python and wxPython and works on Windows, Linux/GTK, and Solaris, and Real Soon Now (fingers crossed) on the Mac.


12:35:34 PM    


© Copyright 2002 Kevin Altis.
 
February 2002
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28    
Jan   Mar




Click to see the XML version of this web page.