JackyChan Posted March 9, 2009 Posted March 9, 2009 Why ? Can you fix this script for me ? Quote C:\Documents and Settings\ZXZX\Desktop\2-3\New Folder\Google-Gmail.au3(10,1) Warning for line:$oEvt = ObjEvent($oIE, "IEEvent_", "DWebBrowserEvents2") -############################################################################################# -#### Obfuscator Found 1 Error(s)!!!! This means your script could have problems running properly. #### -##############################################################################################Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Run_Obfuscator=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #include <IE.au3> Opt("WinTitleMatchMode", 2) $1 = 0 While 1 If $1 <> WinExists('Gmail') And WinExists('Gmail') <> 0 Then $oIE = _IEAttach("Gmail") $oEvt = ObjEvent($oIE, "IEEvent_", "DWebBrowserEvents2") $1 = WinExists('Gmail') EndIf WEnd Func IEEvent_BeforeNavigate2($notsurewhatthisis, $url, $TargetFrameName, $PostData, $Headers, $Cancel) ConsoleWrite($url & @CR) EndFunc ;==>IEEvent_BeforeNavigate2
Developers Jos Posted March 10, 2009 Developers Posted March 10, 2009 You posted incomplete information. The Warning shown is: -### Obfuscation Error: Found ObjEvent() statement using unsolvable Func, which will/could lead to problems running your obfuscated script. >### current Func: Main Script OpenInScite6.au3(11,1) Warning for line:$oEvt = ObjEvent($oIE, "IEEvent_", "DWebBrowserEvents2") ... and it simply states that it cannot find Func IEEvent_ so it has problems obfuscating this code. You have to realise that when you start renaming funcs that issues like this can happen and cannot always be resolved. 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.
trancexx Posted March 12, 2009 Posted March 12, 2009 JackyChan said: Can we fix this code ?The power to change things resides in your mind and within you. Mr. Chan use that power. Make this world a better place for us all and generations to come. (I'm a big fan - see my sig) ♡♡♡ . eMyvnE
Developers Jos Posted March 12, 2009 Developers Posted March 12, 2009 (edited) JackyChan said: Can we fix this code ?Plenty options. First options that comes to mind: - Why do you need to obfuscate the script.- Do not obfuscate Func Names- Don't obfuscate parts of the code using the appropriate directives.... ... oh and before you ask: I am not going to do it for you. Edited March 12, 2009 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.
JackyChan Posted March 13, 2009 Author Posted March 13, 2009 Jos said: Plenty options. First options that comes to mind: - Why do you need to obfuscate the script.- Do not obfuscate Func Names- Don't obfuscate parts of the code using the appropriate directives.... ... oh and before you ask: I am not going to do it for you. Thank you very much
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