| Windows 7: Can Somebody Make These Into A Gadget Clock? |
11 Aug 2009
|
#21 | | Windows 7 Ultimate 64Bit God's green Earth |
any chance of adding every single one of these into 1 gadget? i like paulies borders as well as grims.
@pauliewog +rep to u on the OP | My System Specs |
| OS Windows 7 Ultimate 64Bit CPU AMD Athlon x4 650 3Ghz Motherboard ASUS Memory 4gb Graphics Card ATI Radeon 3000 series Onboard |
11 Aug 2009
|
#22 | | XP Pro SP3 x86/Vista SP2 x64/Win7 x64 Triple-boot Lancashire, England |
pauliewog, if the following makes sense, copy it and save it. Code: Howto add an extra clock
************************
In this howto I shall add a clock called 'HomePremium2' to the pack.
To begin with rename 'SevenEditionsClock.Gadget' to 'SevenEditionsClock.Gadget.zip'
and extract all the files to a new folder.
IMAGE EDITS:
**************************
**************************
Folder: "\Images\"
**************************
**************************
Copy all the images relating to one of the existing clocks,
for example copy all the files that start with 'HomePremium' and rename
them so they begin with 'HomePremium2', there should be six files in total
for each clock.
Now edit these image files to your liking proceed onto the code edits below.
CODE EDITS:
**************************
**************************
Open: "\en-US\js\clock.js"
**************************
**************************
On the very first line, You will find the array for the clock names simular to:
var clockThemes = new Array("HomePremium", "Professional", "Ultimate");
add [, "HomePremium2"] without the [] to the end before the close-bracket like so:
var clockThemes = new Array("HomePremium", "Professional", "Ultimate", "HomePremium2");
**************************
Now open find and search for "switch (curTheme)", you should see something like this below it:
{
case "HomePremium":
clockFont = "Constantia, " + clockFont;
clockFontColor = "#2F2E2E";
topPX += -3;
leftPX += -1;
maxClockNameWidth = 66;
clockPartsWidth = 13;
clockPartsHeight = 129;
clockPartsTop = -1;
clockPartsLeft = 57;
break;
case "Professional":
clockFont = "Arial Narrow, " + clockFont;
clockFontColor = "#666666";
topPX += 3;
leftPX += 1;
maxClockNameWidth = 72;
clockPartsWidth = 13;
clockPartsHeight = 129;
clockPartsTop = 0;
clockPartsLeft = 58;
break;
case "Ultimate":
clockFont = "Arial Narrow, " + clockFont;
clockFontColor = "#f6f4e2";
topPX += 6;
maxClockNameWidth = 70;
clockPartsWidth = 13;
clockPartsHeight = 129;
clockPartsTop = -1;
clockPartsLeft = 57;
break;
}
We need to copy a 'block' now and add it to the bottom below the 'Ultimate' block,
Note each block starts with 'case' and ends with the 'break;' text.
so adding a new block would look like this:
case "HomePremium":
clockFont = "Constantia, " + clockFont;
clockFontColor = "#2F2E2E";
topPX += -3;
leftPX += -1;
maxClockNameWidth = 66;
clockPartsWidth = 13;
clockPartsHeight = 129;
clockPartsTop = -1;
clockPartsLeft = 57;
break;
case "Professional":
clockFont = "Arial Narrow, " + clockFont;
clockFontColor = "#666666";
topPX += 3;
leftPX += 1;
maxClockNameWidth = 72;
clockPartsWidth = 13;
clockPartsHeight = 129;
clockPartsTop = 0;
clockPartsLeft = 58;
break;
case "Ultimate":
clockFont = "Arial Narrow, " + clockFont;
clockFontColor = "#f6f4e2";
topPX += 6;
maxClockNameWidth = 70;
clockPartsWidth = 13;
clockPartsHeight = 129;
clockPartsTop = -1;
clockPartsLeft = 57;
break;
case "HomePremium2":
clockFont = "Constantia, " + clockFont;
clockFontColor = "#2F2E2E";
topPX += -3;
leftPX += -1;
maxClockNameWidth = 66;
clockPartsWidth = 13;
clockPartsHeight = 129;
clockPartsTop = -1;
clockPartsLeft = 57;
break;
**************************
**************************
Open: "\en-US\js\settings.js"
**************************
**************************
Open find and search for [var imagePath = "images/";] minnus the [], you should see something like this on the line below it:
var imageArray = new Array("HomePremium_settings.png", "Professional_settings.png", "Ultimate_settings.png");
add [, "HomePremium2_settings.png"] without the [] to the end before the close-bracket like so:
var imageArray = new Array("HomePremium_settings.png", "Professional_settings.png", "Ultimate_settings.png", "HomePremium2_settings.png");
**************************
**************************
END OF CODE EDITS
**************************
**************************
Now zip up everything inside the new folder you created earlier and
then rename it replacing '.zip' with '.gadget'
Be sure not to include the new folder itself, just everything inside it.
Hope this makes sense, Generator. :p | My System Specs | | System Manufacturer/Model Number Self Built OS XP Pro SP3 x86/Vista SP2 x64/Win7 x64 Triple-boot CPU AMD64 X2 AM2 5000+ Motherboard Asus MSN-X Plus Memory Corsair TWX 2Gb (2x1Gb) DDR2 800Mhz Graphics Card PCI-X 2.0 Inno3D (NVidia) 9500GT 1Gb DDR2 Sound Card Onboard Realtec ALC662-GR Monitor(s) Displays Relisys 17' CRT (model unknown) Screen Resolution 1024x768 Keyboard Microsoft Multimedia Keyboard Mouse Samsung Optical PSU 500W Cooling Standard AMD CPU Fan, One side, front and rear case fan. Hard Drives 750Gb Samsung 7200-3Gb/s 32Mb Cache SATA Internet Speed 10M |
11 Aug 2009
|
#23 | | Windows 7 Ultimate SP1 64-bit NE Indiana |

