Skip to main content
Question

Time Delays in Scripts?

  • December 3, 2020
  • 0 replies
  • 101 views

Forum|alt.badge.img+6
With formula's, specifically URL formulas, is there a way to add some kind of delay?  I need something to give my automation time to run.  It would also be useful to have some kind of UI feed back for the user.  It would be great if we could even display a countdown on the screen.

"Processing... 5... 4... 3... 2... 1... Reloading!"

Something like that.

------------------------------
John Ross
------------------------------
This topic has been closed for replies.

MarkShnierYou
Forum|alt.badge.img+24
If it's a single URL call you can use this syntax, where you have previously defined the URL API.  But it will not work when there is a succession of URL calls all nested with the "&rdr=" redirect syntax.

In the example below there is a 2 second delay to refresh the page. But no countdown timer.


// slow refresh
"javascript:" &
"$.get('" &
$URL &
"',setTimeout(function(){" &
"location.reload(true);" &
"},2000));"
& "void(0);"

------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------