Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 17
  1. #1
    Join Date
    Mar 2008
    Location
    Missouri
    Posts
    39

    Total Clock Function Utility

    I am trying to create a "do all, say all" clock utility and have most things working. This is my first go at a AM7 project and would love a little help. The countdown and alarm functions seem to be kickin me in the tail....

    I have tried severl different combo's here and I know I am just not putting stuff in the right area or missing something very obvious.

    Any help would be great...
    Attached Files

  2. #2
    Join Date
    Feb 2001
    Location
    Washington State
    Posts
    120
    On your Alarm button, Button9, the Masked Input returns a table, not a string, and you'll need to make the other labels invisible before displaying the alarm time, so I changed it as follows:
    Code:
    tbl_result_alarm = Dialog.MaskedInput("Alarm", "Your alarm time:", "##:##:##", "12:00:00", MB_ICONQUESTION, " ");
    if tbl_result_alarm ~= nil then
    Label.SetText("lbl_Alarm", tbl_result_alarm.Displayed);
    Label.SetVisible("lbl_Time", false);
    Label.SetVisible("lbl_Timer", false);
    Label.SetVisible("lbl_Date", false);
    Label.SetVisible("lbl_Duration", false);
    Label.SetVisible("lbl_Alarm", true);
    end
    Hope that helps a bit. pj

  3. #3
    Join Date
    Mar 2008
    Location
    Missouri
    Posts
    39
    pjborg,

    Thanks for that code! I used it for the Timer button as well and now all the buttons are working proper.

    Now I just need to work on hte functionality of the Set Alarm and Timer...

    Thanks again, that worked great...
    Attached Files

  4. #4
    Join Date
    Mar 2008
    Location
    Missouri
    Posts
    39

    Dif pages?

    Do I need to make all these on dif. pages if I want them all to work at the same time? Since I am calling start timer with each option from the page do I need to have a page for each?

  5. #5
    Join Date
    Jul 2002
    Location
    Just South of Reality
    Posts
    778

    search 'alarm'

    Here's a post from a few month's ago by longedge

    very nice example of an alarm with digital and analog clock.

    http://www.indigorose.com/forums/sho...1&postcount=19

    hth

  6. #6
    Join Date
    Mar 2008
    Location
    Missouri
    Posts
    39

    Alarm Now working

    Well I got the alarm working on page 2. Its in 24 hour time now, any suggestions on getting it into 12 hour and using the AM/PM would be great.

    I still havent got the countdown timer working yet. But I still think I might have to put each clock function on a new page because when I, say, select the time it starts the clock on that page so the stopwatch it running already when you hit it...

    Would also love to be able to load my own sound as the alarm...

    I will keep pluggin away at this and uploading my latest...
    Attached Files

  7. #7
    Join Date
    Mar 2008
    Location
    Missouri
    Posts
    39

    More Better!

    Well yet another... I cant quit! Okay this is my last post tonight...

    I almost have the file load for the alarm sound but I am missing something.

    Thanks to all!
    Attached Files

  8. #8
    Join Date
    Jul 2007
    Posts
    1,512
    Quote Originally Posted by mrdmx1024 View Post
    Well yet another... I cant quit! Okay this is my last post tonight...

    I almost have the file load for the alarm sound but I am missing something.

    Thanks to all!
    still missing alot be seems to be a good idea



  9. #9
    Join Date
    Mar 2008
    Location
    Missouri
    Posts
    39
    I know there is still a lot to do... its my very first project and I am having a great time with it... Got any input for me?

  10. #10
    Join Date
    Aug 2003
    Posts
    2,427
    Quote Originally Posted by mrdmx1024 View Post
    Well yet another... I cant quit!
    ...and it only gets worse - Indigo Rose (in the guise of AMS) has been the only thing to come between me and my wife in 40 years

  11. #11
    Join Date
    Jul 2007
    Posts
    1,512
    ya simply keep to it you seem to have a nice project get some Open source images to make it look sexy and there you go i think you will have it in th bag always look around the site at example that you might be able to intogreat into your project

    any ya AMS dose that once you start you might as well get married to the software lol





    rex

  12. #12
    Join Date
    Mar 2008
    Location
    Missouri
    Posts
    39

    Okay V5

    Well I threw together a quick interface artwork and here is what I have up till now.

    Countdown or Timer code still missing.

    I have the alarm working but no file load and no AM/PM.
    Probably would be good to put a little more code with the data input box for errors and such but its working for now..

    Seems that when it changes pages the timer stops on that page.... I put everything on seperate pages hoping that they would all run on different timers but they dont seem to be doing that at all... Stumped on that one for sure!!! Would be great to be able to start a stopwatch then go back to the Time page or some other function, then back to check on the stopwatch...
    Attached Files

  13. #13
    Join Date
    Aug 2003
    Posts
    2,427
    Quote Originally Posted by mrdmx1024 View Post
    I put everything on seperate pages
    Just on this one point - I moved away from using separate pages routinely quite a long time ago.

    Most of the page objects can be re-used by loading content dynamically and when I can't do that I hide and show objects as appropriate.

    Having said that, we all find what's best for our own purposes, that's just my preference. It suits me because my projects tend to be 'content based' usually videos which lend themselves particularly well to my method.

  14. #14
    Join Date
    Mar 2008
    Location
    Missouri
    Posts
    39

    Pages

    Well I had it all on one page... I was hiding what needed to be hid and all that but I found that when I would run another clock function it would stop the other. So I thought the pages would run seperate of each other but that doesnt work either....

  15. #15
    Join Date
    Aug 2003
    Posts
    2,427
    Sorry I was wandering off topic

    I was talking in general terms and not specifically about your project.

    I think that for most of us, certainly for me, it's true to say that it takes some time to appreciate the fact that objects can be re-used and that you can sometimes reduce a project from dozens of pages to just two or three by doing it.

Similar Threads

  1. buttons disappear
    By mgokkaya in forum AutoPlay Media Studio 6.0
    Replies: 5
    Last Post: 04-11-2008, 02:40 PM
  2. Another tough one... Interaction between Web and AMS
    By Agent Jones in forum AutoPlay Media Studio 5.0
    Replies: 13
    Last Post: 08-18-2005, 02:10 PM
  3. Bizarre Callback Function Behaviour - Can anyone help?
    By SRJ in forum AutoPlay Media Studio 5.0
    Replies: 3
    Last Post: 06-30-2004, 09:16 PM
  4. Function: Resize & Center an Image
    By kpsmith in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 05-17-2004, 01:36 PM

Posting Permissions

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