choose file

when you do the command

choose file (with prompt “choose a file”)

it shows you all the system files
how do you make it so that it doesnt show the system files?

Taken from the “Standard Additions” dictionary.

I assume you are talking about “invisilbes”. See also “of type a list of plain text”.

choose file with prompt "choose a file" invisibles false
--or
choose file with prompt "choose a file" without invisibles