Madrix script ReadAsync - MADRIX Forum

Madrix script ReadAsync

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

Moderator: MADRIX Team

Post Reply
qniens
Posts: 20
Joined: Wed May 31, 2017 5:34 pm

Madrix script ReadAsync

Post by qniens » Wed Nov 15, 2017 12:11 pm

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
Posts: 656
Joined: Tue Feb 04, 2014 10:47 am

Re: Madrix script ReadAsync

Post by Guertler » Thu Nov 16, 2017 12:54 pm

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.

Post Reply
cron
Back to top