Announcement

Collapse
No announcement yet.

timer ext plugin now RRsched

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • timer ext plugin now RRsched

    as suggested by blue , who will monitor this thread and is willing (time allowing) to make changes where needed and are possiable to add.

    thread rename , due to the change of the plugin it is no longer just a
    timerexec, it is now a calender of sorts , with the ability to set times and different cmds to anything in your exectbl.ini

    Current coding format

    you can use this <DATE>;<TIME>;<OCCURANCE>;"<ANY NUMBER OF CMDS, SEP BY "#" >";<Name of skin ( needed/wanted? ) >

    Example would be like this:

    09/08/08;13:25;O;"SENDMGS;MYAPP;HELLO||AUDIO#DVD#VIDEO"; DFX 4.0

    This makes:

    Date = 09/08/08
    Time = 1:25 AM
    Occ = Once
    First Cmd = "SENDMGS;MYAPP;HELLO||AUDIO"
    Second Cmd = "DVD"
    Third Cmd = "Video"

    If no skin name, will trigger the cmds on time set for all skins
    adding the skin name to the end of the line will make the cmds on time set
    only work in that skin. Indicators added to the days to indicate a an event has been inputted on that day.

    so far achieved,

    Month calendar days display if event(s) for that day.
    Clicking on an evented day brings up a listing of days events
    Clicking on the month at the top of calendar brings up a listing of all events for that month with -/+ months on that scn to nav around.
    can now set time for each event via custon numosk or hours and minutes buttons .
    you can now also set when you want your event to be triggered by selecting day of the week (mon.tues,wed,thur so on), yearly,monthly,so on.
    adding events or editing not implement as of yet.

    plugin once fully released, to set times for theme changes.
    set an alarm for appointments (in chucks case TV shows lol). Additional coding will be needed to run some ideas , but this plugin has opened up the possabilitys for skinners and users alike,

    latest beta test from this post Here


    Suggestions made:

    Genric timer
    execute exectbl cmds
    Time checking on start of Road Runner
    support for Hibination and standby
    Settings saved to plugins own ini
    Multiple cmds can be set for each time


    will update as i find out more.
    Riderunner / Genesis
    Plugin Breaker in test BassRR Plugin Player, Wifiman_NET
    New Home for Genesis & BassRR :adding to site ,, Hellfyre night
    Bassrr Beta Release :Version 1.3.7
    Movie_info Release :Version 3.1.0
    Wifiman_NET:Version 1.0.0

    Every Future, Needs A Beginning

  • #2
    why not make it a generic timer ... that can read one or one hundred events stored in an INI file and then launch an EXECTBL cmd at each event ...
    -------------------------------
    The TEKNIK Family ... Teknik 1 & Teknik 2, Teknik T-3, Teknik v4.0, Teknik-X.

    Comment


    • #3
      That would be the general idea...
      RideRunner...The #1 FE, PERIOD.

      Current Project: DFXVoice [v1.0 Released]
      Next in line: RRMedia v2.0

      DFX 5.1.1 Skin
      Appstore Link

      My RideRunner Plugins
      RRMedia
      RRExtended
      DFXVoice

      "There are no bugs - only undocumented features."

      Comment


      • #4
        cool ...
        -------------------------------
        The TEKNIK Family ... Teknik 1 & Teknik 2, Teknik T-3, Teknik v4.0, Teknik-X.

        Comment


        • #5
          The problem with using this TimeExec.dll for day night setting is if you open RR in between these times set it will not trigger your commands.

          You would have to do some fancy RR coding in the ExecTBL.ini file to get it to work for day/night.

          I use it for alarm clock to play sounds, go to player and play a station, play a preset in audio, play TV, record mic or record a player. Also a hourly chime and speak hourly weather and more.
          2001 S10 ZR2

          Chucks Skin - to old

          Comment


          • #6
            ...with the ability to back check times to see if any of user set events have occurred (i.e. coming out of hibernation, powering up, etc.)
            Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

            Comment


            • #7
              yes agreed chuck as stands it dose not check onskinstart this will have to be addressed
              Riderunner / Genesis
              Plugin Breaker in test BassRR Plugin Player, Wifiman_NET
              New Home for Genesis & BassRR :adding to site ,, Hellfyre night
              Bassrr Beta Release :Version 1.3.7
              Movie_info Release :Version 3.1.0
              Wifiman_NET:Version 1.0.0

              Every Future, Needs A Beginning

              Comment


              • #8
                Very esay to add/do...next
                RideRunner...The #1 FE, PERIOD.

                Current Project: DFXVoice [v1.0 Released]
                Next in line: RRMedia v2.0

                DFX 5.1.1 Skin
                Appstore Link

                My RideRunner Plugins
                RRMedia
                RRExtended
                DFXVoice

                "There are no bugs - only undocumented features."

                Comment


                • #9
                  I don't know, how many events are there? What do you want it to do? I have only 2 events to trigger, this is day and night switching. For that I wrote the auto background changer. It changes the skins background and gamma setting sunrise and sunset times or custom times set in skin.ini. No matter when you start RR or come out of hibernation/standby, it will trigger the event.

                  Comment


                  • #10
                    this is 1 reason yes , i do like ai but a dll is mch better , if the timer is updated to todays standards then all these plugins that may need a timer feature like reminders don't have to have a timer built in them and you can set triggers off for others events,

                    there has to many reason on why update this plugin i just feel it dose need updating the way some of these skins are going , its another feature which can be used.
                    Riderunner / Genesis
                    Plugin Breaker in test BassRR Plugin Player, Wifiman_NET
                    New Home for Genesis & BassRR :adding to site ,, Hellfyre night
                    Bassrr Beta Release :Version 1.3.7
                    Movie_info Release :Version 3.1.0
                    Wifiman_NET:Version 1.0.0

                    Every Future, Needs A Beginning

                    Comment


                    • #11
                      Here is what I came up with using MGD’s code as a start.

                      It just reads sunrise and sunset from skin.ini then it sends DAYTIME and NIGHTTIME so you can do whatever in the ExecTBL.ini file you want.

                      So maybe someone could make a X,Plugin something simple like this.


                      Code:
                      #NoTrayIcon
                      #include <date.au3>
                      
                      $DayNightexe = "DayNightRUN"
                      If WinExists($DayNightexe) Then Exit
                      AutoItWinSetTitle($DayNightexe)
                      
                      Sleep(50000)
                      
                      If WinExists("RoadRunner") Then 
                      	$RR = ObjCreate("RoadRunner.SDK")
                      	sleep (500)
                      	$SUN = "Firstrun"
                      Else
                      	MsgBox(0, "Error", "This Program Requires Road Runner Running !", 5)
                      EndIf	
                      
                      While 1
                      	If WinExists("RoadRunner") Then	
                      		$PC_time = _NowTime(4)
                      		$AM_time = $RR.getinfo("=$SUNRISE$")
                      		$AM_time = StringTrimRight($AM_time,3)
                      		$AM_time = "0" & $AM_time
                      		$PM = $RR.getinfo("=$SUNSET$")
                      		$PM_Hour = StringTrimRight($PM, 6)
                      		$PM_Hour = $PM_Hour +12
                      		$PM_min = StringTrimLeft($PM,2)
                      		$PM_time = $PM_Hour &":"& $PM_min
                      		$PM_time = StringTrimRight($PM_time,2)
                      		
                      		If $PC_time >= $AM_time And $PC_time < $PM_time And ($SUN = "Firstrun" Or $SUN = "NIGHT") Then
                      			$RR.Execute("DAYTIME")
                      			$SUN = "DAY"
                      		
                      		ElseIf $PC_time >= $AM_time And $PC_time > $PM_time And ($SUN = "Firstrun" Or $SUN = "DAY") Then
                      			$RR.Execute("NIGHTTIME")
                      			$SUN = "NIGHT"		
                      			
                      		ElseIf $PC_time <= $AM_time And $PC_time < $PM_time And ($SUN = "Firstrun" Or $SUN = "DAY") Then
                      			$RR.Execute("NIGHTTIME")
                      			$SUN = "NIGHT"		
                      			
                      		EndIf
                      	Else
                      		Exit
                      	EndIf	
                      	sleep (70000)
                      WEnd
                      2001 S10 ZR2

                      Chucks Skin - to old

                      Comment


                      • #12
                        i have just been having a long think about this , i don't think a theme changer is what we really want , yes it can be a func i suppose but the main func i think should be the timer , its the way we want to use it is the question?

                        i will update 1st post to explain better i see i should of used example theme changer not as a theme changerlook at 1st post for my idea of updateing this is an open discussion about a pos re-build of an old plugin
                        Riderunner / Genesis
                        Plugin Breaker in test BassRR Plugin Player, Wifiman_NET
                        New Home for Genesis & BassRR :adding to site ,, Hellfyre night
                        Bassrr Beta Release :Version 1.3.7
                        Movie_info Release :Version 3.1.0
                        Wifiman_NET:Version 1.0.0

                        Every Future, Needs A Beginning

                        Comment


                        • #13
                          Well, I personally would not use any static sunrise/set times, as they at some time would have to be changed as the season changed (ie DST) and would also not use the times from the weather as that req's inet and not all of us(ME) have inet in the car but most have GPS which could be used to create those times as my daynightplugin does if there GPS is active . So far from what I see here, it might just make it easier to expand my other plugin to be used for multi ideas, that and all the grunt work is already done.
                          RideRunner...The #1 FE, PERIOD.

                          Current Project: DFXVoice [v1.0 Released]
                          Next in line: RRMedia v2.0

                          DFX 5.1.1 Skin
                          Appstore Link

                          My RideRunner Plugins
                          RRMedia
                          RRExtended
                          DFXVoice

                          "There are no bugs - only undocumented features."

                          Comment


                          • #14
                            OK, my brain needs something to do...
                            RideRunner...The #1 FE, PERIOD.

                            Current Project: DFXVoice [v1.0 Released]
                            Next in line: RRMedia v2.0

                            DFX 5.1.1 Skin
                            Appstore Link

                            My RideRunner Plugins
                            RRMedia
                            RRExtended
                            DFXVoice

                            "There are no bugs - only undocumented features."

                            Comment


                            • #15
                              Originally posted by Blue ZX3 View Post
                              OK, my brain needs something to do...
                              Uh...hello?

                              heh

                              :P
                              Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

                              Comment

                              Working...
                              X