edpatterson Posted November 13, 2015 Share Posted November 13, 2015 Scripts compile but will not run, recent happeningScripts I compiled more that a month ago work just fine. The exact same scripts compiled on the same machines now fail.I created an empty form with Koda, ran the form (F10), it opened in Scite, pressing F5 caused the form to run.I saved the script as testing123.au3, compiled it (F7), no errors, ran the newly created exe, hourglass. Wait, wait, wait, notta. Tasklist shows 3 Testing123.exe processes.Killtask /im testing123.exe /f /tKills all 3 processesTasklist shows the same 3 processes runningRepeating the taskkill command reports the processes do not existA reboot is needed to make the processes go awaySame tests performed on 2 different computersIdeas?The only way I can get the GUI to show is via the F5 key in Scite.Windows 10 - recent Windows updates.ScITE 3.4.4Aut2exe 3.3.12.0 Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 13, 2015 Moderators Share Posted November 13, 2015 edpatterson,Welcome to the AutoIt forums.Have you tried disabling your AV before trying to run the script?M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
RSchiaffino Posted November 16, 2015 Share Posted November 16, 2015 (edited) I can confirm the same sort of issue, but AFAIK it's not an AutoIt-only issue: it's happening for me in scripts compiled also with AutoHotkey and RapidBatch. The compiled scripts that no longer work all have in common the use of Windows GUI elements (e.g. InputBox or MsgBox). Other compiled scripts that do not use the GUI seem to work just fine.When I disabled my AV (Avast) the scripts worked again, so it's something that probably has to do with the AV... although I'm not sure exactly how: Avast has a "sandbox" mode that supposedly permits the execution of suspicious programs, but my compiled scripts didn't work in sandbox mode either. Also, when I scanned the compiled scripts' *exe files, Avast detected no threats. I've also checked with Windows (both W 7 and W 10), and the compiled scripts programs appear as Incompatible Applications", but trying to run them as a Windows XP program (for example) doesn't solve the problem.All these scripts, when launched from an interpreter (AutoIt, AutoHotkey or RapidBatch) all work just fine.I've been able to solve the issue, at least temporarily, by whitelisting in Avast the folder where I keep the compiled scripts. Edited November 16, 2015 by RSchiaffino Additional information (provisional solution) Link to comment Share on other sites More sharing options...
Skysnake Posted November 20, 2015 Share Posted November 20, 2015 If it means anything, I have had the same on Windows 10 and/or McAfee. Scripts just die with no apparent reason. No system feedback. Skysnake Why is the snake in the sky? 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