jpm Posted March 8, 2005 Author Posted March 8, 2005 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 testing
steveR Posted March 8, 2005 Posted March 8, 2005 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? AutoIt3 online docs Use it... Know it... Live it...MSDN libraryglobal Help and SupportWindows: Just another pane in the glass.
zcoacoaz Posted March 8, 2005 Posted March 8, 2005 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]
therks Posted March 8, 2005 Posted March 8, 2005 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. My AutoIt Stuff | My Github
Valik Posted March 8, 2005 Posted March 8, 2005 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.
steveR Posted March 8, 2005 Posted March 8, 2005 (edited) Ok, but what is the best way to exit a function for now? Is it what I typed above? BTW: Great update. Just glancing at it, i see some COM support. Edited March 8, 2005 by steveR AutoIt3 online docs Use it... Know it... Live it...MSDN libraryglobal Help and SupportWindows: Just another pane in the glass.
jpm Posted March 8, 2005 Author Posted March 8, 2005 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
toto Posted March 8, 2005 Posted March 8, 2005 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
jpm Posted March 8, 2005 Author Posted March 8, 2005 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
Josbe Posted March 8, 2005 Posted March 8, 2005 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) • AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta
SlimShady Posted March 8, 2005 Posted March 8, 2005 (edited) @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 March 8, 2005 by SlimShady
toto Posted March 8, 2005 Posted March 8, 2005 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 ?
jpm Posted March 8, 2005 Author Posted March 8, 2005 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 ThreadIl est quand même mieux de parler la langue du Forum qui n'est pas la notre.A+JP
Josbe Posted March 8, 2005 Posted March 8, 2005 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 • AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta
jpm Posted March 8, 2005 Author Posted March 8, 2005 (edited) @jpmNo offense but it's not very clear for normal users.In the ZIP file you'll find AutoItSC.binThat file should be copied C:\Program Files\AutoIt3\Aut2ExeWindows 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 Edited March 9, 2005 by jpm
SumTingWong Posted March 8, 2005 Posted March 8, 2005 (edited) 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 March 8, 2005 by pacman
Holger Posted March 8, 2005 Posted March 8, 2005 @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... Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView
jpm Posted March 8, 2005 Author Posted March 8, 2005 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.0In 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 instancethe 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 codeif $msg <>0 then....endifAll 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.
Holger Posted March 8, 2005 Posted March 8, 2005 (edited) 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 March 8, 2005 by Holger Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView
SlimShady Posted March 8, 2005 Posted March 8, 2005 (edited) ...<{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 March 8, 2005 by SlimShady
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