jpm Posted April 4, 2004 Share Posted April 4, 2004 Hi everybody,Please find the sunday releaseAdded : new control "avi" in GuiSetControl to display animated files. Thanks to Holger. Added : new control "updown" in GuiSetControl to inc/decrement an edit control value. Added : Appendix to describe Gui Control Styles. Added : GuiSetControl can be used in GuiMsg() loop. Fixed : GuiSetControlData will empty correctly the list. Changed : GuiWrite on edit control append/erasedownload as usal at http://www.hiddensoft.com/fileman/users/jpm/AutoIt3-gui/ Link to comment Share on other sites More sharing options...
Holger Posted April 4, 2004 Share Posted April 4, 2004 (edited) Ok JP, then Happy Birthday to you Have a nice party and day And thanks for developing of one of the coolest "addons" since there is AutoIt3 Best wishes Holger Edited April 4, 2004 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 Link to comment Share on other sites More sharing options...
alawoona Posted April 4, 2004 Share Posted April 4, 2004 Great work JP - And Great work Jon and others for an excellent tool!!!!! Unfortunately I gotta go catch a plane and cannot play with the latest release until I gate back Tuesday night. Link to comment Share on other sites More sharing options...
Raider Posted April 5, 2004 Share Posted April 5, 2004 I'm very interested in the new GuiSetControl("avi"...) function, but the provided example is not working for me. I tried to change some things but no luck with that. Currently running Win2k, SP 4. Any ideas? Link to comment Share on other sites More sharing options...
Holger Posted April 5, 2004 Share Posted April 5, 2004 (edited) @raider:is there an errormessage or how does your window looks? I've tested it right now with Win2000+SP2 and NT4+SP6 and had no problems... Edited April 5, 2004 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 Link to comment Share on other sites More sharing options...
Raider Posted April 5, 2004 Share Posted April 5, 2004 The window is just blank but the two buttons are there. I can click them but nothing happens. Link to comment Share on other sites More sharing options...
Holger Posted April 5, 2004 Share Posted April 5, 2004 (edited) Yeah, I think there's bug... I'll check now my code... Hmmm....nothing found, everything is woking fine here: try this: Global $ACS_AUTOPLAY = 4 GUICreate("Animation",300,200) $ani = GUISetControl("avi","shell32.dll|150",50,10,-1,-1,$ACS_AUTOPLAY) $ani2 = GUISetControl("avi","c:\windows\system32\shell32.dll|150",50,80) GUIWaitClose() Exit Do you see something? Is maybe your search-path false? Holger Edited April 5, 2004 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 Link to comment Share on other sites More sharing options...
Raider Posted April 6, 2004 Share Posted April 6, 2004 (edited) This code produces an empty GUI for me I linked all the files to their paths to make sure but no luck... - What is "shell32.dll|150" going to look like when it works? For what dows the |150 stand? Edited April 6, 2004 by Raider Link to comment Share on other sites More sharing options...
jpm Posted April 6, 2004 Author Share Posted April 6, 2004 This code produces an empty GUI for me I linked all the files to their paths to make sure but no luck... - What is "shell32.dll|150" going to look like when it works? For what dows the |150 stand?@raider which OS are you running with? which version of the file? msgbox(0,@OSVersion,FileGetVersion(@windowsdir & "\system32\shell32.dll")) Link to comment Share on other sites More sharing options...
Holger Posted April 6, 2004 Share Posted April 6, 2004 @raider: "shell32.dll|150" means the "avi" with the resource-number 150 in the "shell32.dll"."shell32.dll" is normally in the default windows search path thatswhy you don't need to expand the whole path to that.So you could use another number like 151, 152 or 160.One tool for instance to see what resources are in a file is here:http://www.users.on.net/johnson/resourcehacker/HolgerP.S.:here are some files and the resources (it's from XP but I think most should work with W2K too):ieakui.dll,404 -> gear wheels hdwwiz.cpl,105 -> pc with magnifying glass (XP-style) inetcfg.dll,2376 -> moving earth mmfutil,1020 -> 'sandclock' msdxm.ocx,114 -> signals are send from pc to a server and back msgina.dll,2413 -> ctrl-Alt-Del (logonhelp) msieftp.dll,256 -> copy from webfolder to local folder msieftp.dll,257 -> copy from local folder to webfolder msieftp.dll,258 -> delete from webfolder netshell.dll,21200 -> pc with magnifying glass (old style) newdev.dll,300 -> pc with magnifying glass (XP-style) objsel.dll,208 -> Active Directory-search rsnotify.exe,137 -> copy from server to local folder shell32.dll,150 -> moving flashlight shell32.dll,151 -> small magnifying glass on a document shell32.dll,152 -> small magnifying glass on a pc shell32.dll,160 -> move a few documents from one folder to another(XP-style) shell32.dll,161 -> copy only one (by one) document from one to another folder shell32.dll,162 -> move a document to the trash shell32.dll,163 -> delete the trash shell32.dll,164 -> delete directly a document(XP-style) shell32.dll,165 -> change a document shell32.dll,166 -> magnifying glass on the earth (XP-style) shell32.dll,167 -> move a few documents from one folder to another(old style) shell32.dll,168 -> copy only one (by one) document from one to another folder(old style) shell32.dll,169 -> delete directly a document(old style) shell32.dll,170 -> copy a document from earth (i-net/web) to a local folder syssetup.dll,122 -> moving color line (like logon moving line) ------------------ windows\srchasst\srchui.dll,107 -> magnifying glass checks a document program files\common files\microsoft shared\artgalry\artgalry.exe,289 -> binoculars looks program files\common files\system\wab32res.dll,1171 -> magnifying glass checks a addressbook program files\netmeeting\conf.exe,137 -> a hand push keys on a telephone Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView Link to comment Share on other sites More sharing options...
Holger Posted April 6, 2004 Share Posted April 6, 2004 @raider: I remembered a thing.Maybe if you have compressed the dll's or exe with upx or other compressors then it could be a problem... Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView Link to comment Share on other sites More sharing options...
Raider Posted April 6, 2004 Share Posted April 6, 2004 (edited) I got the shell32.dll clips and the inetconnect.avi running by reinstalling AU3GUI When I try to play another .avi file I get a windows error message that says that my clip is not a valid windows file and that I should check that with my windows installation disk... I tried several files with different compressions (DivX, Xvid, uncompressed) and nothing works (I can't provide an exact errormessage because I have to translate it but this is as close a sit gets: AutoIt v3: AutoIt3-gui.exe - Image corrupt The application or DLL d:\Scripts\r-tool\GUI\dtuc.avi is not a valid Windows-File. Check this with the installation disk. [OK]" Thanks for all the help Edited April 6, 2004 by Raider Link to comment Share on other sites More sharing options...
Holger Posted April 6, 2004 Share Posted April 6, 2004 (edited) @raider: these errormessages appear cause your other files are real avi-files I think. Resource-AVI-files must have no sound! and cannot be compressed like normal avi-files (xvid, divx, etc). I think the compression-format must be "Microsoft Video 1" (with NO sound) -> a lot of websites say that. Upd.: I testet it -> doesn't work, maybe you need a really animation tool... Regards Holger Edited April 6, 2004 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 Link to comment Share on other sites More sharing options...
Raider Posted April 6, 2004 Share Posted April 6, 2004 Yep, i tested it too and it did not work. What do you mean by "real animation tool"? Or, what would be even better... Is it possible to play .gif files? You know, not only those with one frame but animated ones. Link to comment Share on other sites More sharing options...
Holger Posted April 7, 2004 Share Posted April 7, 2004 @raider: no, it's not possible to play gif-files with the avi-function, only 'resource-build-in' -avi-files. I think in the www there are tools/programs to create such animations or convert them into a by "windows accepting avi-format". Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView Link to comment Share on other sites More sharing options...
Raider Posted April 7, 2004 Share Posted April 7, 2004 I finally found something that can create those AVI files.You can get it here: http://www.bloodshed.net/avi.zipIt creates an AVI with a bunch of BMP or ICO files Thanks for your great support -Raider Link to comment Share on other sites More sharing options...
Holger Posted April 7, 2004 Share Posted April 7, 2004 @raider: thanks for the program-info Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView Link to comment Share on other sites More sharing options...
Raider Posted April 7, 2004 Share Posted April 7, 2004 No Problem Sorry for bugging again, but is it possible that progressbars are somewhat messed up? When I try to display one I just get a small window in the low right corner of my screen (actually just a title bar) and the place where I want my bar is just empty... This little window has the classname "classname=msctls_progress32" GuiCreate("Prcbartest", 500, 500) GuiSetControl("progress", "empty", 5, 5, 200, 20) GuiShow() sleep(5000) Anyone able to reproduce? Link to comment Share on other sites More sharing options...
Developers Jos Posted April 7, 2004 Developers Share Posted April 7, 2004 I am getting a Hard Crash: AppName: autoit3.exe AppVer: 3.0.102.16 ModName: comctl32.dll ModVer: 6.0.2800.1106 Offset: 0003d91b 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. Link to comment Share on other sites More sharing options...
Holger Posted April 7, 2004 Share Posted April 7, 2004 (edited) @raider: yeah, thats a problem in the official 16th version. Thanks for info to this bug. Sorry, I didn't see that cause I used already my actually 'new'progress-function-gui @jpm: I found the problem in the 'old' progress-function: maybe you forgot to integrate the changed 'new' version that I sent you: HWND CGuiBox::CreatePROGRESS(const char* Text,HWND hWnd,int id,int X,int Y,int W,int H,int Style,int Exstyle) { HWND A; if ( Style==-1 ) Style=0; A = _CreateControl(0,PROGRESS_CLASS,NULL,Style,X,Y,W,H,hWnd,NULL,NULL,NULL,false); SendMessage(A,(UINT)PBM_SETBKCOLOR,(WPARAM)0,(LPARAM) CLR_DEFAULT); SendMessage(A,(UINT)PBM_SETBARCOLOR,(WPARAM)0,(LPARAM) CLR_DEFAULT); SendMessage(A,(UINT)PBM_SETPOS,(WPARAM) 0,(LPARAM)0); SendMessage(A,PBM_SETRANGE,0,MAKELONG(0,100)); SendMessage(A,(UINT)PBM_SETSTEP,1,0); if (m_nCurSizeable == 0) GUICtrl[m_nMaxCtrl].nSizeable = GUI_SZ_ENABLE; return A; Regards Holger P.S:I've send you an email its better... Edited April 7, 2004 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 Link to comment Share on other sites More sharing options...
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