Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Displaying only one set of details 1st day of Weather (5day)

  1. #11
    Variable Bitrate Deric's Avatar
    Join Date
    Sep 2006
    Posts
    273
    Correct - I just noticed my byvar code is backwards plus I'm not getting a true result back from strcomp

    Quote Originally Posted by Blue ZX3 View Post
    So what you wanted was only the day OR night icon not the current. What your looking for would be like a "wdaynighticon" that would act like the posted ind code.

    [ Edit ]

    Like this right?

    "wdaynighticon" - Shows either the day or night weather icon, if day info not availible (>~4PM) then shows the night icon

  2. #12
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    That has been added, but don't know if it'll make this release whenever it does get released..
    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."

  3. #13
    Variable Bitrate Deric's Avatar
    Join Date
    Sep 2006
    Posts
    273
    I'll wait for the update since I can't get it to work and I was hoping to use something similar for setting images elsewhere in the skin. It looks like I'm not getting the variable ISNA set to something. If I set a label to "$ISNA$" I get no status and it seems the ByVar command defaults to TRUE. This was the code I was using

    LOAD;WEATHER_DETAIL.SKIN||SETVAR;DAYHI;w_0day_hi|| EVAL;ISNA;strcomp("N/A";"$DAYHI$")||BYVAR;ISNA;SETVAR;W0ICON;w0nightico n<<SETVAR;W0ICON;w0dayicon",

    I put label commands for $DAYHI$ amd $ISNA$ and only DAYHI is showing with a temp value (75) on my weather_detail.skin. ISNA shows nothing.

  4. #14
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    Here is not only a working code, but also takes into account F & C temp labels Part of the problem was that the "w_0day_hi" label also appends the correct temp format to the "N/A" and causing all the codes above to not work correctly, to which I have to adj the PI's code as i too just noticed this...

    I moved the load the end of the cmd so that when the screen is loaded the weather icon's var is already set to use the correct image. This is of course assuming that your coming from the weather screen or issued a "relaodweather" cmd before hand to populate the "w_0day_hi" label..


    Code:
    "Weather_5Day","EVAL;ISINTL;strcomp("USA";"$weatherunits$")||BYVAR;ISINTL;SETVAR;N/AFC;N/A C<<SETVAR;N/AFC;N/A F||SETVARBYCODE;DAYHI;w_0day_hi||EVAL;ISNA;strcomp("$N/AFC$";"$DAYHI$")||BYVAR;ISNA;SETVAR;W0ICON;w0dayicon<<SETVAR;W0ICON;w0nighticon||LOAD;WEATHER_DETAIL.SKIN"
    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
    Variable Bitrate Deric's Avatar
    Join Date
    Sep 2006
    Posts
    273
    Thanks Blue! . I figured it might be something with the value and even tried a couple other weather items but gave up. I was actually about to go through the old source code to see if I could find the issue.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Easy to skin?
    By Pewter Phoenix in forum Software & Software Development
    Replies: 4
    Last Post: 11-07-2005, 05:13 PM
  2. Easy way to view and play DVD images?
    By parvo99 in forum FrodoPlayer
    Replies: 0
    Last Post: 10-12-2005, 06:13 PM
  3. Easy and Cheap 12v-12v supply?
    By KyleYankan in forum Power Supplies
    Replies: 9
    Last Post: 06-29-2005, 06:55 AM
  4. Noob easy question!
    By MrLister in forum Newbie
    Replies: 6
    Last Post: 04-23-2005, 01:05 PM
  5. Easy question for most of you..
    By Tirade in forum Power Supplies
    Replies: 1
    Last Post: 03-27-2005, 08:57 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
  •