# Change Work Hours # 040702 - first draft of program # 040713 - set work hours to normal default (must edit script to change hours) # # Will change default work hours per week in the current file. # All projects in the file share the same work week. # This will work in v0.1, but at some point GanttPV may be changed # so that each day will have its own column. (The rule is that # columns should not have multiple values.) # The first number specified is for Monday, the last for Sunday. # All seven days must be specified. #change = { 'Table': 'OtherData', 'ID': 1, 'WeekHours': (4, 4, 4, 4, 4, 4, 0) } change = { 'Table': 'OtherData', 'ID': 1, 'WeekHours': (8, 8, 8, 8, 8, 0, 0) } Data.Update(change) Data.SetUndo('Change Work Hours')