Time Clock

45 votes
Version: 
1.0
Date Updated: 
06/01/2010


This script is meant for freelancers who like to keep track of their worktime without too much hassle.

Its basically like one of them old Time Clocks you punch in before and punch out after work.
It saves the times tasks ect to a specified file.

have phun
and if you like it punch into the counter up here ;)

Additional Info: 

Install:
-download the .ms file
-open it and change the path in line 5 to the path you want your timeFile to be located (see picture)

-place the file in your maxRoot/scripts/startUp directory if you want it to load with max
-or drag & drop it into max to start

when launched
-define a type of work
-define a task
-hit start
-do your work
-hit end
$repeat for next task

Version Requirement: 
9 SP2 or 2008 and higher
Other Software Required: 
%
AttachmentSize
stechUhr.ms2.15 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Graph's picture

is it literally xxx? if so

is it literally xxx?
if so please place an @ before the string
local folder = @"C:\Users\xxxx\Desktop\"

Raphael Steves

Gomi's picture

re: no text file

yep

no errors via max-script; local folder = "C:\Users\xxxx\Desktop"
are there more vars to define?

 

 

max 2010 x64

GomiTron: www.gomi.co.nz

Graph's picture

did you define a valid path

did you define a valid path to save to?

Raphael Steves

Gomi's picture

no .txt file

Doesn't seem to save a text file

GomiTron: www.gomi.co.nz

Graph's picture

afair yes, dont know the

answers by -1
afair yes, dont know the command but should be, unfortunately im not fluent in dos anymore;)
if max crashes it starts with the next entry when you start the clock again so yeah its got its flaws :P but thats why i put up the .ms so ppl can change it to their needs and improve on it if need be.
thx

Raphael Steves

W DIGITAL's picture

nice script! what happens

nice script!

what happens though if max crashes?
would be cool to create a batch file, an external command prompt script, which starts max and starts the time, saves the info in a log file, and when max closes, or crashes, it records the time max is closed

would that be possible?

Michele71's picture

@Insanto: Great Script

@Insanto: Great Script Thanks. Very, very Useful :)

@JokerMartini: Not yet. but under construction! When it is ready, you will be the first to view it (and I hope you like it)!

Graph's picture

oh, cool if your using the

oh, cool
if your using the registry to get the path make sure its the same in the latest 3 win versions ;)

Raphael Steves

JokerMartini's picture

I noticed in your post image

I noticed in your post image at the top how you explain to change that line of code. You can make that line of code automatically default to everyones desktop. I'll fix it and send the updated file your way to check out.

John Martini
Digital Artist
http://www.JokerMartini.com (new site)

JokerMartini's picture

Insanto, when I run your

Insanto, when I run your script I get a Runtime ErrorL Filestream cannot create:C:\Users\Insanto\Desktop\timetable.txt

Is it a MakeDir error or problem. I'll look into it and see what could intentionally be the problem. If I can figure it out I'll let you know. I'm using 3ds Max 2010.

John Martini
Digital Artist
http://www.JokerMartini.com (new site)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.