Pages:
Actions
  • #1 by poklius on 14 Jul 2016
  • I'm trying to load Horse Selection names from simple txt file, but it works only for names made of single word, if its 2+ words separated by single space, trigger doesn't catch those.
    For instance, txt looks like this:

    Tectonic
    Wishing Tree
    Draco
    Go Amber Go

    It works for Tectonic and Draco, but not for other 2. It works for all 4 if I import them manually by "Import Selections for auto-trading", but that's not an option for me, as I'm updating list constantly.

    Any ideas?
  • #2 by MarkV on 14 Jul 2016
  • Hi
    Try the txt file like this:

    "Tectonic"
    "Wishing Tree"
    "Draco"
    "Go Amber Go"
  • #3 by LarpHager on 14 Jul 2016
  • I use the txt file like this

    "Two Word Horsenames"  = brackets

    Onewordhorsenames        = no brackets

    being doing it like that for weeks with no issues

    larp

    • LarpHager
  • #4 by poklius on 15 Jul 2016
  • thanks guys, that works perfectly!
  • #5 by londolozi on 07 Mar 2017
  • I'm having trouble.
    My text file has "Noble Ethics"
    MFPro reads "noble ethics" and responds FALSE

    It won't recognize the capitals??
  • #6 by londolozi on 08 Mar 2017
  • It seems I am not the only one having problems with this process.
    https://community.welldonesoft.com/marketfeeder-triggered-betting/problems-reading-jockey-name-from-a-text-file/msg56276/#msg56276

    The 'is in file' function of MFPro does not work from a trigger looking for a Selections Name

  • #7 by MarkV on 08 Mar 2017
  • Hi londolozi
    just tested and looks ok, see screenshot attached
  • #8 by londolozi on 08 Mar 2017
  • ...?? No idea then
  • #9 by MarkV on 08 Mar 2017
  • Hi
    The only thing I can think of is you linked to similar topic from another user earlier, where the problem was the wrong quotation marks.
    Did you confirm you are ok on this?
     
    ”Selection Name” in the text file will be FALSE
    "Selection Name" in the text file will be TRUE
  • #10 by londolozi on 08 Mar 2017
  • Really? The Italic ones will make a difference. I don't know how to use different types.

    I got it working.
    I moved the in the file to the first condition and now it works.
    But I checked the program logs and they had the equal value but the result was FALSE.
    A mystery to me but perhaps it was the different quotation marks.

    Thanks
Pages:
Actions