Quote: Originally Posted by matt0978 any chance of adding every single one of these into 1 gadget? i like paulies borders as well as grims.
@pauliewog +rep to u on the OP  Thanks Matt!
I hope Gen or Grim puts them into one gadget and then maybe we could make a 2.0 version of this gadget! | My System Specs | | System Manufacturer/Model Number Toshiba Satellite OS Windows 7 Ultimate SP1 64-bit CPU AMD Athlon(tm) II P320 Dual-Core Processor Motherboard AMD Memory 4GB DDR 3 Graphics Card ATI Mobility Radeon HD 4200 Series Sound Card Conexant SmartAudio HD Screen Resolution 1280 - 800 Hard Drives 320GB |
11 Aug 2009
|
#24 | | Windows 7 Ultimate 64Bit God's green Earth |

Quote: Originally Posted by pauliewog Thanks Matt!
I hope Gen or Grim puts them into one gadget and then maybe we could make a 2.0 version of this gadget!
no worries mate, am sure one of them will (i know generator's watching this thread as i'm posting ) they seem to do a few things together icons being one of them. too clever for their own good they are
(L) their work! | My System Specs | | OS Windows 7 Ultimate 64Bit CPU AMD Athlon x4 650 3Ghz Motherboard ASUS Memory 4gb Graphics Card ATI Radeon 3000 series Onboard |
11 Aug 2009
|
#25 | | Windows 7 RTM 64bit, RTM 32bit Chinese Wuxi, China |
Excellent work guys!!! | My System Specs | | System Manufacturer/Model Number Self built. OS Windows 7 RTM 64bit, RTM 32bit Chinese CPU Intel Core 2 Quad Q 6600 2.4 GHz Motherboard Asus P5K-VM Memory 4 x Kingston 2GB DDR2-800 SDRAM Graphics Card ATI Radeon HD4670 Sound Card Realtek ALC883 @ Intel 82801IB ICH9 - High Definition Audio Monitor(s) Displays LG Flatron L1520B Screen Resolution 1024 x 768 PSU Huntkey 400W Case Golden Field Hard Drives 1 x 320GB Seagate Barracuda
1 x 320GB Western Digital
1 x 1TB Western Digital Black Caviar |
11 Aug 2009
|
#26 | | XP Pro SP3 x86/Vista SP2 x64/Win7 x64 Triple-boot Lancashire, England |

