Time-limit demo
William de Smet
wdesmet at wanadoo.nl
Sun Feb 12 13:26:04 EST 2006
Hi Marty,
I was looking for the samething a while ago and found this in the
archives:
on preOpenStack
CheckingTime
end PreOpenStack
on CheckingTime
put the TotalTimeUsed of this stack into field "time"
add 1 to field "time"
if field "time" > 5 then # or whatever number you like
answer "Demo expired!."
quit
# or however you want to handle it
end if
set the TotalTimeUsed of this stack to field "time"
send "CheckingTime" to me in 60 seconds
end CheckingTime
Greetings,
William de Smet
More information about the use-livecode
mailing list