Jump to content

Axiom

Members
  • Posts

    7
  • Joined

  • Last visited

Axiom's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. The "close multiple" is no longer needed since I have decided on another approach. I think I may have described our way of working a bit unclear.. Until now we have just executed our au3 scripts by opening them in scite and F5. 95% of the scripts does tasks in our ERP and mainly masterdata and inventory adjustments, but also like the one today for creating transfers of all the equipment in a location to another. But I want in the future to make copys of all scripts as .exe and run them from a common gui like the one test in the screenshot, and in groups with buttons for instructions, inputfile, run, stop and logs. We do not have any sign on in the scripts but the user has to do sso in erp manually, so in that way no one can "do more" than their user profile allows. The whole idea is to make it more "ease of use" and we can have groups of script runners, developers and admins. Btw the erp is Axiom (Version of Wynnes Rentalman) and is an AS400 with a JavaScript roleplay on top. I also plan to create scripts for getting data from a live-excel or PowerBi and creating autoit inputfiles in .txt, and script for buying in JCat, and script for stocktaking and more.. ðŸĪŠ Thanks again for all help.. ..I have a week of work starting tomorrow and I will start mounting our new garage port and be riding my motorcycle too 🏍ðŸ’Ļ
  2. I understand, but we never run more than one script on one computer at the time.. other than the planned gui to start/stop other scripts in exe. Made two guis today and here is a screenshot(in Swedish)
  3. Do not remember why, but there where something that prevented us to use Adlibregister.. All of our scripts uses "Send" one or more times per second and I wonder if maybe the close idle application described here can do the trick?
  4. It is.exe files started by my.exe gui and they run until they are finished with their inputfiles.. so I want to be able to shut down the programs started from the gui if something goes wrong. Bare in mind that this should be run by users without autoit programs.
  5. Hi again! I decided to go for Koda for now, mostly for the ease of use and because I have a deadline to deliver an executable. I actually found out that I could use the gui to handle all of the scripts I use. Each script gets buttons for run, instruction and inputfile. And I add pop-up progressbar, filedialouge and logfiles to each sctipt The gui does not look exactly like win10 but I created icon, logotype and colored buttons.. so I am quite pleased.. And very grateful for your help. A question: can i have a script like: if ProcessExists("myscript1.exe") Then ProcessClose("myscript1exe" ..For closing a specific script? Could I also list several and close them?
  6. Thanks Phil! Just watched a couple of Tuts Teach's videos about this and I was surprised both that it is built into scite, but also how easy it was to use the Case functions.. 😀 Now I need to figure out how to have the three scripts inside the gui... or maybe I could paste them into the script and use "Global" instead of "include" so I can compile the whole thing into one .exe? Or is it possible to put more than one au3 file into one .exe? -Sorry if my questions are so basic, but that is mostly because we use already made scripts and mostly just copy/paste or change only minor things such as validations and keystrokes and movements.. So I have not started from the beginning which I suffer from now.. lol
  7. Hi! Thanks for a great forum which I have learned the little I know so far.. At my job we use Autoit to automate a lot of tasks in our ERP for mainly masterdata but also other tasks. We run all scripts inside scite(F5), and all scripts have validations, progressbar and a tab separated datafile.txt We use a standard main function file and various other function files for the different tasks that we include in the scripts that fetches those from shared folder with restricted access. For the first time I am creating an .exe the user can run on the computer which I have done and the file open dialog where the user choose the datafile work ok for me that have access to the function scripts, but the user has not. (user has access to and updates datafile.txt manually from live-excel copy/paste) Now that you know what I do, the next step is to create a simple gui that contains the script and the function scripts.. And maybe buttons for "run script" and "stop script" (effectivly just "home" in a button) Since I am a novice and have no experience creating gui I have looked into the examples and some graphical programs to create them, but can not find what I need.. Kodi, Guibuilder and others have come up in my search but I do not know what to do.. Can anyone of you experts point me in the right direction?
×
×
  • Create New...