Announcement

Collapse
No announcement yet.

[Tutorial] - Starting using the basic of AMS

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

  • [Tutorial] - Starting using the basic of AMS

    I am going to take it as red that you have already downloaded the Trial version and installed it.

    Note:
    Get yourself a drink, get yourself comfortable and get your learning head on.

    OK this is the first step and might be simple to many people but sometimes its not so simple, for some people and this happens to me a lot that the AMS icon might not of installed on to the desktop, this happens to me when I am pushing the system too much when installing or running clean up software.

    So if you don't see the icon
    Click image for larger version

Name:	2012-08-30_20h29_55.png
Views:	1
Size:	24.1 KB
ID:	288237

    Go to your start menu and find Indigo Rose Corporation click that and then click
    AutoPlay Media Studio 8 you will find the icon for the software right there
    Click image for larger version

Name:	2012-08-30_20h29_21.png
Views:	1
Size:	21.6 KB
ID:	288238

    If you would like to add this to your desktop just right click and go to send to, and select Desktop

    Click image for larger version

Name:	2012-08-30_20h38_55.png
Views:	1
Size:	37.1 KB
ID:	288240

    Once you open the trial you will get a message telling you its a trail and how many days left of the trial you have


    Click image for larger version

Name:	2012-08-30_20h26_28.png
Views:	1
Size:	28.2 KB
ID:	288239


    As I am acting like this is the first time we have ever opened this we are going to create a new project.

    Click image for larger version

Name:	2012-08-30_20h43_22.png
Views:	1
Size:	44.3 KB
ID:	288241

    OK you are sill with me right? well I hope so have a sip of that drink and lets continue, right now you have clicked 'Create a New Project' we need to select the type of template we are going to use and the project name, like so shown in the next image.

    Part One Done:

  • #2
    Part Two:

    Click image for larger version

Name:	2012-08-30_20h48_01.png
Views:	1
Size:	125.5 KB
ID:	283787

    The image above should be what you are greeted with, from here we are going to select a blank project

    Click image for larger version

Name:	2012-08-30_20h48_12.png
Views:	1
Size:	121.9 KB
ID:	283786

    And after selecting the project we are going to give it a name.

    Click image for larger version

Name:	2012-08-30_20h49_26.png
Views:	1
Size:	1.8 KB
ID:	283788

    and then click OK.

    Click image for larger version

Name:	2012-08-30_20h49_44.png
Views:	1
Size:	564 Bytes
ID:	283789


    From here you should have AMS open up ready to go, in this Tutorial we are simple going to open up a dialog where we have set the title and the text of the dialog from a input box at this point you have just opened up the future.



    We are going to be using the script editor, take this time to give the help section of AMS a read, Give the Input, Dialog and the Welcome and the 10 Lessons a read then come back for Part Three.

    Click image for larger version

Name:	2012-08-30_21h00_15.png
Views:	1
Size:	19.2 KB
ID:	283790


    End of Part Two

    Comment


    • #3
      Part Three

      OK I hope you had a nice read, anyway lets keep going, now you are sat with AMS open in front of you lets add some Input Box's

      Click image for larger version

Name:	2012-08-30_21h07_04.png
Views:	1
Size:	609 Bytes
ID:	283791

      To be able to add this Input Box to your project you need to click the button below to
      add this in to your project, Do that now move it and then add another one, we will need two for this example.

      Click image for larger version

Name:	2012-08-30_21h04_43.png
Views:	1
Size:	25.2 KB
ID:	283792

      OK now you would have two Input Box's in your project, if so have another sip of that drink of yours .

      Right now we have the Input Box times two now we could do with a button, I like to use the xButton's so we will go with these in this example, so go ahead and select the xbutton from the bar and include that to your project also.

      Click image for larger version

Name:	2012-08-30_21h11_21.png
Views:	1
Size:	6.7 KB
ID:	283793

      OK now we should have all the basic items we need to get this party started, you can play around with the size of the button and the Input Box's make yourself feel at home with the software, as next we are now going to do a little bit of coding to make the dialog box show up with the title and message from the two Input Box's you just added, and if your asking what is the button for we, that is so we can trigger the Dialog Box to show, this is also where the code is going to be.

      So double click the xButton you just added and you should see a window open

      Click image for larger version

Name:	2012-08-30_21h15_09.png
Views:	1
Size:	139.3 KB
ID:	283794

      From this window we will input the code we will need to make the software know what we are wanting, so from here we will take another brake maybe close the software and reopen it and try get back to this stage without keep looking at the tutorial, always good idea to know the software your using.

      In the next Part we will be coding :yes

      End Of Part Three

      Comment


      • #4
        Part Four

        Click image for larger version

Name:	2012-08-30_21h23_57.png
Views:	1
Size:	16.0 KB
ID:	283795

        As you can see from this image there is a auto full function and to have this shown you start to Type in the function, EG Input. this then pops up that little box for you to select your function, in this example we need Input.GetText

        Click image for larger version

