I use this to get a prompt where i can select a file
set thePath to quoted form of POSIX path of (choose folder with prompt "whatever)
How can i see hidden files in the "choose folder with prompt"? Allowing to see hidden files in finder doesn't do anything different.