-
In our script we use a list of "Sources". In our case siren locations: def list = ["CE_BO_HESP01","CE_BO_HESP02","CE_BO_HESP03","CE_BO_HESP04",.........] Is there a way to read these automatically from a text file like this: SirenenID Is the readFile command an option? def list = readFile("C: /.../.../sirenen.txt").readLines() Regards |
Beta Was this translation helpful? Give feedback.
Answered by
berensc
Sep 27, 2024
Replies: 1 comment
-
def list = new File("C: /.../.../sirenen.txt").text.readLines() works |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
pierromond
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
def list = new File("C: /.../.../sirenen.txt").text.readLines() works