Seminko Posted January 12, 2017 Share Posted January 12, 2017 (edited) Hey @DaleHohm, @big_daddy, @jpm I don't seem to be able to compile a script with IE.au3 included. Here's what the console says: >Running Au3Stripper (16.612.1119.0) from:C:\Program Files (x86)\AutoIt3\SciTE\Au3Stripper cmdline: -### StripOnly/StripFunc Error: Found ObjEvent() statement using unsolvable Func, which will/could lead to removal of Funcs that are used by this Function. >### current Func: __ieinternalerrorhandlerderegister c:\program files (x86)\autoit3\include\ie.au3(2571,1): Warning for line:$__g_oIEErrorHandler = ObjEvent("AutoIt.Error", $__g_sIEUserErrorHandler) -############################################################################################# -#### Au3Stripper Found 1 Error(s)!!!! This means your script could have problems running properly. #### -############################################################################################# - 6.38 Iteration 1 Strip Functions result: Output 8977 lines, stripped 15631 Func lines and 15111 Commentlines - 19.53 Iteration 2 Strip Variables result: Output 2511 lines and stripped 6466 lines - 20.22 Iteration 3 Strip Variables result: Output 2252 lines and stripped 259 lines - 20.78 Iteration 4 Strip Variables result: Output 2237 lines and stripped 15 lines - 21.34 Iteration 5 Strip Variables result: Output 2236 lines and stripped 1 lines +> Source 40378 lines 1797919 Characters. +> Stripped 22372 Func/Var lines and 15111 comment lines, Total 1706638 Characters. +> Saved 92% lines 94% Characters. +> 0 Au3Stripper v16.612.1119.0 finished created:***.au3 +>18:36:39 Au3Stripper ended.rc:0 >Running AU3Check (3.3.14.2) from:C:\Program Files (x86)\AutoIt3 input:***.au3 "***.au3"(1028,56) : warning: $__gaIEAU3VersionInfo: possibly used before declaration. Local $sStr = "--> IE.au3 " & $__gaIEAU3VersionInfo[5] & ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ "***.au3"(1028,56) : error: $__gaIEAU3VersionInfo: undeclared global variable. Local $sStr = "--> IE.au3 " & $__gaIEAU3VersionInfo[5] & ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ***.au3 - 1 error(s), 1 warning(s) Any ideas? Thanks Edited January 12, 2017 by Seminko Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted January 12, 2017 Moderators Share Posted January 12, 2017 Can you please post your actual script, so we aren't guessing at what you're trying to do? "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...
Seminko Posted January 12, 2017 Author Share Posted January 12, 2017 If I understand the console log correctly the errors have nothing to do with my script. These relate to IE.au3 only. "***.au3"(1028,56) : warning: $__gaIEAU3VersionInfo: possibly used before declaration. Local $sStr = "--> IE.au3 " & $__gaIEAU3VersionInfo[5] & ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ "***.au3"(1028,56) : error: $__gaIEAU3VersionInfo: undeclared global variable. Local $sStr = "--> IE.au3 " & $__gaIEAU3VersionInfo[5] & ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted January 12, 2017 Moderators Share Posted January 12, 2017 What version of AutoIt (and hence, IE.au3) are you using? Literally thousands of users use IE functions every day (myself included) with no errors. If the issue had nothing to do with your script, common sense would dictate others would be seeing it too. Whether the issue is with your script, with the stripper functions, or somewhere in between, the more information you provide, the better suited we are to assist "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...
Seminko Posted January 12, 2017 Author Share Posted January 12, 2017 I have recently updated to the newest version. I use IE.au3 with no errors as well. The script works just fine. But when I use Stripper and try to compile it states the above mentioned errors. Link to comment Share on other sites More sharing options...
anthonyjr2 Posted January 12, 2017 Share Posted January 12, 2017 You could try grabbing the latest version of AU3Stripper.exe from here: https://www.autoitscript.com/autoit3/scite/download/beta_SciTE4AutoIt3/ It looks like it was updated today, 1/12/2017. Seminko and Skysnake 2 UHJvZmVzc2lvbmFsIENvbXB1dGVyZXI= Link to comment Share on other sites More sharing options...
Seminko Posted January 12, 2017 Author Share Posted January 12, 2017 6 minutes ago, anthonyjr2 said: You could try grabbing the latest version of AU3Stripper.exe from here: https://www.autoitscript.com/autoit3/scite/download/beta_SciTE4AutoIt3/ It looks like it was updated today, 1/12/2017. Wow... that actually... surprisingly... worked Thanks man! Link to comment Share on other sites More sharing options...
anthonyjr2 Posted January 12, 2017 Share Posted January 12, 2017 No problem UHJvZmVzc2lvbmFsIENvbXB1dGVyZXI= 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