Name:	2012-08-30_21h28_10.png
Views:	1
Size:	11.8 KB
ID:	283796

        Once you have selected that double click the word and a action window will open.

        Click image for larger version

Name:	2012-08-30_21h31_50.png
Views:	1
Size:	28.7 KB
ID:	283797

        give the Return a value, for this example I used dTitle so the code will look something like so: dTitle = Input.GetText("Input1");



        Do the same thing again but in the Object Name Change it to "Input2" and the return to something like dMessage, like so: dMessage = Input.GetText("Input2");

        OK great we have the two input box's in to vrbs well done so far

        So lets do a simple if statement to check that the values are not blank,

        Click image for larger version

Name:	2012-08-30_21h40_02.png
Views:	1
Size:	15.3 KB
ID:	283798

        OK so we are checking if the two Inputs are blank with the does not equal option "~=" if they are blank then we show a message, for this example I am not really here to show you debugging so just copy this part below for that dialog box.

        Dialog.Message('Woops', 'Seems one of your Input Box\'s was blank');
        Note: if you are wanting to know why there is a \ in the code this is excaping the ' try taking out the \ and you will see it brakes the code.

        OK so we have the if statement to check if the Input Box's are not blank, but we don't have the Dialog Box so type:
        Dialog.Message(dTitle, dMessage);


        OK I know some of you might of just typed that on a new like so type this in between the if and else you can see in the image, so it looks like this image below.

        Click image for larger version

Name:	2012-08-30_21h50_13.png
Views:	1
Size:	16.0 KB
ID:	283799

        That's it for the coding side of this example, in Part five we will test it and also build a simple web exe just to show you how.

        End of Part Four

        Comment


        • #5
          Last Part


          OK if you have been following the posts above you should now be ready to run a test, once you have finished your code click OK and the script editor will close.

          Now to test the software you have two options you can press F5 on your Key Board or you can press the test build icon within AMS.

          Click image for larger version

Name:	2012-08-30_21h55_06.png
Views:	1
Size:	9.3 KB
ID:	283801

          You will see this message so don't panic it's meant to be there.
          just click OK
          Click image for larger version

Name:	2012-08-30_21h56_10.png
Views:	1
Size:	32.4 KB
ID:	283800



          When you program opens try and click the button you should get this message:

          Click image for larger version

Name:	2012-08-30_21h58_10.png
Views:	1
Size:	23.0 KB
ID:	283802

          Now try and add something in them box's and see them it been printed in to your dialog box.

          Click image for larger version

Name:	2012-08-30_22h07_32.png
Views:	1
Size:	11.1 KB
ID:	283803

          To build your app in to a Web/Single exe click the Build Icon or Press F7 on the Key Board

          Click image for larger version

Name:	2012-08-30_22h00_14.png
Views:	1
Size:	263.5 KB
ID:	283804

          Follow the Dialog Box's like it shows you in the image above, once you click build let it build and just click close, AMS then will open the Output file for you so you can use the app.


          Thank you for reading this simple example, here are some notes you really need to understand before you post in the forum for help, one try, try and then try once more, and before trying read the manual, read the forum, read the Lessons within the manual, coming to the forum and asking for help, do or give without these simple steps might have a few members been a little bit mean to you, two right as well as we don't have time to wast

          Enjoy AutoPlay Media Studios,
          Rex (Gremlin)

          Comment


          • #6

            Comment


            • #7
              Nice job Rex! An excellent effort :yes

              Cheers,
              MadDogDean

              Comment


              • #8
                Can I post this Tut to my blog ? I'll mark your copyright (author). thank

                Comment


                • #9
                  A good starters tutorial, I suggest IR sticky's this thread somewhere.
                  Bas Groothedde
                  Imagine Programming :: Blog

                  AMS8 Plugins
                  IMXLH Compiler

                  Comment


                  • #10
                    Originally posted by RaMb View Post
                    Can I post this Tut to my blog ? I'll mark your copyright (author). thank
                    link me ur blog when u do but sure blog it if you want, and thanks Maddogdean, and IP means alot to hear you guys liked it, will defo make another one, next time now I know about the post limits I can split it better as I was making that tutorial same time as posting it.

                    Comment


                    • #11
                      looking good :yes
                      thanks for your time and effort

                      BTW : which application you used for screenshots ?
                      amsplugins.com Is Closed.

                      Facebook Page

                      Comment


                      • #12
                        Nicely done, Rex!!!

                        Comment


                        • #13
                          Screenpresso, I like it its simple but does everything I need, and thanks guy's anyone got a idea for another simple tutorial, I am happy to give anything a bash I will have to mostly download another Trial is IR is OK with it lol cos I am out soon :P tehe.

                          Comment

                          Working...
                          X
                          😀
                          🥰
                          🤢
                          😎
                          😡
                          👍
                          👎