Page 1 of 1

Allowing user to set their working directory to save files

Posted: Sun Nov 21, 2021 9:32 pm
by dadedodo
Hi Jamovi team,

I would like to know if it is possible to allow the user to set their own working folder. My module creates a few output has .csv file that are too long to show in the result window. However, the user should be able to select the folder in which the file will be saved. What option should I use in .a.yaml? I do not see options allowing to have a string textbox.

Thanks in advance for you help.

Best,

Donal

Re: Allowing user to set their working directory to save fil

Posted: Thu Nov 25, 2021 4:13 am
by jonathon
hi donal,

sorry for the delay in getting back to you, i do try and respond to module enquiries very quickly, so as to maintain your momentum!

we do have a string option, you'll notice we use it in the descriptives:

https://github.com/jamovi/jmv/blob/master/jamovi/descriptives.a.yaml#L382-L388

cheers

jonathon

Re: Allowing user to set their working directory to save fil

Posted: Thu Nov 25, 2021 3:05 pm
by dadedodo
Hi Jonathon,

Thanks a lot for you answer. This is exactly what I needed. I will figure out how to increase the size of the box.

Cheers,

Donal