• Categories
  • Recent
  • Popular
  • Users
  • Search
  • FingerprintSwitcher
  • CustomServers
  • AutomationPlugins
Skins
  • Light
  • Default
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Quartz
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Slate
  • Solar
  • Superhero
  • Vapor
Collapse

Bablosoft

How to read by line with BAS?

Scheduled Pinned Locked Moved Support
5 Posts 3 Posters 1867 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    luciferdz
    wrote on last edited by
    #1

    I want to use BAS to read by line in a text or csv file. Example data:
    123.456.789
    321.654.456

    I only found read file, not read by line.
    Can you show me how?
    Sorry about my english, I'm not native
    Thank you very much: D

    1 Reply Last reply
    0
  • H Offline
    H Offline
    HNB
    wrote on last edited by HNB
    #2

    Hello
    Any update on how you solved the issue?
    I have the same problem now but can not figure out how to extract line by line.
    I have used read file to save string from file text in a variable.
    The problem is i can not import text in list because the jump to line disapear in the string

    look the Original text file :
    alt text

    And now look the result with read file
    alt text

    Its just like BAS delete the line info.

    Basically i would like to retrieve le line containing openvpn on the list
    Please help

    cparonnyC 1 Reply Last reply
    0
  • cparonnyC Offline
    cparonnyC Offline
    cparonny
    wrote on last edited by
    #3

    You can Use Parse Line command (under Tools section) For That

    0_1569853633476_af666603-d0c3-4226-8c1b-0f3b5de4b461-image.png

    1 Reply Last reply
    0
  • cparonnyC Offline
    cparonnyC Offline
    cparonny
    replied to HNB on last edited by cparonny
    #4

    @hnb Use Parse line command and do not use any header only valid data csv/txt column must be separate with

    ,  or ; or :
    

    Do Not use empty line in middle in your csv
    input text/csv data look like this
    0_1569854150000_063629c5-e69a-4846-a1b3-e91ab4f85218-image.png

    1 Reply Last reply
    0
  • H Offline
    H Offline
    HNB
    wrote on last edited by HNB
    #5

    Thank you for the interest @cparonny
    I ve forgot to precise that the result without "line ending symbol" is obtained with
    alt text
    This permit to give me all network card state.
    Then i need to choose the line containing "openvpn" and then check in this line if i find "Connected" or "Connecté"
    Then i break the loop to go through the script because i am sure the vpn has connected.

    In other word is there any function to add "line ending symbol" to string? like in write file parameters?

    1 Reply Last reply
    0

  • F

    how to bypass cptcha in BAS Automation android

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    150 Views
    No one has replied
  • A

    BAS Support

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    486 Views
    No one has replied
  • T

    How to read email header? what action would i use

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    485 Views
    No one has replied
  • S

    Want to Run BAS with alot of THREADS with getting on Same TREAD DATA?

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    851 Views
    No one has replied
  • Y

    Can BAS do few threaded functions in same time? My is crashing and I did literally everything

    Scheduled Pinned Locked Moved Support
    0 Votes
    1 Posts
    976 Views
    No one has replied
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Popular
  • Users
  • Search
  • FingerprintSwitcher
  • CustomServers
  • AutomationPlugins
  • Login

  • Don't have an account? Register

  • Login or register to search.