Announcement

Collapse
No announcement yet.

Sample: IR Project CodeViewer

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

  • Sample: IR Project CodeViewer

    Here is a sample project that I put together during the Beta of AMS6. This project allows you to view the contents of a IndigoRose Project file. The contents are viewed in an input object where those code can be modified copy and pasted or exported to a text file or BBS code for pasting on these forums.

    This project demonstrates some new features of AMS including
    • Reading and parsing an XML file
    • Using the Menu Bar
    • misc actions of AMS6


    I have attached a project file for those who own AMS6 and an Exe of the program for those who do not own AMS6 but want to use the program for other IR products.

    A couple limitations are the Input object will only allow editing of text if there is less than 300000 characters. The Show Empty Actions and Show Line Numbers always refresh from the source file selected. The project does not allow writing back into the project files.

    IR CodeViewer.exe

    Tigg
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

  • #2
    Here is an update version of the project. I have added a few little things here and there, mostly global variables like _CommandLineArgs and g_OnUpdateMenuEnabled. You can now use the program with a right-click OpenWith action and have it open the file you selected.
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

    Comment


    • #3
      I have added support for .apz and .apt file formats.
      Last edited by TJ_Tigger; 01-20-2006, 12:44 PM.
      TJ-Tigger
      "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
      "Draco dormiens nunquam titillandus."
      Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

      Comment


      • #4
        Thanks Tigg
        :yes

        Yossi

        Comment


        • #5
          Thanks Tigger... :yes

          Comment


          • #6
            Bippity boppity boo.

            Comment


            • #7
              Here is an update to the project file. I have added the following:

              - Ability to Ctrl+F to search and F3 to search next
              - Ability to turn highlighted code into a scriplet.

              I have rebuilt the exe in the first post as well for those who don't have AMS to build it themselves.

              Thanks to Worm for one of his dlls to allow the input window to scroll to the line where text was highlighted.

              Tigg
              Last edited by TJ_Tigger; 01-20-2006, 03:29 PM.
              TJ-Tigger
              "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
              "Draco dormiens nunquam titillandus."
              Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

              Comment


              • #8
                Wow tigg, this is awesome. So incredibly helpful when looking at projects posted on the forums. luvin the splash screen too!

                Comment


                • #9
                  Thanks. I find myself using it a lot when I download something from the forums in .apz format I then open it in the IRPCV to have a quick look at the code.

                  Glad you like it. The splash was added by request when AMS6 was in Beta.

                  Tigg
                  TJ-Tigger
                  "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
                  "Draco dormiens nunquam titillandus."
                  Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

                  Comment


                  • #10
                    Yeah, this is great as usual.
                    However, what do I use to browse at THIS .apz? :lol

                    Comment


                    • #11
                      Originally posted by Roboblue
                      Yeah, this is great as usual.
                      However, what do I use to browse at THIS .apz? :lol
                      Use your old copy of IRPCV to see it.

                      Or open in AMS and view the old way.
                      TJ-Tigger
                      "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
                      "Draco dormiens nunquam titillandus."
                      Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

                      Comment


                      • #12
                        Ok so I had a couple of bugs that are now fixed. I didn't do alot of testing before I threw the thing on the forums, I will make sure I test more before I publish.

                        - FIXED: If you cancelled in the CTRL+F action it would search for the word "CANCEL" rather than cancelling.
                        - FIXED: If you ran as a built exe the application was not prepared to catch the SFXSOURCE item that is passed to the exe upon runtime. It will now catch and ignore that option as appropriate.

                        I reupped the exe in the first post and here is the project file.

                        Tigg
                        Last edited by TJ_Tigger; 06-15-2006, 01:33 PM.
                        TJ-Tigger
                        "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
                        "Draco dormiens nunquam titillandus."
                        Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

                        Comment


                        • #13
                          I have not used this lately but this really does come in handy at times and updating it for free... thanks!

                          :yes
                          Intrigued

                          Comment


                          • #14
                            I have updated the application. Below is the .apz project and I uploaded the built exe in the link above too.

                            What Changed?
                            - Added Project Info details.

                            Tigg
                            Last edited by TJ_Tigger; 06-21-2006, 11:31 AM.
                            TJ-Tigger
                            "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
                            "Draco dormiens nunquam titillandus."
                            Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

                            Comment


                            • #15
                              That's an awesome application Tigg :yes :yes
                              Regards,

                              -Ron

                              Music | Video | Pictures

                              Comment

                              Working...
                              X