Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: problem with "WRITETOFILE"

  1. #1
    Low Bitrate topjohn's Avatar
    Join Date
    Oct 2009
    Location
    France /Wissous
    Posts
    103

    problem with "WRITETOFILE"

    Hello,

    I have a problem with the "WriteToFile"

    When I write this:
    WriteToFile; $SKINPATH$ toto.txt; = "toto, toto, toto"

    and when I open the file toto.txt, there to write it:
    "tot

    In fact I think we can not write a comma in quotes because when I put the same function without any point he writes well in the txt file.

    example:
    WriteToFile; $SKINPATH$ toto.txt; = "totototototo"

    here is what he has to file toto.txt:
    "totototototo"

    It's good that the problem is the comma, is there a solution to this problem?


    Greetings.

  2. #2
    THE EXPERIMENTER
    Auto Apps:loading...
    carputer1's Avatar
    Join Date
    Sep 2007
    Location
    UK,Surrey
    Posts
    1,979
    put in skin.ini

    com=,

    then in your "toto$com$toto$com$"
    Riderunner / Genesis
    Plugin Breaker in test BassRR Plugin Player, Wifiman_NET
    New Home for Genesis & BassRR :adding to site ,, Hellfyre night
    Bassrr Beta Release :Version 1.3.7
    Movie_info Release :Version 3.1.0
    Wifiman_NET:Version 1.0.0

    Every Future, Needs A Beginning

  3. #3
    Low Bitrate topjohn's Avatar
    Join Date
    Oct 2009
    Location
    France /Wissous
    Posts
    103
    YESSSS

    thank you very much, I tried it in a variable, but it did not work.

    in skin.ini is ok.

  4. #4
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,266
    NO PROBLEM here,...

    this works fine

    WRITETOFILE;E:\TEST.INI;="BLA,BLA"

    in my file is:
    "BLA,BLA"



    since you provide no information, i can only suggest use the newest riderunner
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  5. #5
    MGD
    MGD is offline
    FLAC
    Auto Apps:loading...
    MGD's Avatar
    Join Date
    Feb 2005
    Location
    Los Angeles
    Posts
    1,756
    Now, why on earth would you need "BLA,BLA" in a skin file?

  6. #6
    Low Bitrate topjohn's Avatar
    Join Date
    Oct 2009
    Location
    France /Wissous
    Posts
    103
    I do not want to write to a file. INI, I want to write in a txt file and confirm that if we do not place the comma in the ini file, it does not work

  7. #7
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,266
    sure it does!

    WRITETOFILE;E:\TEST.txt;="BLA,BLA"

    will write, to a file named "test.txt" on root folder of drive E, with the contents:

    "BLA,BLA"

    (including the qoutes, which must be there if you want , inside)

    and again, since you provide no infomation, i will suggest you use the latest riderunner
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  8. #8
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    The issue here is the use of comma WITH quotes in the manner you're using. Generally you should have no issue but if you do, you can use this trick:

    "SETVAR;COMMA;,||ADDTOFILE;C:\Test.txt;="boo$comma $boo"" however these versions should work directly without needing anything:

    "ADDTOFILE;C:\Test.txt;='boo,boo'"
    "ADDTOFILE;C:\Test.txt;="boo","boo""

    If you execute the command from a plugin/script (i.e. skintool) it should work in the original format. It is just hard to think of all the possible uses for the command when we make it.
    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."

  9. #9
    Low Bitrate topjohn's Avatar
    Join Date
    Oct 2009
    Location
    France /Wissous
    Posts
    103
    Thank you Guino

    I have another problem, I just installed on my PC windows7 home, but when I run RR, there must be problems right director, because I normally IBUSRR which launches at startup with the "RUNQ "in Exectbl.

    But it does not start, so I tried to boot RR as an administrator, but it does not start.
    By cons with Skintool run as administrator, it works, it nevertheless starts IBUSRR.

    No problem in XP

  10. #10
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,266
    rr when started will automatically ask for elevation... its built into the manafest... if you set it .exe to run as admin, you wont get nagged
    but that has nothing to do with IBUSSRR... which is 3rd party
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

Page 1 of 3 123 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 09-13-2007, 02:28 PM
  2. "writetofile" "addtofile"
    By Chuck in forum Road Runner
    Replies: 19
    Last Post: 10-10-2006, 07:48 PM
  3. Replies: 5
    Last Post: 06-20-2006, 01:20 PM
  4. Replies: 2
    Last Post: 08-09-2004, 03:49 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
  •