Page 2 of 8 FirstFirst 12345678 LastLast
Results 11 to 20 of 78

Thread: timer ext plugin now RRsched

  1. #11
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671
    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

  2. #12
    THE EXPERIMENTER
    Auto Apps:loading...
    carputer1's Avatar
    Join Date
    Sep 2007
    Location
    UK,Surrey
    Posts
    1,978
    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

  3. #13
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    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."

  4. #14
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    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."

  5. #15
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    Quote 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

  6. #16
    Maximum Bitrate Valheru's Avatar
    Join Date
    Jul 2007
    Location
    Ireland
    Posts
    604
    Quote Originally Posted by Blue ZX3 View Post
    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.
    Agreed ... Most car setups have GPS in them so Sunrise/Sunset should be calculated from GPS position .. definately not requiring an in car INET connection.
    -------------------------------
    The TEKNIK Family ... Teknik 1 & Teknik 2, Teknik T-3, Teknik v4.0, Teknik-X.

  7. #17
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    Don't mind the graphics, just something to play with. Is this something along the lines we looking for? On the right would be a probably a list of what cmd you would be executing. And that list could even consist of the skins exectbl file cmds.

    And I'm looking at this kinda of std for where the event would be saved as:

    "<Date>;<TIME>;<OCCURANCE>;<CMD>;<NOTE>"

    You tell me, Cause IDK, need some feedback!

    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."

  8. #18
    The Last Good Gremlin GizmoQ's Avatar
    Join Date
    Nov 2004
    Location
    St Louis
    Posts
    2,347
    Quote Originally Posted by Blue ZX3 View Post
    Don't mind the graphics, just something to play with. Is this something along the lines we looking for? On the right would be a probably a list of what cmd you would be executing. And that list could even consist of the skins exectbl file cmds.
    And a text entry box for adding your own commands, but they have to be in RRCode. As an example: if I typed "SENDMSG;My Application;Hello!" (without the quotes) in your textbox, it would run it as an RR Command.

    Quote Originally Posted by Blue ZX3 View Post
    And I'm looking at this kinda of std for where the event would be saved as:

    "<Date>;<TIME>;<OCCURANCE>;<CMD>;<NOTE>"
    Is there a list mode to display all active timers, with add, delete, edit buttons.
    HARDWARE: Fujitsu Stylistic ST5111w/WiFi and dock, internal Hitachi 500G HD, external 1TB HD, Sierra Wireless Aircard 550, DVD-RW, BoomzBox HD radio, XM Commander, Delorme GPS, Saitek X-52 Pro joystick, BluSoleil Bluetooth, TPMS, FB, Elm327

  9. #19
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    #1 Would be easy to add

    #2 Whoa there, slow down!! I had already thought about those if this is the direction it will go.

    This proj is just gettin off the ground and did some work on it and before I got too carried away with it, figured that it'd be a good idea to see if I'm heading in the direction that everyone wants.
    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."

  10. #20
    THE EXPERIMENTER
    Auto Apps:loading...
    carputer1's Avatar
    Join Date
    Sep 2007
    Location
    UK,Surrey
    Posts
    1,978
    loolks like the right direction to me so far , cheers blue

Page 2 of 8 FirstFirst 12345678 LastLast

Similar Threads

  1. nGhost 2.0.0 Final is out!
    By tripzero in forum LinuxICE
    Replies: 53
    Last Post: 07-16-2009, 09:16 PM
  2. pc reboot on sd startup
    By duanes7 in forum StreetDeck
    Replies: 3
    Last Post: 12-14-2007, 08:55 AM
  3. IRMAN plugin
    By knyarko in forum StreetDeck
    Replies: 3
    Last Post: 01-05-2007, 08:26 PM
  4. How do I use the Base plugin sources ?
    By guino in forum RR FAQ
    Replies: 1
    Last Post: 04-24-2006, 03:43 PM
  5. Winamp LCD display plugin / IRMan plugin - together?
    By Jarrod in forum Software & Software Development
    Replies: 9
    Last Post: 06-03-2002, 05:39 AM

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
  •