Announcement

Collapse
No announcement yet.

Faster and Easier Automation Script Build?

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

  • Faster and Easier Automation Script Build?

    Hi All,

    One of the things I wanted to work on for this next release was to make building automation scripts easier. I haven't really received any feedback apart from Robbie so that made this even more difficult.

    So this is what I came up with since I am shooting in the dark here. This will be replacing the Script Builder actions.




    I appreciate all feedback, thanks!



    New Updated Version

    I think this will make building automation scripts a lot faster compared to the original version.





    Thomas

  • #2
    Brilliant idea ��I love the fact you have the variables section
    it's easier to rename them to the ones were selected.
    It's a lot easier to use and the workflow the
    he way you have it set upand it's looking really good. I can't wait to get my grubby hands on it haha
    I am on mobile phone so sorry 4 text errors... so we'll be able to share these scripts, just uploading them to scripts thread for others and share/import them in I assume
    great... thanks ��
    Last edited by schmutly; 09-11-2019, 06:11 PM.

    Comment


    • #3
      Originally posted by schmutly View Post
      Brilliant idea ��I love the fact you have the variables section
      it's easier to rename them to the ones were selected.
      It's a lot easier to use and the workflow the
      he way you have it set upand it's looking really good. I can't wait to get my grubby hands on it haha
      I am on mobile phone so sorry 4 text errors... so we'll be able to share these scripts, just uploading them to scripts thread for others and share/import them in I assume
      great... thanks ��
      Thanks mate. I can't think of anything better to make building these scripts easier.

      As of right now the library is only local, but something you can access from any project. I could look at setting up a online database so people can share and exchange snippets. Not everyone will want to share so I would need to build the option of sharing. Shouldn't be too difficult.


      Thomas

      Comment


      • #4
        Speaking of variables. I finally figured out how to update the script when you change a variable name. What a pain.

        Before when you changed the name of a variable you had to go into each action that used the variable and re-add it with the new name.

        Now you change the name and it automatically updates each action with the new name.

        I've been wanting this for a LONGGGGG time.


        Thomas

        Comment


        • #5
          Originally posted by TigerSoftware View Post
          Speaking of variables. I finally figured out how to update the script when you change a variable name. What a pain.

          Before when you changed the name of a variable you had to go into each action that used the variable and re-add it with the new name.

          Now you change the name and it automatically updates each action with the new name.

          I've been wanting this for a LONGGGGG time.
          Thomas
          Sorry, just got back from work..WOW...yessss
          Ive been wanting that too...it was a pain...mostly because i wasn't giving them good..long..identifiable names OR i was
          making them to 'close' in the naming that I'd confuse myself...and label the wrong variable with a similar name and always
          get the dreaded exclamation mark haha.
          Or id have to go back to the working page with objects to check what i gave them etc.
          This way we wont need to open really LONG scripts to "find" all the names of variables in sections of scripts that have been put together
          from a few other scripts.
          Probably confused you but i know what i mean...But that's good. Cant wait to try it out

          Comment


          • #6
            I like the change, Thomas. Much more simplified and useful, imo.

            Also, that's great variable name changes will auto-update across all areas of the script now.

            Mel

            Comment


            • #7
              Yeah, the variable fix was a happy moment for me. I wanted this since I noticed the painful behavior. A long time ago. Microsoft developed the workflow designer but it was pretty basic. Stuff like changing the variable name and updating all the actions should have been implemented by them. You would be shocked at all the customization's I have done in order to make this work easier.

              The only issue I have come across is having the same variable names used within one script. I go through and update everywhere the variable name was used. So if you have two variables with the same name then you will end up with a problem. Please make sure all of your variables have unique names otherwise you will have some no so nice surprises.


              Thomas

              Comment


              • #8
                Originally posted by TigerSoftware View Post
                Hi All,

                One of the things I wanted to work on for this next release was to make building automation scripts easier. I haven't really received any feedback apart from Robbie so that made this even more difficult.

                So this is what I came up with since I am shooting in the dark here. This will be replacing the Script Builder actions.





                I appreciate all feedback, thanks!



                Thomas
                I like it because it will help me to learn more about working with scripts and make automation easier for us novices. Great idea Thomas.

                Comment


                • #9
                  Could you do some on scraping??

                  Comment


                  • #10
                    I haven't worked with automation yet, so it looks good to me. I'll have to review the documentation to get a handle on Variables once I get there.

                    Mike M.

                    Comment


                    • #11
                      Originally posted by RolandK View Post
                      Could you do some on scraping??

                      Thanks Roland! I do think once you get the feel for this you will end up not using this and building your own scripts by dragging and dropping. Or you use these pre-built snippets and add your own actions. Robbie mentioned he stopped using the Builder wizards which was my first attempt at making this easier/faster.

                      These snippets are common scripts that people use. Stuff like running reports, uploading files, sending emails... I don't know what type of scraping would be common since everyone uses different websites.

                      Since we will now be able to load/save scripts and import/export snippets, I can put together some scraping projects and just give you or whomever a download link to those projects. You can then open up a new project and Load the script. It is basically what I am doing with this new Script Builder feature.

                      FYI, if any website has an api I would recommend using their api over web scraping.


                      Thomas

                      Comment


                      • #12
                        Originally posted by MikeM View Post
                        I haven't worked with automation yet, so it looks good to me. I'll have to review the documentation to get a handle on Variables once I get there.

                        Mike M.
                        Mike, that is one area I have been wracking the old brain in how I can teach better. Variables is a programming term which most people wouldn't understand, but something that needs to be learned to understand how a script runs.

                        The best way that I can think to describe it would be temporary storage for a value. That value may be an email address or a directory path or a database record. It holds that value so other parts of the script can access it and change it.

                        So a Ftp script example, we would need a local file to upload to a website. We need a path to that file. We put that path into a variable and now our script can access that file path value when it is time for the script to upload the file. It takes the file path value, from that variable, and performs the upload.

                        Anyway, I'm glad you, Roland, Mel and Robbie bring this type of stuff up so I know what I need to work on when it comes to training. I'll take more of this feedback all day and a little on Saturday.


                        Thomas

                        Comment


                        • #13
                          Mike,
                          (& anyone else)..I uploaded my email/web project a while ago...where the script used alot of variables and database records.
                          It had a saved zip program which ran, unzipped the html templates,uploaded them to your server,then you select a client in
                          an email list in software.
                          You select from one of those templates and it emails to that 'list' of selected customers in the email. etc..
                          It has lots of variables and fairly involved and would help hugely.

                          I mentioned it because what i will do is make a video of MY thought process on how i built it and how i laid out what variables
                          to use, when,how to logically put them in and how it all comes together...i think as Thomas said, is once you "see" how it comes
                          together it really will click.
                          But....it wont happen with just one script. Sooooooo....i might make a series of videos, scripts, example projects.
                          Maybe there's money for ME in offering the scripts in future time where someone may ask for a script to be made??

                          But...for now i think i will help with the ones ive done and REDO them with included videos and a build process on "how".
                          The how isn't too hard, variables are easy...the learning part comes in thinking the process through
                          (for me on paper as i don't have any mind-map stuff..so ill do it in paper..just as easy lol) and after all these are done will give some
                          simple examples.

                          The only HOLDUP: My plugin. I will spent this weekend really HARD in putting Stripe API stuff into the plugin because PAYPAL is peeing
                          me off LOL. Its working great....but they could change that at anytime...and support for the Stripe looks very good.

                          But....i will do my email project video and break that down as it has a lot in there and i think it will help for now.
                          Late for work....bye haha
                          Robbie

                          Comment


                          • #14
                            When you build scripts and start testing them you will see the variables being set to values and how the script may change the values. The Output will show you the variable name and the value. A great way to see how a script runs.


                            Thomas

                            Comment


                            • #15
                              Mike, that is one area I have been wracking the old brain in how I can teach better. Variables is a programming term which most people wouldn't understand, but something that needs to be learned to understand how a script runs.
                              I did some learning in Visual Basic MANY years ago, so I sort of know what a variable is. BUT I have forgotten everything, and now as I get older, I can't think right
                              I'll do some studying on it. So a variable is just a name, and when the program asks for it, the end user inputs their data into it? EG: the variable for an smtp server, maybe I call it smtp_var, and when the script calls it, the customer puts in their smtp details?

                              The only HOLDUP: My plugin. I will spent this weekend really HARD in putting Stripe API stuff into the plugin because PAYPAL is peeing
                              me off LOL. Its working great....but they could change that at anytime...and support for the Stripe looks very good.
                              Schmutly, Stripe works for me. If I ever get around to selling anything, I will be using WooCommerce and Stripe. Only because I use Cartflows to create a sales funnel. Or will be if I ever get time to go live on anything. LOL.

                              I just got too much going on right now to spend a bunch of time on this. In about a month, I'll start on it in earnest. And this time I mean it

                              Mike M

                              Comment

                              Working...
                              X