Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Send a variable from autoit to rr

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

    Send a variable from autoit to rr

    I try to create a little autoit program who sen to RR a variable :

    Code:
    $rr.execute("SETVAR;Myvar;1800")
    With skin tool a see well that Myvar = 1800.

    In a skin , i want to see in a label code the varial resul , 1800.

    How can i write my ligne in my skin file please !

    Thanks for any help !

  2. #2

  3. #3
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,838
    Thanks Enforcer,

    And if i want that my label code is :
    Code:
    L,593,313,137,21,255,255,255,12,"Lucida Sans Unicode:B","TEST",
    What must to be my command in autoit do define my variable ?

    Code:
    $rr.execute("SETVAR;????????;1800")

    Thanks

  4. #4
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,616
    Code:
    $rr.execute("SETVAR;Myvar;1800")





    Code:
    L,593,313,137,21,255,255,255,12,"Lucida Sans Unicode:B","=$myvar$",

  5. #5
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,838
    Quote Originally Posted by Enforcer View Post
    Code:
    $rr.execute("SETVAR;Myvar;1800")





    Code:
    L,593,313,137,21,255,255,255,12,"Lucida Sans Unicode:B","=$myvar$",
    Yes Enforcer, I have tried your example and that's ok .

    But I should like to have in my skin that :
    Code:
    L,593,313,137,21,255,255,255,12,"Lucida Sans Unicode:B","myvar",
    What must to be my script command please ?

  6. #6
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    That is the correct way: L,.......,"Lucida Sans Unicode:B","=$myvar$",

    The only other way is to do: L,.......,"Lucida Sans Unicode:B","CUSTOMxxxxxx",
    You just put 'CUSTOM' in front of whatever you want to call your label.

    Then your scrip just uses the cmd: $rr.execute("SETLABEL;CUSTOMxxxxxx;Wazaaap!")
    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."

  7. #7
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    You can also do these variations:

    Code:
    L,593,313,137,21,255,255,255,12,"Lucida Sans Unicode:B","$myvar$",
    with command:
    $rr.execute("SETVAR;Myvar;=1800")
    OR

    Code:
    L,593,313,137,21,255,255,255,12,"Lucida Sans Unicode:B","!MyVar",
    with command:
    $rr.execute("SETLABEL;!Myvar;1800")
    
    (! is the same as "CUSTOM" -- but it may not work on all languages).
    You can NOT do this:
    Code:
    L,593,313,137,21,255,255,255,12,"Lucida Sans Unicode:B","myvar",
    Because that is saying that the label should display a LABEL CODE called "myvar" which can only be an internal label code or a label code defined in an extension plugin.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  8. #8
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,838
    Thanks Blue , thanks Guino.

    It's excately that i wanted to know !

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

    Smile

    Hi Guino,

    I try to create a new program who send two variables to RR;
    I have tried that:
    Code:
    $rr.execute("SETVAR;CUSTOM_GMAILMESSAGE;YOU HAVE SEVERAL MAIL !!!")
    $rr.execute("SETVAR;CUSTOM_GMAILNUMBER;"&$a)
    with this line on my skin file:
    Code:
    L,19,48,411,169,255,255,255,30,"Arail:B","CUSTOM_GMAILNUMBER","CENTER"
    L,11,8,427,25,0,0,0,20,"Arial:B","CUSTOM_GMAILMESSAGE","CENTER"
    and also

    Code:
    $rr.execute("SETVAR;!GMAILMESSAGE;YOU HAVE SEVERAL MAIL !!!")
    $rr.execute("SETVAR;!GMAILNUMBER;"&$a)
    with this line on my skin file:
    Code:
    L,19,48,411,169,255,255,255,30,"Arail:B","!GMAILNUMBER","CENTER"
    L,11,8,427,25,0,0,0,20,"Arial:B","!GMAILMESSAGE","CENTER"
    Skintool see well my two variables but when i load my screen, nothing appear .

    I have tried these lines to finish:
    Code:
    $rr.execute("SETVAR;GMAILMESSAGE;=YOU HAVE SEVERAL MAIL !!!")
    $rr.execute("SETVAR;GMAILNUMBER;"=&$a)
    with this line on my skin file:
    Code:
    L,19,48,411,169,255,255,255,30,"Arail:B","$GMAILNUMBER$","CENTER"
    L,11,8,427,25,0,0,0,20,"Arial:B","$GMAILMESSAGE$","CENTER"
    And it is ok for me .
    So the two first option don't run for me !

  10. #10
    MGD
    MGD is offline
    FLAC
    Auto Apps:loading...
    MGD's Avatar
    Join Date
    Feb 2005
    Location
    Los Angeles
    Posts
    1,756
    In autoit
    Code:
    $rr.execute("SETVAR;CUSTOM_GMAILMESSAGE;YOU HAVE NEW MAIL!")
    $rr.execute("SETVAR;GMAILNUMBER;" &$a)
    In your skin

    Code:
    L,19,48,411,169,255,255,255,30,"Arail:B","=$CUSTOM_GMAILMESSAGE$","CENTER"
    L,11,8,427,25,0,0,0,20,"Arial:B","=$GMAILNUMBER$","CENTER
    "

Page 1 of 2 12 LastLast

Similar Threads

  1. Lsx Void 3.0
    By liquid_smoke in forum RR Skins No Longer Supported
    Replies: 3171
    Last Post: 12-11-2013, 03:05 AM
  2. RR Video Issue.....
    By grnLude in forum Road Runner
    Replies: 9
    Last Post: 05-20-2008, 12:24 PM
  3. feat req: RR path as system variable
    By liquid_smoke in forum Road Runner
    Replies: 0
    Last Post: 07-19-2006, 07:07 PM
  4. Replies: 0
    Last Post: 06-11-2006, 05:49 PM
  5. status update....
    By 0l33l in forum PowerVoice
    Replies: 17
    Last Post: 05-05-2005, 12:22 PM

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
  •