Results 1 to 4 of 4

Thread: Using GetInfo from SDK

  1. #1
    FLAC
    Auto Apps:loading...
    moahdib's Avatar
    Join Date
    Jul 2000
    Posts
    1,017

    Using GetInfo from SDK

    I searched through and can't figure this one out...
    On every .skin file, i have a custom label to tell me which skin is loaded.

    For audioplayer.skin it is:
    L,0,0,0,0,,,,,,"CUSTOMLABEL","AUDIO"
    for navi skin:
    L,0,0,0,0,,,,,,"CUSTOMLABEL","NAVI"
    etc...

    I can read this variable without any problems from flash by using
    var=_root.CUSTOMLABEL
    and it will give me "audio" or "navi" depending on which screen its on.

    but I can't get that variable from Autoit.

    I created the RR object in autoit by using

    $rr.ObjCreate("RoadRunner.SDK")

    Now to get the variable I have tried:

    $var=$rr.GetInfo("=$CUSTOMLABEL$")
    $var=$rr.GetInfo("CUSTOMLABEL")
    $var=$rr.GetInfo("=!LABEL")
    $var=$rr.GetInfo("=$!LABEL$")
    $var=$rr.GetInfo("!LABEL")

    and none of these work.. I'm kinda lost on this.

    If i do a
    $var=$rr.GetInfo("TRACKNAME")
    I get the current playing track, no problems.

    Anyone have any suggestions?
    04 Acura TL w/ core2duo 2ghz laptop w/ 1gb RAM on a docking station.

    Fast car, fast PC. ;)

    http://www.arcdesigns.net/carpc/

    My TL CarPC ver2

    FSR Flash Skin w/ moving weather maps

  2. #2
    FreeDrive Creator CdRsKuLL's Avatar
    Join Date
    Feb 2004
    Location
    Manchester
    Posts
    3,513
    Have you tried using RRSCREEN , it holds the current skin name thats showing.. ie... audio_player.skin

    ie...

    IF (_root.RRSCREEN == "audio_player.skin") {title = "Audio Player";}
    or
    IF RRSDK.GetInfo("RRSCREEN") = "audio_player.skin" Then ....

    CdR

  3. #3
    FLAC
    Auto Apps:loading...
    moahdib's Avatar
    Join Date
    Jul 2000
    Posts
    1,017
    omfg I had NO idea that label existed...
    Thanks a million CDR.. yet again =)
    04 Acura TL w/ core2duo 2ghz laptop w/ 1gb RAM on a docking station.

    Fast car, fast PC. ;)

    http://www.arcdesigns.net/carpc/

    My TL CarPC ver2

    FSR Flash Skin w/ moving weather maps

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

Similar Threads

  1. iGuidance SDK
    By Quattro in forum GPS
    Replies: 57
    Last Post: 06-23-2006, 08:37 AM
  2. SDK commands over the serial port ????
    By tolisn in forum Road Runner
    Replies: 4
    Last Post: 12-14-2005, 01:03 PM
  3. Developing Touchscreen SDK -- need feedback!
    By kevlar in forum Software & Software Development
    Replies: 3
    Last Post: 07-14-2005, 06:55 PM
  4. Replies: 9
    Last Post: 03-31-2005, 03:40 AM
  5. Destinator 3 SDK features working
    By loscooby in forum GPS
    Replies: 4
    Last Post: 09-21-2004, 01:46 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
  •