Alpha Video Training
Results 1 to 3 of 3

Thread: Is this time function possible?

  1. #1
    Member
    Real Name
    David Montgomery
    Join Date
    May 2000
    Location
    Cedar Hill, TX
    Posts
    226

    Default Is this time function possible?

    'Autoexec
    ui_beep(0)
    debug(1)
    start = toseconds(time())
    duration = toseconds(time())

    While duration - start

  2. #2
    Member
    Real Name
    Jack Wheeler
    Join Date
    Apr 2000
    Posts
    570

    Default RE: Is this time function possible?

    Hi David, seems to me that you are using the same time for the start and duration variables. You should have some basis for these values. But if they are right after each other then there is little chance that the time will be greater than 15. What are you trying to do? You are also playing your scripts twice. Jack

  3. #3
    Member
    Real Name
    David Montgomery
    Join Date
    May 2000
    Location
    Cedar Hill, TX
    Posts
    226

    Default RE: Is this time function possible?

    Thanks for the response.

    I am trying to create a script that will play a script, push a button, etc., when a determined amount of time passes, if the user does not make a choice.

    I can make the start and duration as written work with the WHILE function. But if an action is placed inside the WHILE that requires a response from the user from a message box, etc. I don't know how to cause the clock to continue to tick for the duration variable.

Similar Threads

  1. Time function
    By deputy956 in forum Alpha Five Version 4
    Replies: 9
    Last Post: 02-01-2016, 01:01 PM
  2. Time clock function
    By ggreb in forum Alpha Five Version 5
    Replies: 8
    Last Post: 03-02-2005, 04:01 PM
  3. Time Function
    By Paul Kendall in forum Alpha Five Version 5
    Replies: 2
    Last Post: 12-05-2004, 05:03 PM
  4. Function to Trace Script Execution Time
    By Peter.Greulich in forum Code Archive
    Replies: 0
    Last Post: 04-19-2004, 09:03 AM
  5. Using Time function in a saved operation?
    By Themis Skiathitis in forum Alpha Five Version 4
    Replies: 3
    Last Post: 02-07-2001, 06:08 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •