NeverDUN Posted April 28, 2014 Share Posted April 28, 2014 As the title says.. Every time i try to compile ANY script after installing/updating scite4Autoit3.. Error Unable to add resources: C:UsersuserAppDataLocalAutoIt v3Aut2Exe Correct me if i'm wrong but do i have to exclude that path somehow? expandcollapse popup#Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Icon=----.ico #AutoIt3Wrapper_Run_Tidy=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #include <GUIConstantsEx.au3> HotKeySet("{ESC}", "Terminate") Program() Func Program() Local $widthCell ; Create a GUI with various controls. Local $hGUI = GUICreate("Open v1.06", 300, 200) $widthCell = 200 GUICtrlCreateLabel("Instructions:", 0, -1) GUICtrlCreateLabel("1: ----- , ", 10, 30, $widthCell) GUICtrlCreateLabel("2: -----", 10, 60) GUICtrlCreateLabel("3: -----", 10, 90) GUICtrlCreateLabel("4: -----", 10, 120) ; Create a button control. Local $iNotepad = GUICtrlCreateButton("Run Notepad", 10, 170, 85, 25) Local $iOpen = GUICtrlCreateButton("Open", 110, 170, 85, 25) Local $iClose = GUICtrlCreateButton("Close", 210, 170, 85, 25) ; Display the GUI. GUISetState(@SW_SHOW, $hGUI) Local $iPID = 0 ; Loop until the user exits. While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE, $iClose ExitLoop Case $iNotepad ; Run Notepad. $iPID = Run("notepad.exe", "") Case $iOpen ; Open maximized. $iPID = Run("file.exe", "", @SW_SHOWMAXIMIZED) EndSwitch WEnd ; Delete the previous GUI and all controls. GUIDelete($hGUI) ; Close the Notepad process using the PID returned by Run. If $iPID Then ProcessClose($iPID) EndFunc ;==>Program Func Terminate() Exit 0 EndFunc ;==>Terminate Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 28, 2014 Moderators Share Posted April 28, 2014 What OS, AutoIt version, SciTE version and bitness are you using, and is the whole of your code? Your posted script works just fine for me when compiling. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Developers Jos Posted April 28, 2014 Developers Share Posted April 28, 2014 Set your AV to exclude the shown directory as that is used by Aut2Exe (and AutoIt3Wrapper) as tempfile for processing. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
NeverDUN Posted April 28, 2014 Author Share Posted April 28, 2014 Set your AV to exclude the shown directory as that is used by Aut2Exe (and AutoIt3Wrapper) as tempfile for processing. Jos AV = AntiVirus ? If so i actually dont have one on here. Link to comment Share on other sites More sharing options...
Developers Solution Jos Posted April 28, 2014 Developers Solution Share Posted April 28, 2014 (edited) AV = AntiVirus ? If so i actually dont have one on here. Correct, AV stands for Anti Virus, and there is likely some program locking the file when aut2exe tries to update it. Maybe some automatic backup program? Edited April 28, 2014 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
NeverDUN Posted April 29, 2014 Author Share Posted April 29, 2014 Correct, AV stands for Anti Virus, and there is likely some program locking the file when aut2exe tries to update it. Maybe some automatic backup program? You my good sir, are a smart man. Gracias. Problem Solved. 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