Answer file weirdness
Posted: Sat Jun 15, 2013 6:58 pm
If I use the following command, the dialog box does allow the indicated file types to be imported once the relevant menu item of the popup is selected:
answer file "Use the pop-up button below to choose the type of file to import, either text or tab:" \
with type ("Text Files|txt|TXT" & cr & "Tab File|tab|TAB")
But if I try to use the follow, I cannot import a .tab file at all because they are disabled in the list:
answer file "Blah blah blah" with filter "Tab, *.tab"
answer file "Blah blah blah" of type "Tab|tab"
What's up with that? I would like to offer the user a chance to import a tab-delimited .txt file -- saved from Excel, for instance -- or the similar text file output from FileMaker Pro (.tab).
--Steve
answer file "Use the pop-up button below to choose the type of file to import, either text or tab:" \
with type ("Text Files|txt|TXT" & cr & "Tab File|tab|TAB")
But if I try to use the follow, I cannot import a .tab file at all because they are disabled in the list:
answer file "Blah blah blah" with filter "Tab, *.tab"
answer file "Blah blah blah" of type "Tab|tab"
What's up with that? I would like to offer the user a chance to import a tab-delimited .txt file -- saved from Excel, for instance -- or the similar text file output from FileMaker Pro (.tab).
--Steve