Page 1 of 1
answer file with type
Posted: Thu Nov 14, 2019 7:24 pm
by dntknwjck
Good Morning
Have been fighting this for several hours:
File1.QFX does not show up in the Linux dialog
Using LC 9.5 running on LinuxMint 18.3 and Win10 version 1903
this code produces the following scrren shots(2 attachments).
Code: Select all
answer file prompt with specialFolderPath("resources") with type "QFX|qfx,|QFX" titled "Open OFX File"
Any suggestions would be greatly appreciated.
Re: answer file with type
Posted: Thu Nov 14, 2019 7:43 pm
by Klaus
Hi dntknwjck,
this is how it should work:
Code: Select all
...
answer file "The PROMPT is a message for the user! :-)" with specialFolderPath("resources") with type "QFX|qfx|" titled "Open OFX File"
...
Works as exspected here on my Mac.
If your Linux is case-sensitive you may need to supply teh filetyp in capitals, too:
Code: Select all
...
answer file "The PROMPT is a message for the user! :-)" with specialFolderPath("resources") with type "QFX|qfx,QFX|" titled "Open OFX File"
...
At least worth a try.
Best
Klaus
Re: answer file with type
Posted: Thu Nov 14, 2019 8:04 pm
by dntknwjck
Thanks Klaus
That works except that on my Linux the prompt doesn't show but the title does. On windows the prompt shows, but the title does not show.
Will explore that a little further sometime.
Re: answer file with type
Posted: Thu Nov 14, 2019 8:08 pm
by Klaus
Well, there ARE some differences between the platforms.
On my Mac I only see the PROMPT, but not the title.
So don't worry, this correct behaviour!
Re: answer file with type
Posted: Thu Nov 14, 2019 10:00 pm
by dntknwjck
A little more effort and I find that prompt and titled are mutually exclusive.