GT3 analogue
Average Rating: 10
Yours: -1
File Size: .23MB
Downloads Today: 0 Downloads Total: 12774

GT3 analogue

Updated Mar 15, 2006 by Tiggz


aimzzz
Comment #1 Wednesday, March 15, 2006 9:06 PM
Thanks, Tigzz-- you think of everything! The timer & alarm will come in handy...
jlaj1989
Comment #2 Wednesday, March 15, 2006 9:37 PM
Another Nice Widget
Can you write a simple stopwatch script for me. If its not to much trouble. I have tryed and tryed to understand the code but cant. Thank you.
4letterword
Comment #3 Thursday, March 16, 2006 5:13 AM
Excellent, spotless work. Keep it up!
BlueDev
Comment #4 Thursday, March 16, 2006 7:37 AM
Really, really great. Many thanks again Tiggz for all your stellar work.
lmgppag
Comment #5 Thursday, March 16, 2006 10:58 AM
Wow !!!!!

Thank you very much Tiggz.

( I think too all your works are "stellar" )
seldomseen
Comment #6 Friday, March 17, 2006 12:34 PM
Yes, me too. Tiggs, you are tops. This is a really nice complement to your Omni analog version, which I use a lot. The Omni mail widget is the best I've found!
slagny
Comment #7 Sunday, March 19, 2006 7:13 AM
Just one more great addition to your GT3 series
danioc
Comment #8 Sunday, March 19, 2006 10:30 PM
Cool features and very realistic design, well done Matt!
jlaj1989
Comment #9 Wednesday, March 22, 2006 12:12 PM
So im taking it, theres no script
Tiggz
Comment #10 Wednesday, March 22, 2006 2:21 PM
jlaj1989 ~ basically what you do is use the 'Now' function to get the date and time and store it in a variable something like:

Dim StartTime
StartTime = Now

then you need to set up a timer in the script to fire every second and get the current date and time, then you can use the 'DateDiff' function to compare the two: DateDiff(interval, date1, date2) ...so

CurrentTime = Now
ElapsedSeconds = DateDiff(s, StartTime, CurrentTime)
ElapsedMinutes = DateDiff(n, StartTime, CurrentTime)
ElapsedHours = DateDiff(h, StartTime, CurrentTime)

then you can use these values to set the text of your displayed time object, maybe something like..

desktopx.object("MyTimeObject").text = ElapsedHours & ":" & ElapsedMinutes & ":" & ElapsedSeconds

you can find out how to work with timers in the script here Link

and you can reference vbscript functions here Link
jlaj1989
Comment #11 Wednesday, March 22, 2006 9:00 PM
Thank You Very Much!!
It says
Invalid procedure call or argument: 'DateDiff'
Line: 10
Code:
(not available)


'Called when the script is executed
Dim StartTime
StartTime = Now
Sub Object_OnScriptEnter
object.SetTimer 123, 1
End Sub

Sub Object_OnTimer123
CurrentTime = Now
ElapsedSeconds = DateDiff(s, StartTime, CurrentTime)
ElapsedMinutes = DateDiff(n, StartTime, CurrentTime)
ElapsedHours = DateDiff(h, StartTime, CurrentTime)
End Sub
desktopx.object("MyTimeObject").text = ElapsedHours & ":" & ElapsedMinutes & ":" & ElapsedSeconds
'Called when the script is terminated
Sub Object_OnScriptExit

End Sub

Thats the code i used.
Tiggz
Comment #12 Wednesday, March 22, 2006 10:13 PM
OK, forget what I wrote before, I think I was suffering from tea deficiency. Try something like the following - I tested it and everything


Dim StartTime

Sub Object_OnScriptEnter
StartTime = Now
object.SetTimer 123, 1000
End Sub

Sub Object_OnTimer123
CurrentTime = Now

'total number of seconds from the start time to the current time
ElapsedSeconds = DateDiff("s", StartTime, CurrentTime)

'these lines split up the total number of seconds into hours. minutes and seconds
varSeconds = ElapsedSeconds Mod 60
varMinutes = int((ElapsedSeconds-varSeconds)/60) Mod 60
varHours = int((ElapsedSeconds-varMinutes*60)/60/60)

'these lines will add leading zeroes
If varSeconds < 10 Then varSeconds = "0" & varSeconds
If varMinutes < 10 Then varMinutes = "0" & varMinutes
If varHours < 10 Then varHours = "0" & varHours

'display the result
desktopx.object("MyTimeObject").text = varHours & ":" & varMinutes & ":" & varSeconds

End Sub

jlaj1989
Comment #13 Thursday, March 23, 2006 6:33 AM
Yep that worked Thank you very much Now ill try to figure out how to start/stop and reset it.
I.R. Brainiac
Comment #14 Tuesday, April 25, 2006 5:20 AM
awesome Tiggs
WishX
Comment #15 Tuesday, June 13, 2006 9:52 AM
The only thing missing is an "Always On Top" option
gdzilla65
Comment #16 Monday, October 23, 2006 12:59 PM
I love your GT3 widgets.
Any chance of getting an RSS reader?
El Puertorro
Comment #17 Thursday, February 28, 2008 1:01 AM
Hey tiggz first off great skin man i love GT3 , and well i have a simple request, would it be possible for you to make a simple OD clock skin? I just want everything to match and i don't have DX so i cant use this one, well keep up the great work and by the way a few more OD GT3 icons wouldn't hurt man like firefox,CS3,tune up utils, winrar well u get my point i know you're really busy with your new stuff but hey is such a great skin that well I figured I throw that out there. , thanks
FirstStarfighter
Comment #18 Saturday, July 05, 2008 7:32 AM
How do I remove this widget? Right clicking and selecting "close widget" isn't working. I find it a little troubling that when I did somehow manage to remove it once, it still comes on every time I start up windows, despite the fact that I deleted it from my hard drive. This is a pretty annoying bug...

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading files.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!

Featured DesktopX Widgets

Popular DesktopX Widgets

Top DesktopX Widgets Skinners

Yesterday  |   Last 30 Days  |   All Time
1. RedneckDude 2237
2. Doubird 404
3. lovely62 312
4. _Martin_ 237
5. Tiggz 226
6. Vad_M 180
7. romanda 167
8. adni18 151
9. neophil78 145
10. Chasbo 117
11. Richard Mohler 113
12. Frogboy 106
13. jlaj1989 79
14. buzzh58 69
15. BoXXi 68



walnut3