taietel Posted July 23, 2010 Share Posted July 23, 2010 (edited) I've made some programs for school and wanted to put them on the desktop like gadgets in Win7, for handy use. This is a sample gadget, with some controls on it. In the zip file are two files: main script and an include file with the icon library. If you use your own icons, you don't need the second (don't forget to make changes in the main script, where the icons are stated!). I hope it helps! M.Iancu EDIT: Added some improvements (replacements for buttons, status-bar, custom messagebox...) EDIT: "Fixed" listview's scrollbar (replace it with a custom one)SampleGadget.zip Edited July 26, 2010 by taietel Things you should know first...In the beginning there was only ONE! And zero... Progs: Create PDF(TXT2PDF,IMG2PDF) 3D Bar Graph DeskGadget Menu INI Photo Mosaic 3D Text Link to comment Share on other sites More sharing options...
Jfish Posted July 23, 2010 Share Posted July 23, 2010 I've made some programs for school and wanted to put them on the desktop like gadgets in Win7, for handy use. This is a sample gadget, with some controls on it.In the zip file are two files: main script and an include file with the icon library. If you use your own icons, you don't need the second (don't forget to make changes in the main script, where the icons are stated!).I hope it helps!M.IancuThat is very cool. Nice work. I will have to take a closer look when I get home. Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt Link to comment Share on other sites More sharing options...
taietel Posted July 23, 2010 Author Share Posted July 23, 2010 Thanks Jfish! I'm not so good at commenting the code, but if something unclear, just ask. M.I. Things you should know first...In the beginning there was only ONE! And zero... Progs: Create PDF(TXT2PDF,IMG2PDF) 3D Bar Graph DeskGadget Menu INI Photo Mosaic 3D Text Link to comment Share on other sites More sharing options...
Splash Posted July 24, 2010 Share Posted July 24, 2010 Cool! Great work man! Automatic Update UDF - IP Address UDF - WinPcap AutoIt _FindDevice()[font="Verdana"][size="2"]AutoIt Spanish/Brasil/World community!!![/size][/font]Use you wanna a dot.tk domain please use my link: Link to comment Share on other sites More sharing options...
taietel Posted July 25, 2010 Author Share Posted July 25, 2010 (edited) Thank you Splash!I've updated first post.[edit]Screenshot:and another msgbox with two buttons: Edited July 26, 2010 by taietel Things you should know first...In the beginning there was only ONE! And zero... Progs: Create PDF(TXT2PDF,IMG2PDF) 3D Bar Graph DeskGadget Menu INI Photo Mosaic 3D Text Link to comment Share on other sites More sharing options...
taietel Posted July 26, 2010 Author Share Posted July 26, 2010 Updated attachment in first post (Listview issue). Things you should know first...In the beginning there was only ONE! And zero... Progs: Create PDF(TXT2PDF,IMG2PDF) 3D Bar Graph DeskGadget Menu INI Photo Mosaic 3D Text Link to comment Share on other sites More sharing options...
dantay9 Posted July 26, 2010 Share Posted July 26, 2010 Nice work! I made something to the effect of desktop gadgets, but it was a little over my head at the time I made it. Link to comment Share on other sites More sharing options...
taietel Posted July 26, 2010 Author Share Posted July 26, 2010 Thanks dantay9! Modify it to suit your needs. I will try to make some kind of UDFs, but when I have a little more time. In the meantime, ask if something is unclear. Things you should know first...In the beginning there was only ONE! And zero... Progs: Create PDF(TXT2PDF,IMG2PDF) 3D Bar Graph DeskGadget Menu INI Photo Mosaic 3D Text Link to comment Share on other sites More sharing options...
taietel Posted July 28, 2010 Author Share Posted July 28, 2010 (edited) An example of Photo Gadget (here: source, dll (icons resource) and the compiled version).The idea come up when I've seen one from Vista/7. I wondered if it was possible (in Autoit) to show the control bar when over the picture so... [edit]Found some bugs, now fixed (I hope). In the zip file attached are PhotoGadget.au3 and the include _my_icons.au3.[/edit]Of course, this can be improved!Credit to Melba for sincronize/move the two windows together. I've modified the function to suit my needs (3 windows)Suggestions/comments are welcome!Screenshots, when mouse moved over the PhotoGadget (here, cursor-hand is not captured, just the tooltip):[edit]New screenshots (modified version):M.I.P.S. I didn't attached here because all the files mentioned above are a little over 1Mb (forum limit). Edited July 30, 2010 by taietel Things you should know first...In the beginning there was only ONE! And zero... Progs: Create PDF(TXT2PDF,IMG2PDF) 3D Bar Graph DeskGadget Menu INI Photo Mosaic 3D Text Link to comment Share on other sites More sharing options...
James Posted July 28, 2010 Share Posted July 28, 2010 Very nice indeed! I'll try have a play with this soon! James Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
taietel Posted July 28, 2010 Author Share Posted July 28, 2010 Thank you James! I'm at the noob stage and I still have a long way until I understand how to handle dll's, structures etc etc. as you do. Things you should know first...In the beginning there was only ONE! And zero... Progs: Create PDF(TXT2PDF,IMG2PDF) 3D Bar Graph DeskGadget Menu INI Photo Mosaic 3D Text Link to comment Share on other sites More sharing options...
taietel Posted July 29, 2010 Author Share Posted July 29, 2010 (edited) Found a bug in Photo Gadget : while Photo gadget is open, open another window. When this window is maximized and move the mouse over the Photo gadget (that is behind), those control windows of Photo Gadget still show, even they were not supposed to, because they appear only when hover over the main GUI. I guess it needs a BitAnd(WinGetState($hGUI,""),2) checking.To the drawing board and get back. Edited July 30, 2010 by taietel Things you should know first...In the beginning there was only ONE! And zero... Progs: Create PDF(TXT2PDF,IMG2PDF) 3D Bar Graph DeskGadget Menu INI Photo Mosaic 3D Text Link to comment Share on other sites More sharing options...
taietel Posted July 30, 2010 Author Share Posted July 30, 2010 Fixed. See post #9. Things you should know first...In the beginning there was only ONE! And zero... Progs: Create PDF(TXT2PDF,IMG2PDF) 3D Bar Graph DeskGadget Menu INI Photo Mosaic 3D Text 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