Results 1 to 2 of 2

Thread: auto paste

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2009
    Posts
    67

    auto paste

    is there a way that i would automatically paste the clipboard contents to my richtextbox after the shell command?


    my code goes this way..

    shell("ocr")

    richtextbox.focus
    richtextbox.paste


    my code won't paste the clipboard details after it has finished the shell process.

  2. #2
    PowerPoster cicatrix's Avatar
    Join Date
    Dec 2009
    Location
    Moscow, Russia
    Posts
    3,654

    Re: auto paste

    Have you checked whether your 'ocr' leaves anything in the clipboard after exit?
    Try to paste manually something before calling richtextbox.paste to check.

Posting Permissions

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



Click Here to Expand Forum to Full Width