Posted 04 July 2012 - 04:48 AM
The quick version
Hey Guys i need a program that will display the time 00:00 in real time and that fits a 5 by 2 monitor arrangement that can be called by shell.run ("Clock") in the start up oh and if possible the text centered please.
The full story
So i am not the best coder in the world but i have a big problem and it goes something like this:
So the server host today asked me to do something for him and at first it seemed simple enough all he wants is a digital clock that runs from a program so i thought ok this is simple enough so created a program called clock and it displayed the time i though wonderful ps: cheated used the time function so i show the server host and he said "I don't like the text and the font needs to fit the screen so i was like oh dam ok back to square one so used the os.time but whatever i seem to do in my program i cant force the font larger its just refusing to do it and what even more annoying is it doesn't even give an error it just doesn't run so could someone be kind enough to quickly write up a bit of code that will take the time in real time to the minute that fits said screen i would be much obliged ps: needs to be a program so he can copy it.
Screen representation
[][][][][]
[][][][][]
Hey Guys i need a program that will display the time 00:00 in real time and that fits a 5 by 2 monitor arrangement that can be called by shell.run ("Clock") in the start up oh and if possible the text centered please.
The full story
So i am not the best coder in the world but i have a big problem and it goes something like this:
So the server host today asked me to do something for him and at first it seemed simple enough all he wants is a digital clock that runs from a program so i thought ok this is simple enough so created a program called clock and it displayed the time i though wonderful ps: cheated used the time function so i show the server host and he said "I don't like the text and the font needs to fit the screen so i was like oh dam ok back to square one so used the os.time but whatever i seem to do in my program i cant force the font larger its just refusing to do it and what even more annoying is it doesn't even give an error it just doesn't run so could someone be kind enough to quickly write up a bit of code that will take the time in real time to the minute that fits said screen i would be much obliged ps: needs to be a program so he can copy it.
Screen representation
[][][][][]
[][][][][]