Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Time that changes without clicking any buttons.


This topic is 8134 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I created a runtime program and it works with timelimits. The user has some minutes or houres to complete a task. Is it possible to create a watch (clock) that moves with time so the user can follow the time flow without any clicking.

Posted

Create a looping script to set a field to current status time then via calculation set a percentage to the standard simple bar graph technique. The loop would need to contain a pause script for some period of time and then loop via current status time each time. The loop goes until some criteria you set (or graph reaches 100%).

I am not able to describe the exact script, maybe some of the more senior guys can help with the above principle

Hope this helps

Tony

"There is always a work around"

Posted

Not really

You should create a looping script that refreshes the time every NN seconds but this would commit FileMaker to do that and only that ... plenty of other problems too, like having to format each button to Halt current script else you wouldn't get out of the loop ...

A workaround is to set a global field with current time when the task is started and have the script run at the end of the task (or in any other crucial point) to check how much time has elapsed

  • 1 month later...
Posted

Another way to approach this problem would be if you have access to one of the script triggering plug-ins (eg Troi Activator, oAzium Events, SCRIPTit etc), to create a scheduled event from within the start-up script which sets a time-refresh (eg in 5 secs), and place a further time refresh call (ie scehdule another run of the script after a further 5 secs has elapsed) at the end of the refrsh script.

This technique has the effect of a loop, yet leaves FileMaker free for other activity in between 'refresh' script calls. The down side, of course, being that it requires a license for the appriopriate plug-in...

This topic is 8134 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.