Using "send...in <time>" wirh private commands?

Richard Gaskin ambassador at fourthworld.com
Sat Nov 7 12:13:58 EST 2015


This works:

command SomeTimer
   DoSomething
   send "SomeTimer" to me in 500 millisecs
end SomeTimer

This doesn't work:

private command SomeTimer
   DoSomething
   send "SomeTimer" to me in 500 millisecs
end SomeTimer

I can kinda understand why, but I'd like to be able to manage a timer 
from within a library without exposing the timer to other scripts.

Anyone know of a trick for that?

I suppose I could look at line -2 of the executionContexts, but that 
feels "unclean".

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the use-livecode mailing list