Jump to content

Recommended Posts

Posted

UDF update!

History Version:

  Quote

[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.

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

  • 4 weeks later...
Posted

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

  • 1 month later...
Posted

UDF update!

History Version:

  Quote

[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.

  Quote

Any ideas?

Yes, check it on Obfuscator side :D

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Posted

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...? :)

  • 5 weeks later...
Posted

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]
  • 1 month later...
Posted

  On 11/5/2009 at 7:59 AM, 'Achilles said:

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.

  • 5 weeks later...
Posted (edited)

When I Obfuscated the script by this udf, It isn't worked and have a problem:

  Quote

-### 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 by Onylove
Forever (freeze_love)Blog at: http://freeze_love.summerhost.info/
Posted
  Quote

When I Obfuscated the script by this udf, It isn't worked

This issue have been posted already: #583537

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Posted
  Quote

Could you check it again?

What i should check, it's related to obfuscator, there is no errors in original script, right?

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Posted (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:

  Quote

-### 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 by Onylove
Forever (freeze_love)Blog at: http://freeze_love.summerhost.info/
Posted

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.

Posted

  Quote

I think this udf incorrected something

How come?

It passes the syntax checking?

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Posted

  On 1/11/2010 at 2:47 PM, 'wraithdu said:

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.
Posted (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 by wraithdu
  • 1 month later...
Posted

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 :mellow:

  • 1 month later...
  • 4 weeks later...
Posted

  On 4/23/2010 at 9:32 PM, 'billthecreator said:

yep, doesnt work on my 64-bit win7.

same problem here. 32bit works great! 64bit is no dice though. :idea:

Posted

  On 5/19/2010 at 2:02 AM, 'Homes32 said:

same problem here. 32bit works great! 64bit is no dice though. :idea:

Strange, i don't find anything in the UDF code that can cause any problems under 64bit...

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...