Jump to content
Sign in to follow this  
jpm

3.1.0++

Recommended Posts

just check the Autoit3-gui for AutoiT3.1.0.15H update

Com addition from Sven

STDIO correction from Dave

Holger fix for Filecreateshortcup hotkey

JP fix for win3003 OSversion

JP addition for GuiCtrlSetGraphic

Valik tooltip upgrade

Happy :lmao: testing

Share this post


Link to post
Share on other sites

O YA!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! You rock.


[font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font]

Share this post


Link to post
Share on other sites

Only one little problem I can see with the transparent labels (on top of graphics or picture controls), when I changed the style (I'm underlining some text on mouseover) it flickers when it redraws the label I guess. Don't know if it can be fixed/prevented, just thought I'd mention it.

Share this post


Link to post
Share on other sites

Was the @ERROR and Return bugs ever fixed?

If not, then is adding SetError(0) and Return 0 to the end of functions the safest way to exit them, if they don't need to be explicitly set?

<{POST_SNAPBACK}>

Its not been fixed yet. There was some disagreement amongst us developers on it and we were waiting until post 3.1 to bring it up again (At least I was). However, Jon has been busy so there hasn't been a good time. Fear not, I haven't forgotten about the bugs.

Share this post


Link to post
Share on other sites

Only one little problem I can see with the transparent labels (on top of graphics or picture controls), when I changed the style (I'm underlining some text on mouseover) it flickers when it redraws the label I guess. Don't know if it can be fixed/prevented, just thought I'd mention it.

<{POST_SNAPBACK}>

Can you post a sample script that reproduce the behabior?

I want to be for sure I am testing in the condition.

THanks for your help :lmao:

Share this post


Link to post
Share on other sites

Stupid question :

I want to compile my .au3 created with com functions. And when i want to comile the exe gives me error and refuse to be created.

Is someone can explain me while ?

Thanks

Share this post


Link to post
Share on other sites

Stupid question :

I want to compile my .au3 created with com functions. And when i want to comile the exe gives me error and refuse to be created.

Is someone can explain me while ?

Thanks

<{POST_SNAPBACK}>

You have to replace, at least temporary, the AutoItSC.bin which is located in @autoItEXE\aut2EXE with the one you download :lmao:

Share this post


Link to post
Share on other sites

Stupid question :

I want to compile my .au3 created with com functions. And when i want to comile the exe gives me error and refuse to be created.

Is someone can explain me while ?

Thanks

<{POST_SNAPBACK}>

Compile with your Aut2Exe using "AutoItSC.bin" (included in the zip)

Share this post


Link to post
Share on other sites

@jpm

No offense but it's not very clear for normal users.

In the ZIP file you'll find AutoItSC.bin

That file should be copied C:\Program Files\AutoIt3\Aut2Exe

Windows will tell you that file already exists.

If you want you can temporarily rename the original, and then copy the new file over.

Edit:

(D_mn capslock key)

Edited by SlimShady

Share this post


Link to post
Share on other sites

Merci JPM.

En ce qui concerne SCITE celui-ci me retourne des messages d'erreur. Existe-il une solution ou bien celà ser réglé uniquement avec la release ?

Share this post


Link to post
Share on other sites

Merci JPM.

En ce qui concerne SCITE celui-ci me retourne des messages d'erreur. Existe-il une solution ou bien celà ser réglé uniquement avec la release ?

<{POST_SNAPBACK}>

SCITE n'est pas encore adapté à la 3.1.0+. Je n'ai créé cette version temporaire qu'en attendant le retour de JON.

Je vais rajouter cette info dans le début du Thread

Il est quand même mieux de parler la langue du Forum qui n'est pas la notre.

A+

JP :lmao:

Share this post


Link to post
Share on other sites

BUG: Using an icon like a button.

DESC: The main problem is when the icon isn't found. The action is displayed every time, like the ID have wrong value when the icon(ID) isn't found.

NOTE: Latest release works fine.

GUICreate(@AutoItExe)
$check = GUICtrlCreateCheckbox("Check", 20, 60)

; Toggle with this lines to look the bug
$icon = GUICtrlCreateIcon( @autoitexe, 0, 20, 10) 
;$icon = GUICtrlCreateIcon( @autoitexe, 0, 20, 10) 

GUISetState()
While 1 
    $msg = GUIGetMsg()
    Sleep(20)
    
    If $msg = -3 Then ExitLoop
        
    If $msg = $check Then MsgBox(0, "", "Check")
    If $msg = $icon Then MsgBox(0, "", "Icon")
WEnd

Share this post


Link to post
Share on other sites

@jpm

No offense but it's not very clear for normal users.

In the ZIP file you'll find AutoItSC.bin

That file should be copied C:\Program Files\AutoIt3\Aut2Exe

Windows will tell you that file already exists.

If you want you can temporarily rename the original, and then copy the new file over.

Edit:

(D_mn capslock key)

<{POST_SNAPBACK}>

No offense too SlimShady but @ProgramFileDir\AutoIT3\Aut2Exe is more correct.

For me C: = F:

but I assume some choose other place to install AutoiT3

o:):lmao:

Edited by jpm

Share this post


Link to post
Share on other sites

No offense but if you don't know how to use the files in this zip then you probably won't be interested in the new features in its current state. Wait for a proper beta release with a user-friendly installer.

Edited by pacman

Share this post


Link to post
Share on other sites

@josbe: what is better?:

1.) a wrong created empty control or

2.) a right returned function value of 0 cause the icon-control could not created

I don't know what it would happen if we use for an empty queue a return value of -1 ...

Don't know...

Share this post


Link to post
Share on other sites

BUG: Using an icon like a button.

DESC: The main problem is when the icon isn't found. The action is displayed every time, like the ID have wrong value when the icon(ID) isn't found.

NOTE: Latest release works fine.

GUICreate(@AutoItExe)
$check = GUICtrlCreateCheckbox("Check", 20, 60)

; Toggle with this lines to look the bug
$icon = GUICtrlCreateIcon( @autoitexe, 0, 20, 10) 
;$icon = GUICtrlCreateIcon( @autoitexe, 0, 20, 10) 

GUISetState()
While 1    
    $msg = GUIGetMsg()
    Sleep(20)
    
    If $msg = -3 Then ExitLoop
        
    If $msg = $check Then MsgBox(0, "", "Check")
    If $msg = $icon Then MsgBox(0, "", "Icon")
WEnd

<{POST_SNAPBACK}>

When you say latest release you mean the official 3.1.0

In fact the doc say if failure the return is 0

so the if $msg = $icon check to 0 which in this specific case is equivalent to receiving nothing.

If we want a return error the GuiCtrlCreate... must return not 0 on error, -1 for instance

the 3.1.0+ is returning 0 on error which produce this difference.

I did this correction to have the right behavior as the doc state. I am afaid we need to change the return error to -1 which will not allow to write as for other functions Failure=0 return.

Another solution is to have GuiGetMsg returning -1 when no message is available.

this change is possible -1 is never return by GuiGetMsg.

that will break the code

if $msg <>0 then

....

endif

All that's to say I have not a good solution to return something when the control is not created.

So it's a user error to use a an invalid $ctrlID. :lmao:

Share this post


Link to post
Share on other sites

yes - "user error".

I also think so, it was really a bug in the official release, cause there was an error while loading/creating the icon so it should be return 0 but it didn't...

Edited by Holger

Share this post


Link to post
Share on other sites

...

<{POST_SNAPBACK}>

That's why the user should do If FileExists("icon") before creating the icon.

And icon function it should return -1 on failure to prevent problems.

edit: and it should set @error

Edited by SlimShady

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...