Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2007
    Posts
    1,512

    Little help on timers

    Ok i been looking and i can't find a timer demo i sure i am blong or blind when i was not looking for one i could find one i just need a demo or code snipit that
    will fire a commanded every 10 mins on that given page as when i mini the app
    it jumps back to this page.

    thanks.

    I know its
    On Page
    page.starttimer(?????);

    On Close
    page.stoptimer

    but seems its not checking it evey 10 mins its checking soon as i mini. and makes it go nuts.

  2. #2
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,807
    I put:

    On show
    Page.StartTimer( 10 * 60 * 1000 ); -- 10 minutes...

    On Timer
    File.Run("Notepad.exe")

    On close

    Page.StopTimer()


    Fired off as expected.


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  3. #3
    Join Date
    Jul 2007
    Posts
    1,512
    Quote Originally Posted by jassing View Post
    I put:

    On show
    Page.StartTimer( 10 * 60 * 1000 ); -- 10 minutes...

    On Timer
    File.Run("Notepad.exe")

    On close

    Page.StopTimer()


    Fired off as expected.
    Problem is i have on perload i have the same command to get the mail
    so would this work

    My mini button jumps back to home page where the timer starts
    if put on perload
    if mini ~= true then
    Do
    end

    and mini button
    mini = true;
    page.jump();
    then wat u up do u think this will stop the conflict.

  4. #4
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,807
    You had to see this coming.. post an apz.


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

Posting Permissions

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