Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Notepad replacement needed

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

    Notepad replacement needed

    I am revising a script ends with the following lines:

    sys_shell("c:\winnt\notepad.exe")
    sys_send_keys("{CTRL-V}")
    sys_send_keys("{CTRL-HOME}")

    obviously pasting some text into a new notpad text file and them moving the cursor to the top of the pasted text.

    Works just fine. However, there is no way to set notepad to "stay on top" (stay visible) while working in A5, which is what I need it to do.

    Does anyone know of a FREE notepad relacement that both stays on top (or can be set to) and will process the Ctrl-V and Ctrl-Home lines in my script after it is opened, the way notepad does? FYI, I use NoteTab Light, which is a great free program, but it does not process the sys_send_key lines the way notepad does.

    Rather than downloading and trying all kinds of possibilities, I am hoping someone can point me in a good direction. I want a small, fast laoding program that does not use much memory.

    Ray


    #2
    RE: Notepad replacement needed

    Ray,

    maybe the

    sys_focus_put()

    function will help you

    -- tom

    Comment


      #3
      RE: Notepad replacement needed

      You could try this: It's a 460KB (to Notepad's 60K) but could probably be trimmed down even further, if necessary. It's from a Delphi site.

      There are about a zillion of these notepad knockoffs for Delphi, because they're really easy to make and add that one special item you want.

      I didn't try your script, but there's no reason it shouldn't work.

      Comment


        #4
        RE: Notepad replacement needed

        Oh, I should add:

        I downloaded the SOURCE and recompiled it on my machine.

        So, it's virus-free. I didn't just copy an exe from off the 'net. :-)

        Comment


          #5
          RE: Notepad replacement needed

          Ray,

          Or just use a modeless XDialog box within A5 with either an RTF or standard text box. Seems like it's alot easier.

          Regards,

          Ira
          Regards,

          Ira J. Perlow
          Computer Systems Design


          CSDA A5 Products
          New - Free CSDA DiagInfo - v1.39, 30 Apr 2013
          CSDA Barcode Functions

          CSDA Code Utility
          CSDA Screen Capture


          Comment


            #6
            RE: Notepad replacement needed

            Does not seem to, but perhaps I don't know where to put it or use it.

            Ray

            Comment


              #7
              RE: Notepad replacement needed

              Great. Works just as I need it to. I hope it is genuine freeware though. Notetab light is freeware and it is a much more feature packed program (which may be why it does not behave as I need it to).

              Thanks

              Ray

              Comment


                #8
                RE: Notepad replacement needed

                Actually, I'd kind of like to use something from within A5. But don't modeless boxes stay on top and not let one work on anything else until they are closed? I need something to stay on top while I work in an A5 layout.

                Ray

                Comment


                  #9
                  RE: Notepad replacement needed

                  Ray,

                  Modeless dialog boxes stay on top (as a default anyway) but focus can be in any window. That's why they are called modeless.

                  Modal dialog boxes can not lose focus until you close them

                  Regards,

                  Ira
                  Regards,

                  Ira J. Perlow
                  Computer Systems Design


                  CSDA A5 Products
                  New - Free CSDA DiagInfo - v1.39, 30 Apr 2013
                  CSDA Barcode Functions

                  CSDA Code Utility
                  CSDA Screen Capture


                  Comment


                    #10
                    RE: Notepad replacement needed

                    Yep, it's free.

                    It's from planet-source-code.com, "Free source code for the taking. Over five million lines of programs."

                    There are much "heartier" versions as well. I picked a minimal one to upload here, but there's a wide range available that save and read different formats, some just shy of full wod processors, that have syntax highlighting, "skins", etc.

                    In my top 5 things I miss about Delphi (vs. A5) is the vast amount of free and cheap source code to do just about anything.

                    Comment


                      #11
                      RE: Notepad replacement needed

                      Are you talking about a custom built xdialog box? The multi-line text box built using the action scripting genie does not work the way you describe (it's on top but you can't leave it). Neither does a modeless dialog from, so I am confused. Or maybe you are talking about an xBasic commnad to put the focus elsewhere?

                      Ray

                      Comment


                        #12
                        RE: Notepad replacement needed

                        try something like
                        ui_modeless_dlg_box("Ray's notepad", ;
                        %dlg%,

                        Comment


                          #13
                          RE: Notepad replacement needed

                          Ray, here's a example of what I had in mind.
                          Using Win98SE this leaves Notepad with focus for the
                          the user.

                          -- tom


                          :clipboard.set_data("Hello, from Alpha Five")

                          sys_shell("c:\windows\notepad.exe")
                          sys_send_keys("{CTRL-V}")
                          sys_send_keys("{CTRL-HOME}")

                          sys_focus_put("Untitled - Notepad")

                          Comment


                            #14
                            RE: Notepad replacement needed

                            Very good. The bare bones version serves my purpose quite well and it is better than using an external program.

                            Maybe by tomorrow morning (if I can work it in)I will post what I am up to and let people improve upon it and use it.

                            Thanks, as always.

                            Ray

                            Comment


                              #15
                              RE: Notepad replacement needed

                              Ray, sounds like you found your solution.

                              Thought you might like to try this notepad replacement anyway. It has a stay on top option and a transparent option. Another thing I like is you can set a couple different fonts - say one for printing and one for reading. Anyway here is the link.
                              http://www.liquidninja.com/metapad/


                              Happy coding,

                              Ryan Ware

                              Comment

                              Working...
                              X