PaulIA Posted June 14, 2007 Author Share Posted June 14, 2007 Release 4.0.12During the last release, I axed a few of the Toolbar functions that were actually useful. :"> Thanks to all those who reported this.The TreeView module had a bug in it that was causing it to be really slow when you inserted a large numbers of nodes.I have implemented a caching method for all controls to reduce the testing that is required to determine if a control is internal or external to AutoIt.On the "really cool" front, lod3n sent me a piece of C# code that demonstrated using the UpdateLayeredWindow API call to produce transparent windows. It required some new GDI and GDI+ calls to implement, but the result is stunning. Take a look at the AlphaBlend demo in the GDI+ folder to see what I mean. (Thanks lod3n!) Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
i542 Posted June 14, 2007 Share Posted June 14, 2007 May you use some another installer, like NSIS or Setup Factory? I am having bad problems with MS Installer. I can do signature me. Link to comment Share on other sites More sharing options...
PaulIA Posted June 14, 2007 Author Share Posted June 14, 2007 May you use some another installer, like NSIS or Setup Factory? I am having bad problems with MS Installer.Why would using another installer fix a problem with MS Installer on your machine? Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
Siao Posted June 14, 2007 Share Posted June 14, 2007 (edited) So a M$ bloated 1 MB installer overhead vs 1.8 MB total size of setup package is a completely normal and necessary thing, not just a pointless waste of bandwidth? NSIS setup package probably would fit into total 0.8 MB. Edited June 14, 2007 by Siao "be smart, drink your wine" Link to comment Share on other sites More sharing options...
PaulIA Posted June 14, 2007 Author Share Posted June 14, 2007 So a M$ bloated 1 MB installer overhead vs 1.8 MB total size of setup package is a completely normal and necessary thing, not just a pointless waste of bandwidth?NSIS setup package probably would fit into total 0.8 MB.I could give a rats ass if it's necessary or not. I've been using Wise for 10 years for my commercial products and I'm not inclined to switch to something I've never worked with just because one person's machine is so screwed up it won't run an MSI file. Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
Siao Posted June 14, 2007 Share Posted June 14, 2007 (edited) I wasn't talking about someone's machine which has troubles with MSI, so why are you grabbing onto this straw as an argument? But your point about fruitlessness of any further discussion is taken, do as you will. Edited June 14, 2007 by Siao "be smart, drink your wine" Link to comment Share on other sites More sharing options...
PaulIA Posted June 14, 2007 Author Share Posted June 14, 2007 I wasn't talking about someone's machine which has troubles with MSI, so why are you grabbing onto this straw as an argument?But your point about fruitlessness of any further discussion is taken, do as you will.Then you had no reason to inject yourself into the conversation in the first place. The OP was talking about his machine being so screwed up it won't run an MSI installation. He said nothing about the size of the installer at all. You're the only one that seems to have an issue with that. You did get one thing right and that's the bit about the fruitlessness of any further discussion on the issue. Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
_Kurt Posted June 15, 2007 Share Posted June 15, 2007 (edited) Nice update, love the PNG support. Kurt Edited June 15, 2007 by _Kurt Awaiting Diablo III.. Link to comment Share on other sites More sharing options...
i542 Posted June 16, 2007 Share Posted June 16, 2007 Why would using another installer fix a problem with MS Installer on your machine? Hmm it works fine on XP but not on 2000. I can do signature me. Link to comment Share on other sites More sharing options...
PaulIA Posted June 16, 2007 Author Share Posted June 16, 2007 Hmm it works fine on XP but not on 2000.Guess you haven't visited the Microsoft Update site in awhile. Make sure you have the latest MSI installer version on the Win2K machine. Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
Zacharot Posted June 18, 2007 Share Posted June 18, 2007 (edited) I downloaded your wonderful collection of functions in the hope that you had just 1 I needed, but you didnt, so I did as humans do, and bashed code together till it worked. I present this back to you, since you dont have it, but I find that it's very useful to have! Func _API_GetCompressedFileSize($sFile) ; Good up to 4GB Local $aResult $aResult = DllCall("Kernel32.dll", "dword", "GetCompressedFileSize", "str", $sFile, "dword", chr(0)) Return $aResult[0] EndFunc feed in any valid file name, and it returns the compressed size (not zip, but the NTFS compression compressed size) of the file. Cheers Edited June 18, 2007 by Zacharot Link to comment Share on other sites More sharing options...
PaulIA Posted June 18, 2007 Author Share Posted June 18, 2007 I downloaded your wonderful collection of functions in the hope that you had just 1 I needed, but you didnt, so I did as humans do, and bashed code together till it worked. I present this back to you, since you dont have it, but I find that it's very useful to have! Func _API_GetCompressedFileSize($sFile) ; Good up to 4GB Local $aResult $aResult = DllCall("Kernel32.dll", "dword", "GetCompressedFileSize", "str", $sFile, "dword", chr(0)) Return $aResult[0] <> 0 EndFunc oÝ÷ Ù÷v)Ú+Ú'_W§jgØën®{-ç(޲Dz,Þsî¶Ø^51Rr©ë,Ü¢jkzËvȳzíçâà¡yêìþ«¨µà¶æ¥,¨º·îËb¢z'*Þ¶êç°V¥±â-)䶬Ì!jܨ»kzZ()à~ÚºÚ"µÍ[ÈÐTWÑÙ]ÛÛÜÙY[TÚ^J ÌÍÜÑ[JBØØ[ ÌÍØTÝ[ ÌÍØTÝ[HØ[ ][ÝÒÙ[Ì ][ÝË ][ÝÙÛÜ ][ÝË ][ÝÑÙ]ÛÛÜÙY[TÚ^I][ÝË ][ÝÜÝ][ÝË ÌÍÜÑ[K ][ÝÙÛÜ ][ÝË B] ÌÍØTÝ[ÌB[[ Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
Zacharot Posted June 18, 2007 Share Posted June 18, 2007 (edited) eh? oops, must have been one of my last bashes got reverted to, it's fixed above, and it is the 0th return, 2 always gives back 0, or 'nul', unless of course you use it on a file larger than 4gb it will return the uncompressed size on uncompressed files. I was trying to figure out the 'low order dword' and 'high order dword', but I dont understand it. is it basically just dword&dword, so 12345678 and 12345678 becomes 1234567812345678? That would be easy enough, if that's the case. Edited June 18, 2007 by Zacharot Link to comment Share on other sites More sharing options...
FuryCell Posted June 18, 2007 Share Posted June 18, 2007 (edited) I think this code may be broken in the current version of autoit.http://www.autoitscript.com/forum/index.php?showtopic=42542.When I execute the script , "Hello World" shows up after the prompt. Is there any fix or workaround available be for this problem. Edited June 18, 2007 by SolidSnake HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code. Link to comment Share on other sites More sharing options...
PaulIA Posted June 18, 2007 Author Share Posted June 18, 2007 I think this code may be broken in the current version of autoit.http://www.autoitscript.com/forum/index.php?showtopic=42542.When I execute the script , "Hello World" shows up after the prompt. Is there any fix or workaround available be for this problem.That's what it's suppose to do. The script you're pointing to is just a demonstartion on how to attach to the console and write to it. What were you expecting it to do? Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
FuryCell Posted June 18, 2007 Share Posted June 18, 2007 (edited) That's what it's suppose to do. The script you're pointing to is just a demonstartion on how to attach to the console and write to it. What were you expecting it to do?Thanks for the fast reply. I was hoping to have it output like this. Is this possible with Auto3Lib? Edited June 18, 2007 by SolidSnake HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code. Link to comment Share on other sites More sharing options...
PaulIA Posted June 18, 2007 Author Share Posted June 18, 2007 Thanks for the fast reply. I was hoping to have it output like this. Is this possible with Auto3Lib?The command prompt is being shown before the script completes execution. You can verify this by modifying the demo and putting a 3 second sleep before "Hello World" is written. You can prevent this from happening by running the demo this way:cmd.exe /k test.exeThis prevents the prompt from appearing until after the script is finished and gives you the output that you wanted. Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
FuryCell Posted June 18, 2007 Share Posted June 18, 2007 The command prompt is being shown before the script completes execution. You can verify this by modifying the demo and putting a 3 second sleep before "Hello World" is written. You can prevent this from happening by running the demo this way:This prevents the prompt from appearing until after the script is finished and gives you the output that you wanted.Thanks. I will use the workaround you provided. HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code. Link to comment Share on other sites More sharing options...
Achilles Posted June 18, 2007 Share Posted June 18, 2007 Hello PaulIA, You wouldn't know anything about this would you? My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
PaulIA Posted June 19, 2007 Author Share Posted June 19, 2007 Hello PaulIA, You wouldn't know anything about this would you?I did some knocking around with this but couldn't get it to work. I can see the registry values that change with RegShot, but there appears to be more than just changing the registry settings to get this to work correctly. Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
Recommended Posts