Page 1 of 1

Initializing Text Fields

Posted: Wed Sep 24, 2008 2:21 pm
by warrenk
I created a vary basic application that selects a directory and tells me how many files are in the directory. When I open the program, it keeps the values (directory selected and total files) when the application was last run. How does this happen? I thought values (text boxes and variables) are cleared each time I open the program? Is there a way to clear the values when the program is open without initializing each field?

Also...when I use the command:
put the files into tAllFiles
Will this include hidden files if I have "show hidden files" selected on a folder? Is there anyway to not select hidden files if I have "show hidden files" selected?

Warren

Posted: Wed Sep 24, 2008 4:05 pm
by FourthWorld
It isn't possible for a standalone to save itself, so perhaps those values are from the last time you ran the stack in the IDE?

As for "the files", it returns all files regardless of visibility. To filter out invisible files:

filter tFileList without ".*"