HurleyShanabarger Posted February 4, 2020 Share Posted February 4, 2020 Hello, I am using AutoIt to write small program for my daily doings and also to provide some GUI for others. Recently I notied that some of the programs are starting with a delay - this might be due to the anti virus software on my business computer (Windows 10 / McAffee). I built a small "trap", a script with just a message box and once i used launched it I wait for the process to exists and the message box. The delay is about 23 seconds which is not really acceptable. Does anybody have a clue how to detect by what this is caused (it would be helpful, as I have to argue with our IT about that). Thanks Link to comment Share on other sites More sharing options...
Danp2 Posted February 4, 2020 Share Posted February 4, 2020 One option is to work with IT to try to determine if your AV is the source of the delay. They could temporarily provide access to a folder that isn't checked by AV. Place your executable there and then test to see if the delay is gone. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
seadoggie01 Posted February 4, 2020 Share Posted February 4, 2020 (edited) This sounds right... I have Avast installed at home and when I launch a program it will start in a sandboxed environment before actually running the program. McAffee could be doing something similar to ensure the program doesn't touch anything it shouldn't. You could try compiling the program to an a3x and running it with the AutoIt executable. I've had great results with this personally. Sometimes compiling to 32 bit instead of 64 bit will let your program to get by. Edited February 4, 2020 by seadoggie01 All my code provided is Public Domain... but it may not work. Use it, change it, break it, whatever you want. Spoiler My Humble Contributions:Personal Function Documentation - A personal HelpFile for your functionsAcro.au3 UDF - Automating Acrobat ProToDo Finder - Find #ToDo: lines in your scriptsUI-SimpleWrappers UDF - Use UI Automation more Simply-erKeePass UDF - Automate KeePass, a password managerInputBoxes - Simple Input boxes for various variable types Link to comment Share on other sites More sharing options...
Exit Posted February 4, 2020 Share Posted February 4, 2020 (edited) Or use the Au3toCmd app in my signature. Edited February 5, 2020 by Exit adjusted link. Thanks @danp2 App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
Danp2 Posted February 5, 2020 Share Posted February 5, 2020 @Exit You link needs adjusting. 🧐 Exit and seadoggie01 1 1 Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Exit Posted February 5, 2020 Share Posted February 5, 2020 (edited) 4 hours ago, Danp2 said: @Exit You link needs adjusting. 🧐 @Danp2 thanks. Link adjusted. @HurleyShanabarger Does Au3toCmd has the desired effect? Edited February 5, 2020 by Exit App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now