Binaries (an installation exe): http://www.autoitscript.com/fileman/users/nfwu/Gadget/v2.0%20Executable.zip
(Most of the) Source: http://rapidshare.de/files/9133477/Gadget-...Source.zip.html
I was thinking about having the convinence of Widgets on a PC without needing to install Mac, so i came up with this application.
Hope there are no errors!
(Please note that all references to my website at www.techdudeonline.tk refer to here, as for now, until i setup my website properly)
[Please scroll down for instructions on creating Gadgets for this application]
Update Log:
--v2.0.1
Posted on the AutoIt forums
BugFix: Removed __ModifyDisplayLocation from the script entirely
(Thanks lonelobo92@hotmail.com)
--v2.0
BugFix: Autoload during installation does not work.
BugFix: BugFix that was supposed to correct autoload did not work
Added 2 default gadgets: LED clock and Process Tracker
Replaced 15 sec startup music with a new 6 second one
Added functional __CreateGadget
--v1.7
Removed __ModifyDisplayLocation capability when Gadgets are displayed normally
Added Never Display option to the X/Ypos window
Added Auto-Save locations capability
BugFix: Install Gadget from WIF uninstall error
Added a Proper Installation
--v1.5 (Beta)
Added Companion Faital Error Handler
Added EXE and INI options to Add/Remove Gadgets
Reorganised Tray Menu
--v1.5 (Alpha)
Added functional __DebugGadgetIni
Added _DialogEditIni and its helper functions
Replaced old 90sec start-up music with a 15sec clipping
Added __ModifyDisplayLocation capability when you display Gadgets normally
Added __AddRemoveGadgets
Added Wood-only Installation Code
Removed __getinstall and __checkinstall
--v1.2
Added __AlertModifyDisplayStillOpen
Rewrote __DisableHotkeys to accept function as parameter
Added non-functional __CreateGadget
Added non-functional __DebugGadgetIni
dded trans.bmp and background SplashImages
Added Startup music
(_DialogEditIni function intended to insert here did not work)
--v1.0 (Beta)
Added __AlertOptionsStillOpen
Added __DisableHotkeys
Added __ModifyDisplayLocation
Added Proper User-set Placing of windows
Added __SetHotkeyLabels
--v1.0 (Alpha)
Rewrote and tidied code into functions
Added $g_Gadgets array
Added Options window
Added __restart
Added _dialogSetHotKey
Added __AboutWoodGadgets
Added Tray Menu
Replaced Hotkeys #w and !#q wih Modifiable Hotkeys
Removed algorithum for placing windows
Added Randomised placing of windows
Added __terminateGadgets
--v0.5
Moved gadget data from code into apps.ini
Added !#q to quit
Added __checkInstall and __getInstall
--v0.1
Most basic version of Gadgets
Press #w to open and close the gadget windows
/****************************************************************************/
--CREATING GADGETS FOR THIS APP:
1: It has to have 1 non-resizable window with a title that never changes.
2: Currently only INI activation is avaliable to outside Gadget developers - I'm working on a GUI which allows you to create WIFs. For now, i'm the only person who is able to create them.
3: The Ini has the following structure:
[app] ;Disply name for you application. appname="Performance Monitor 1.0" ;FULL executable path appexe="C:\Program Files\Wood\Gadgets\Widget242\perf.exe" ;Actual title of the window (please give the FULL title - or it won't work) wintitle="Performance Monitor 1.0 (Alpha)" ;Height and Width of the window in pixles. height="180" width="340"
All you have to do is ask your users to click on the "Use INI to activate gadget" button, then select your INI.
Or, you could always automate the Installation process for them - that's what AutoIt is for!
/****************************************************************************/
Any suggestions, bugfixes, etc. are welcome.
Edited by nfwu, 24 December 2005 - 10:20 AM.





