November 25, 200421 yr I'm building a time clock The first layout you see is a switchboard that takes workers to their own personal screen. When they get to this screen they select a task and then have two options: If they are not currently working on something they can hit the START button. If they want to clock out they can hit the STOP button. I would like to have only one of these buttons visible at a time. The START button already inserts current time into a start field. I would like it to also direct the STOP button to go to the back of the layout. Conversely, I would like the STOP button to insert current time into the stop field and chase the START button to the back of the layout. Can this be scripted? Thanks, Jarvis
November 25, 200421 yr Use 2 portals, one for each button. Make 2 self relationships, one is valid when when you want the start button to show, the other is not valid so the stop button will not show. Change this when you want the stop button to show so that it has a vaiid relationship and the start does not. After you get this working make the portal border invisible. The portals can not be on top of eachother.
November 27, 200421 yr Hi, Ralph's version is the best way... If you are not comfortable with relationships and portals... You could use duplicate layouts (identical layouts) one with a START button the other with a STOP button. Have scripts attached to each button. A start script would set the start time & goto layout "EndTime". the other would set the end time & goto layout "StartTime". HTH Dan
Create an account or sign in to comment