共用方式為


Using AutoIT to automate UAG

A common question comes up from people who need to create a complex configuration in UAG, and are looking for a better way to do it instead of manually entering it. For example, creating multiple applications on the UAG portal, rather than going through the application wizard multiple times.

Unfortunately, editing the UAG configuration directly by editing UAG’s EGF file is not supported. However, this can be done rather easily using various GUI automation tools. There are plenty of these, with some being simpler than others. The one I like the most is AutoIT, which allows you to create a keyboard and mouse automation script very easily. It’s also free!

To use AutoIT, you need to first download the script engine and install it on your UAG server. Download it from https://www.autoitscript.com/site/autoit/downloads/

AutoIT’s script files are text files with the extension AU3. To use it, simple create such a file, and use the various mouse and keyboard commands. For example, the set below is a partial automation for adding a TSPub application to UAG:

Mouseclick (“”,700,400) Mouseclick (“”,600,620) Mouseclick (“”,345,422) Mouseclick (“”,600,620) Send(“Access”) Mouseclick (“”,600,620) Mouseclick (“”,600,620) Mouseclick (“”,345,260) Send(“c:\temp\apps.tspub”) Mouseclick (“”,600,620)

The geometrics of the screen vary by server, and application, of course, so you’ll have to come up with your coordinates to do these things. One easy way to figure out cursor location is by using a graphic application like PAINT.NET. Take a screenshot, and paste into the app, and then move the mouse to where you want. The program will show the coordinates at the bottom-left of the screen. You can also use https://www.freewarefiles.com/Megacows-Mouse-Coordinates-V_program_207.html , which shows this at the bottom of the screen.

Comments

  • Anonymous
    November 23, 2015
    Thanks for the great info. I really loved this. I would like to apprentice at the same time as you amend your web site, how could i subscribe for a blog site?
    For more info on showbox please refer below sites:
    http://showboxandroids.com/showbox-apk/
    http://showboxappandroid.com/
    Latest version of Showbox App download for all android smart phones and tablets. http://movieboxappdownloads.com/ - It’s just 2 MB file you can easily get it on your android device without much trouble. Showbox app was well designed application for android to watch movies and TV shows, Cartoons and many more such things on your smartphone.
    For showbox on iOS (iPhone/iPad), please read below articles:
    http://showboxappk.com/showbox-for-ipad-download/
    http://showboxappk.com/showbox-for-iphone/
    Showbox for PC articles:
    http://showboxandroids.com/showbox-for-pc/
    http://showboxappandroid.com/showbox-for-pc-download/
    http://showboxforpcs.com/
    There are countless for PC clients as it is essentially easy to understand, simple to introduce, gives continuous administration, effectively reasonable. it is accessible at completely free of expense i.e., there will be no establishment charges and after establishment it doesn't charge cash for watching films and recordings. Not simply watching, it likewise offers alternative to download recordings and motion pictures. The accompanying are the strides that are to be taken after to introduce Showbox application on Android. The above all else thing to be done is, go to the Security Settings on your Android telephone, Scroll down and tap on 'Obscure sources'.