MrCreatoR Posted July 7, 2009 Author Posted July 7, 2009 UDF update! History Version: [v1.7] - [07.07.2009] + Added _GUICtrl_SetHoverOnBackwindow... ----Allows to set the hovering mode: ----------$iSetBackWin = 1 (default) hovering process will proceed even when GUI is not active (in background). ----------$iSetBackWin <> 1 hovering process will NOT proceed when GUI is not active. Spoiler Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1 AutoIt Russian Community My Work... Spoiler Projects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating ) * === My topics === * ================================================== ================================================== AutoIt is simple, subtle, elegant. © AutoIt Team
BigDaddyO Posted July 30, 2009 Posted July 30, 2009 It doesn't work if i compile the script with the Obfusticator /striponly switch set. I even tested it with the Basic GUI Controls Example.au3 and i get the same problem. I'm using the v3.3.0.0 Any ideas? Mike
MrCreatoR Posted September 28, 2009 Author Posted September 28, 2009 UDF update! History Version: [v1.8] - [28.09.2009] * Few Global variables now have more unique name. * Fixed an issue with false calling of function on PrimaryDown event. I.e when the user clicks on other place (not on the hovered control) and drag the cursor to the control, the PrimaryDown function was called. * Due to (and as a result of) previous issue, the UDF now registering WM_COMMAND and WM_LBUTTONDOWN messages at first UDF call. Any ideas?Yes, check it on Obfuscator side Spoiler Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1 AutoIt Russian Community My Work... Spoiler Projects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating ) * === My topics === * ================================================== ================================================== AutoIt is simple, subtle, elegant. © AutoIt Team
CosmicDan Posted October 6, 2009 Posted October 6, 2009 Apart from your UDF being absolutely amazing, I'm having problems with this. It seems to randomly crash when I call my Exit function (GUI running in OnEvent mode), I disabled every other 3rd-party UDF just to test it and it's definately this. It appears to happen more often than if I try and spam my custom Quit button ASAP (i.e. as soon as the GUI is SHOWn) and AutoIt just hangs and borks out with an AppCrash How could I narrow down the cause of such a thing? It only happens when I click. I tried examining the UDF but it's over my head =\ maybe there is a way I can simply disable everything to do with LMB tracking, since I only use the hover functions...? CosmicDan.com
Achilles Posted November 5, 2009 Posted November 5, 2009 I'm having problems with this.. I'm not sure if it's the latest beta or me using windows 7. However; It's not doing anything when I run any of your examples. To be specific; I run "Basic GUI controls example" and it will show the GUI, but nothing special happens when the mouse hovers over the items (just the usual effects). I know the latest beta is causing an error (doesn't stop it from running) because Opt("OnAutoItExit".. is no longer available. I changed that to OnAutoItRegister or something but still no luck. Any ideas? My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]
CosmicDan Posted December 12, 2009 Posted December 12, 2009 I'm having problems with this.. I'm not sure if it's the latest beta or me using windows 7. However; It's not doing anything when I run any of your examples. To be specific; I run "Basic GUI controls example" and it will show the GUI, but nothing special happens when the mouse hovers over the items (just the usual effects). I know the latest beta is causing an error (doesn't stop it from running) because Opt("OnAutoItExit".. is no longer available. I changed that to OnAutoItRegister or something but still no luck. Any ideas?Works fine in Win7 x64 for me. I also can't reproduce that weird crash bug I was getting two posts up anymore so that's good. But yeah seems like this needs to be updated for newest beta or the beta is unstable somewhere. CosmicDan.com
Onylove Posted January 10, 2010 Posted January 10, 2010 (edited) When I Obfuscated the script by this udf, It isn't worked and have a problem: -### Obfuscation Error: Found Eval() statement using unsolvable Func, which will/could lead to problems running your obfuscated script. >### current Func: __GUICtrl_SetOnHover_Call_Proc C:\Users\Le Quoc Nam\Desktop\vtc\Icons_Hover\UDFs\GUICtrlSetOnHover.au3(371,1) Warning for line:$sEval = Eval("sParam" & $i-1) -###2 Obfuscation Error: Found Execute() statement which will lead to problems running your obfuscated script. >### current Func: __GUICtrl_SetOnHover_Call_Proc C:\Users\Le Quoc Nam\Desktop\vtc\Icons_Hover\UDFs\GUICtrlSetOnHover.au3(383,1) Warning for line:Local $iRet = Execute($sCall_Params) -###2 Obfuscation Error: Found Execute() statement which will lead to problems running your obfuscated script. >### current Func: __GUICtrl_SetOnHover_Call_Proc C:\Users\Le Quoc Nam\Desktop\vtc\Icons_Hover\UDFs\GUICtrlSetOnHover.au3(390,1) Warning for line:$iRet = Execute($sCall_Params) -### Obfuscation Error: Found Call() statement using unsolvable Func, which will/could lead to problems running your obfuscated script. >### current Func: __GUICtrl_SetOnHover_OnAutoItExit C:\Users\Le Quoc Nam\Desktop\vtc\Icons_Hover\UDFs\GUICtrlSetOnHover.au3(412,1) Warning for line:Call($__GUICtrl_SetOnHover_sOriginal_OnExitFunc) -############################################################################################# -#### Obfuscator Found 4 Error(s)!!!! This means your script could have problems running properly. #### -############################################################################################# +> Obfuscator v1.0.26.13 finished obfuscating 6791 lines, stripped 12039 comment lines. created:C:\Users\Le Quoc Nam\Desktop\vtc\Icons_Hover\Demo_Obfuscated.au3 Please tell me the way to correct it. Thanks all. Edited January 10, 2010 by Onylove Forever (freeze_love)Blog at: http://freeze_love.summerhost.info/
MrCreatoR Posted January 10, 2010 Author Posted January 10, 2010 When I Obfuscated the script by this udf, It isn't workedThis issue have been posted already: #583537 Spoiler Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1 AutoIt Russian Community My Work... Spoiler Projects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating ) * === My topics === * ================================================== ================================================== AutoIt is simple, subtle, elegant. © AutoIt Team
Onylove Posted January 11, 2010 Posted January 11, 2010 Uh, But still the error. and I can't Obfuscate. Could you check it again? :-s. THanks! Forever (freeze_love)Blog at: http://freeze_love.summerhost.info/
MrCreatoR Posted January 11, 2010 Author Posted January 11, 2010 Could you check it again?What i should check, it's related to obfuscator, there is no errors in original script, right? Spoiler Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1 AutoIt Russian Community My Work... Spoiler Projects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating ) * === My topics === * ================================================== ================================================== AutoIt is simple, subtle, elegant. © AutoIt Team
Onylove Posted January 11, 2010 Posted January 11, 2010 (edited) I think this udf incorrected something. You use the Obfuscator.exe to Obfuscator by Command, you don't see the Error (and then, mouse over isn't hover). You use the AutoIt3Wrapper GUI to Compile AutoIt 3Script (download at http://www.autoitscript.com/autoit3/scite/), you'll see the error below:-### Obfuscation Error: Found Eval() statement using unsolvable Func, which will/could lead to problems running your obfuscated script.>### current Func: __GUICtrl_SetOnHover_Call_Proc C:\Users\Le Quoc Nam\Desktop\vtc\Icons_Hover\UDFs\GUICtrlSetOnHover.au3(371,1) Warning for line:$sEval = Eval("sParam" & $i-1)-###2 Obfuscation Error: Found Execute() statement which will lead to problems running your obfuscated script.>### current Func: __GUICtrl_SetOnHover_Call_Proc C:\Users\Le Quoc Nam\Desktop\vtc\Icons_Hover\UDFs\GUICtrlSetOnHover.au3(383,1) Warning for line:Local $iRet = Execute($sCall_Params)-###2 Obfuscation Error: Found Execute() statement which will lead to problems running your obfuscated script.>### current Func: __GUICtrl_SetOnHover_Call_Proc C:\Users\Le Quoc Nam\Desktop\vtc\Icons_Hover\UDFs\GUICtrlSetOnHover.au3(390,1) Warning for line:$iRet = Execute($sCall_Params)-### Obfuscation Error: Found Call() statement using unsolvable Func, which will/could lead to problems running your obfuscated script.>### current Func: __GUICtrl_SetOnHover_OnAutoItExit C:\Users\Le Quoc Nam\Desktop\vtc\Icons_Hover\UDFs\GUICtrlSetOnHover.au3(412,1) Warning for line:Call($__GUICtrl_SetOnHover_sOriginal_OnExitFunc) -############################################################################################# -#### Obfuscator Found 4 Error(s)!!!! This means your script could have problems running properly. #### -############################################################################################# +> Obfuscator v1.0.26.13 finished obfuscating 6791 lines, stripped 12039 comment lines. created:C:\Users\Le Quoc Nam\Desktop\vtc\Icons_Hover\Demo_Obfuscated.au3 Edited January 11, 2010 by Onylove Forever (freeze_love)Blog at: http://freeze_love.summerhost.info/
wraithdu Posted January 11, 2010 Posted January 11, 2010 For the love... Did you read the error messages? They are errors from Obfuscator telling you it cant obfuscate your script because of the use of the Eval(), Execute(), and Call() functions. These are unsolvable errors. You will NOT be able to obfuscate your script, end of story.
MrCreatoR Posted January 11, 2010 Author Posted January 11, 2010 I think this udf incorrected somethingHow come?It passes the syntax checking? Spoiler Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1 AutoIt Russian Community My Work... Spoiler Projects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating ) * === My topics === * ================================================== ================================================== AutoIt is simple, subtle, elegant. © AutoIt Team
martin Posted January 11, 2010 Posted January 11, 2010 For the love... Did you read the error messages? They are errors from Obfuscator telling you it cant obfuscate your script because of the use of the Eval(), Execute(), and Call() functions. These are unsolvable errors. You will NOT be able to obfuscate your script, end of story. But maybe you can exclude those lines from the obfuscation and the script will still be fairly well protected. #Obfuscator_Off ;problem line or lines #Obfuscator_On Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
wraithdu Posted January 12, 2010 Posted January 12, 2010 (edited) With those directives it is very easy to break stuff. Reason is that the actual function won't be touched, but calls to it in other places in the script or calls it makes to other functions, will be obfuscated. The end result is the script tries to call a function by a name that doesn't exist (it has been obfuscated). Edited January 12, 2010 by wraithdu
Rawox Posted February 24, 2010 Posted February 24, 2010 I'm not 100% sure about it but it seems it only runs in 32bit mode. I don't know of this is already noticed, but I thought I point it out anyway
billthecreator Posted April 23, 2010 Posted April 23, 2010 I'm not 100% sure about it but it seems it only runs in 32bit mode.I don't know of this is already noticed, but I thought I point it out anyway yep, doesnt work on my 64-bit win7. [font=Microsoft Sans Serif]My Scripts: From Most recent to least.[/font]Countdown GUI | QLOCK TWO | FlipClock | Slot Machine My UDF:_GenerateRandomNoRepeat | _GuiSnap
Homes32 Posted May 19, 2010 Posted May 19, 2010 yep, doesnt work on my 64-bit win7.same problem here. 32bit works great! 64bit is no dice though.
MrCreatoR Posted May 19, 2010 Author Posted May 19, 2010 same problem here. 32bit works great! 64bit is no dice though. Strange, i don't find anything in the UDF code that can cause any problems under 64bit... Spoiler Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1 AutoIt Russian Community My Work... Spoiler Projects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating ) * === My topics === * ================================================== ================================================== AutoIt is simple, subtle, elegant. © AutoIt Team
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