ask file with filter

Jan Schenkel janschenkel at yahoo.com
Mon Apr 19 04:45:38 EDT 2004


--- Dreamscape Software Webmaster
<webmaster at dreamscapesoftware.com> wrote:
> How do I get the filter that was choosen within the
> ask file dialog box?
> 
> Derek Bump
> 

Hi Derek,

There is currently no way to do that ; but you could
always check the extension of the file :

  answer "Select a file"
  if it is empty then exit to top
  put it into tFilePath
  put char -3 to -1 of tFilePath into tExtension

Hope this helped,

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)


	
		
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash


More information about the use-livecode mailing list