Results 1 to 4 of 4

Thread: How to read the value of a slider

  1. #1
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,849

    Smile How to read the value of a slider

    Hello,
    I need a little help with the slider as GPSSIGNAL .
    I should to read the value of the GPSSIGNAL into an autoit script .
    So, i have tried that without succes:
    Code:
    $myvar = $rr.getinfo("GPSSIGNAL")
    and that without succes :
    Code:
    $myvar = $rr.getuservar("GPSSIGNAL")
    What would be the good way to read this value and put it into a variable ?

    Great thanks

  2. #2
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,702
    Blog Entries
    1
    I am working to figure out why that I cant get a slider code now from RR.... but in the mean time, it may just be far easier anyways to use the GPSSAT label to work with:

    Code:
    $rr = ObjCreate("RideRunner.sdk")
    $RRGPSSignall = $rr.getinfo("gpssat")
    MsgBox(0, '', $RRGPSSignall)
    This will give you a number from 0 to 12 depending on how many satellites you are acquiring.

    If you read the raw slider value, it would give you a number from 0 to 65236 that you would have to decipher.
    Last edited by JohnWPB; 09-17-2011 at 04:59 PM.
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  3. #3
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    The correct way is...
    Code:
    $myvar = $rr.getinfo("SLD;GPSSIGNAL")
    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. #4
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,849
    Quote Originally Posted by Blue ZX3 View Post
    The correct way is...
    Code:
    $myvar = $rr.getinfo("SLD;GPSSIGNAL")
    Thanks BlueZX3 and John :-)

Similar Threads

  1. Volume silder positioning needs to be taken out!
    By bigpimpn79 in forum StreetDeck
    Replies: 16
    Last Post: 03-01-2007, 08:10 PM
  2. Please Read
    By spacegravity4me in forum LCD/Display
    Replies: 1
    Last Post: 01-28-2007, 01:06 PM
  3. What to read?
    By Paradigm_Guy in forum Newbie
    Replies: 1
    Last Post: 11-07-2004, 12:50 AM
  4. SBC #2....please READ!
    By cenwesi in forum General Hardware Discussion
    Replies: 32
    Last Post: 04-25-2002, 06:13 AM
  5. Ok ppl...Please READ!
    By cenwesi in forum General Hardware Discussion
    Replies: 16
    Last Post: 11-05-2000, 02:43 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
  •