Quote: Originally Posted by matt0978 no worries mate, am sure one of them will (i know generator's watching this thread as i'm posting ) they seem to do a few things together icons being one of them. too clever for their own good they are
(L) their work! LOL!!!
Here's the next four: 
(added to the other ones)
Download: SevenEditionsClockGadget.zip | My System Specs | | System Manufacturer/Model Number Self Built OS XP Pro SP3 x86/Vista SP2 x64/Win7 x64 Triple-boot CPU AMD64 X2 AM2 5000+ Motherboard Asus MSN-X Plus Memory Corsair TWX 2Gb (2x1Gb) DDR2 800Mhz Graphics Card PCI-X 2.0 Inno3D (NVidia) 9500GT 1Gb DDR2 Sound Card Onboard Realtec ALC662-GR Monitor(s) Displays Relisys 17' CRT (model unknown) Screen Resolution 1024x768 Keyboard Microsoft Multimedia Keyboard Mouse Samsung Optical PSU 500W Cooling Standard AMD CPU Fan, One side, front and rear case fan. Hard Drives 750Gb Samsung 7200-3Gb/s 32Mb Cache SATA Internet Speed 10M |
11 Aug 2009
|
#27 | | Windows 7 Ultimate SP1 64-bit NE Indiana |
Hey thanks man I managed to do it but the hands didn't work on the new ones and I still couldn't get it into a .Gadget install file! lol | My System Specs | | System Manufacturer/Model Number Toshiba Satellite OS Windows 7 Ultimate SP1 64-bit CPU AMD Athlon(tm) II P320 Dual-Core Processor Motherboard AMD Memory 4GB DDR 3 Graphics Card ATI Mobility Radeon HD 4200 Series Sound Card Conexant SmartAudio HD Screen Resolution 1280 - 800 Hard Drives 320GB |
11 Aug 2009
|
#28 | | XP Pro SP3 x86/Vista SP2 x64/Win7 x64 Triple-boot Lancashire, England |

Quote: Originally Posted by pauliewog Hey thanks man I managed to do it but the hands didn't work on the new ones and I still couldn't get it into a .Gadget install file! lol No worries mate.
I'll redo the howto at some point so it's easier to follow, maybe in html or something. It's all a bit clumped together with doing it in Notepad but it was just a quick effort whilst I was adding to it.
EDIT: I've started the coding for the other coloured one's btw. | My System Specs | | System Manufacturer/Model Number Self Built OS XP Pro SP3 x86/Vista SP2 x64/Win7 x64 Triple-boot CPU AMD64 X2 AM2 5000+ Motherboard Asus MSN-X Plus Memory Corsair TWX 2Gb (2x1Gb) DDR2 800Mhz Graphics Card PCI-X 2.0 Inno3D (NVidia) 9500GT 1Gb DDR2 Sound Card Onboard Realtec ALC662-GR Monitor(s) Displays Relisys 17' CRT (model unknown) Screen Resolution 1024x768 Keyboard Microsoft Multimedia Keyboard Mouse Samsung Optical PSU 500W Cooling Standard AMD CPU Fan, One side, front and rear case fan. Hard Drives 750Gb Samsung 7200-3Gb/s 32Mb Cache SATA Internet Speed 10M |
11 Aug 2009
|
#29 | | Windows 7 Ultimate Vista Ultimate x64 QLD, Cairns |
For anyone who wants to do there own, here is the glass overlay for the clocks, generator is there a way you can make this image layer itself on top of the clocks so the hands are under it like with this Gadget. sfClock.Gadget.zip | My System Specs | | System Manufacturer/Model Number Home Brew OS Windows 7 Ultimate Vista Ultimate x64 CPU Core 2 Duo E8500 3.16Ghz @ 3.8Ghz Motherboard eVGA 750i FTW Memory 2x2Gigs Patriot PC2-6400 LL Graphics Card Inno3D GeForce GTX260 216 SP Monitor(s) Displays ASUS VW222U 22" 2ms Response time Screen Resolution 1680x1050 Keyboard Logitech G15 Gaming Keyboard Mouse Logitech G9 Gaming Mouse PSU HYTEC 600W & Thermaltake 650W Toughpower Power Exp Case Thermaltake Armor LCS (Liquid Cooling System) Cooling Liquid Cooling System Hard Drives SATA 150GB
SATA II 250GB
USB IDE 750GB Ext. |
11 Aug 2009
|
#30 | | Windows 7 Ultimate SP1 64-bit NE Indiana |

Quote: Originally Posted by Mr GRiM For anyone who wants to do there own, here is the glass overlay for the clocks, generator is there a way you can make this image layer itself on top of the clocks so the hands are under it like with this Gadget. Attachment 22671 Attachment 22672 Just go over them again with the glass effect it worked for me! | My System Specs | | System Manufacturer/Model Number Toshiba Satellite OS Windows 7 Ultimate SP1 64-bit CPU AMD Athlon(tm) II P320 Dual-Core Processor Motherboard AMD Memory 4GB DDR 3 Graphics Card ATI Mobility Radeon HD 4200 Series Sound Card Conexant SmartAudio HD Screen Resolution 1280 - 800 Hard Drives 320GB Can Somebody Make These Into A Gadget Clock? problems? All times are GMT -5. The time now is 06:20 AM. | |