×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    Thumbs up [announce] clipboard module in pure python code

    hello ,

    I found a clipboard module (Power Clipboard tool for PyS60 written by Atrant) and it is only in pure python code Text paste in clipboard is stored in one file clpboard.cbd !

    I try it with 2nd and 3rd device (I changed slightly the code for finding the clipboard file location c: , d: or e: )


    You can use two functions : Get for obtaining clipboard contents and Set for setting new clipboard contents.
    Works also with multiple lines !

    Before launching this example code open new text message application
    and write "hello". Copy text with pencil key and keypad in clipboard
    now you can launch the script

    Code:
    import clipboard
    
    clip=clipboard.Get()
    print clip  # print "hello"
    clipboard.Set(u"bye") # change clipboard contents with "bye"
    print clipboard.Get() # print "bye"
    After launching this script you can paste "bye" in your SMS !!!

    link : Power Clipboard tool for PyS60 1.1 by Atrant

    Cyke64
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

  2. #2
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,800

    Re: [announce] clipboard module in pure python code

    Wow this is a good tool.Can come come handy sometime!
    Thanks
    Pankaj Nathani
    www.croozeus.com

  3. #3
    Registered User
    Join Date
    Dec 2006
    Posts
    7

    Re: [announce] clipboard module in pure python code

    The last version of this module is included in this package of the modules http://file.dimonvideo.ru/uploads/pr...ul_pack116.sis

    I am sorry for English is an autotranslation

  4. #4
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    Re: [announce] clipboard module in pure python code

    Quote Originally Posted by fort13 View Post
    The last version of this module is included in this package of the modules http://file.dimonvideo.ru/uploads/pr...ul_pack116.sis

    I am sorry for English is an autotranslation
    No !
    First of all this version is slightly different from the package (it detect where is the clipboard file : very useful in E61 because clipboard is on c: not on RAM drive d: as N95.
    Your package can be only installed in 2nd edition device not in 3rd device. And it includes more modules for 2nd.

    This version of clipboard.py (1.1) can be installed directly in c:\python\lib on 3rd device.

    Cyke64
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

Similar Threads

  1. Replies: 2
    Last Post: 2007-10-05, 20:40
  2. Fixing a bug in an already obfuscated midlet (no source code) ?
    By SPGremlin in forum Mobile Java General
    Replies: 1
    Last Post: 2004-01-12, 21:52
  3. Replies: 2
    Last Post: 2003-11-09, 14:00
  4. Testing HTTP client for Nokia 3650; Looking to share code
    By nawkboy in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2003-09-10, 15:30
  5. MS Access Code for a Module
    By NMurphy in forum General Messaging
    Replies: 1
    Last Post: 2002-11-11, 11:56

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×