Announcement

Collapse

New Sub-Forum

In an effort to help make sure there are appropriate categories for topics of discussion that are happening, there is now a sub-forum for databases and database programming under Special Interest groups. Please direct questions, etc., about this topic to that sub-forum moving forward. Thank you.
See more
See less

How to download source code?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to download source code?

    Maybe I missed something, but what is the easiest way to download source code from a message? In the old forums one could switch to edit mode in order to easily copy and paste the contents to PBEdit (or whatever text editor). But in the new forums there is no edit mode available, except for your own messages.

    Egbert Zijlema, journalist and programmer (zijlema at basicguru dot eu)
    http://zijlema.basicguru.eu
    *** Opinions expressed here are not necessarily untrue ***

  • #2
    While depressing the <Ctrl> key, left click in the left/right margin outside the "code" box. The code will appear selected and you can copy/paste it.
    Regards,
    Bob

    Comment


    • #3
      Robert's approach must be an Internet Exploder trick. In Firefox it doesn't work with their latest update release. However, I've found clicking on the Post's Quote-Button generates a window that easily responds to Ctrl-A for all, and then Ctrl-C for copy. Not much different than how the old Edit-button option worked.

      With the post in the buffer, Ctrl-V pushes it easily into JellyFish where text external to the CODE tags is easily removed or commented out.

      There are also some plug-in components for FireFox to make it act like Internet Exploder that will probably make Robert's suggestion work, but browser Plug-ins aren't something I enjoy so I've avoided most of them.
      Roger...

      Comment


      • #4
        Robert,
        Thank you very much!
        How long is an idea? Write it down.

        Comment


        • #5
          Originally posted by Roger Rines View Post
          Robert's approach must be an Internet Exploder trick.
          True.

          Originally posted by Mike Doty View Post
          Robert,
          Thank you very much!
          You're welcome.
          Regards,
          Bob

          Comment


          • #6
            With FireFox you can use the same technique used with many text editors.

            1.- Left click in the first character to copy.
            2.- Shift + Left click in the last character to copy.

            After (1), you can go quickly to the end of the text with Ctrl + End and then press Shift + Left click.
            Forum: http://www.jose.it-berater.org/smfforum/index.php

            Comment


            • #7
              Here is a shot at a clipboard listener: http://www.powerbasic.com/support/pb...d.php?p=271203

              While running, press Ctrl+A, and Ctrl+C, and the program takes care of the rest for you.
              Adam Drake
              Drake Software

              Comment


              • #8
                Muchas Gracias José

                Thanks very much, José.
                This is of course the ultimate "trick", simply because it is default Windows behaviour. Completely forgot that, stupid me! :doh:

                Egbert Zijlema, journalist and programmer (zijlema at basicguru dot eu)
                http://zijlema.basicguru.eu
                *** Opinions expressed here are not necessarily untrue ***

                Comment


                • #9
                  Solution for Opera users:

                  1. Left click on source code box
                  2. Hold SHIFT and press LEFT key
                  code will be selected and ready for copy/paste

                  Comment


                  • #10
                    Mr. Drake's 'listener' utility is really nicely thought-out and quite handy for copying source code from forum posts.

                    Strong "buy" recommendation here.


                    MCM
                    Michael Mattias
                    Tal Systems Inc. (retired)
                    Racine WI USA
                    [email protected]
                    http://www.talsystems.com

                    Comment


                    • #11
                      Which PB compiler(s) is Mr. Drake's Clipboard Listener code written for?
                      Jonathan Berry
                      [email protected]

                      Comment


                      • #12
                        I don't have PBWIN 7 anymore, but I believe it should compile fine in 7 or 8...
                        Adam Drake
                        Drake Software

                        Comment

                        Working...
                        X