Madrix script ReadAsync

This is the forum, where you can add your wishes and feature requests.

Moderator: MADRIX Team

Locked
qniens
Posts: 25
Joined: Wed May 31, 2017 5:34 pm

Madrix script ReadAsync

Post by qniens »

Hi all,

ReadAsync(string file, string txt) must be used with an absolute path to the file.
For example:
string file = "C:\show\data\data.txt";

I would be nice if it can also be a relative path.
For example:
string file = "data.txt";
And Madrix script engine will search for the file in the same directory as the current script.

This way you can change the working directory without having to change the paths in the script.

Best regards,
Quinten
Guertler
Support
Support
Posts: 880
Joined: Tue Feb 04, 2014 10:47 am

Re: Madrix script ReadAsync

Post by Guertler »

Hello qniens,

Thank you for the feedback and input.
We will add this wish to the MADRIX feature wish list and talk to the developers about it.
Locked