Jeff,
I have only had luck using Select document when the file types are separate
by semi colons. Here's an example from working code:

*C_TEXT*($doc;$DocType)

*ARRAY TEXT*($aDocs;0)

$DocType:=".pdf;.jpg;.jpeg;.txt;.text;.csv;.json"

$Doc:=*Select document*(*System folder*(Desktop);$DocType;"Select the
document:";0;$aDocs)


I know it's contrary to the docs but it's what's worked for me.


On Mon, Jun 24, 2019 at 12:01 PM jeff--- via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> In 4D v17.2 on MacOS 10.14.3, I am attempting to open a 64-bit label
> format file using Select document. I am passing "com.4d.4d.labelFile" in
> the fileTypes parameter but all such files are greyed out and disabled.
>
> ----------
> Jeff Grann
> SuccessWare, Inc.
>
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **********************************************************************



-- 
Kirk Brooks
San Francisco, CA
=======================

What can be said, can be said clearly,
and what you can’t say, you should shut up about

*Wittgenstein and the Computer *
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to