Liberty BASIC Community Forum
« Missing Keyboard key »

Welcome Guest. Please Login or Register.
Jan 20th, 2018, 11:02am

Rules|Home|Help|Search|Recent Posts|Notification

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Missing Keyboard key  (Read 591 times)
Team Liberty BASIC

member is offline


Homepage PM

Gender: Male
Posts: 886
xx Missing Keyboard key
« Thread started on: Jan 11th, 2015, 04:57am »

This simple trick I expect has been created elsewhere. I have been given a few very old laptops for free via the local Freeecycle Group. All are still good enough for simple jobs such as for beginners. One has the 7 key missing, so I concocted this simple program just to COPY the 7 and & characters into the clipboard ready for PASTE into any text. It displays just long enough to reassure the user the characters are ready to paste.

To test it just use Paste in your LB program.


' Missing Key 
    WindowWidth = 60 : WindowHeight = 100
    open "  " for text_nsb as #t
    #t "!trapclose [quit]" : #t "!font fixedsys"
    #t "   7 &"  ' Enter chrs needed
    #t "!selectall"; : #t "!copy";

    'To Confirm now in clipboard
    timer 800, [go] :wait
[go] timer 0

    close #t : end

User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Rules|Home|Help|Search|Recent Posts|Notification

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls