Allowing user to set their working directory to save files

Everything related to the development of modules in jamovi
Post Reply
dadedodo
Posts: 2
Joined: Sun Nov 21, 2021 9:27 pm

Allowing user to set their working directory to save files

Post 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
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

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

Post 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
dadedodo
Posts: 2
Joined: Sun Nov 21, 2021 9:27 pm

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

Post 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
Post Reply