>From: Beruvin <[EMAIL PROTECTED]>
>Subject: Re: how to get a files file type?
>Date: Sat, 25 Aug 2001 11:43:11 +0200
>MIME-Version: 1.0
>Content-Type: text/plain; charset="us-ascii" ; format="flowed"
>References: <[EMAIL PROTECTED]>
>  <[EMAIL PROTECTED]>
>In-Reply-To: <[EMAIL PROTECTED]>
>
>  >Is there an easy way to find a selected files file type in RR?
>  >
>  >Eg:
>  >
>>on mouseup
>>     answer file "Please choose a file:"
>>    if it is empty then exit mouseUp
>>
>>-- if the type of it is APPL then answer "an app"
>>
>>end mouseup
>
>Hi,
>
>not shure to understand your request,
>but you can use the following alternatives :
>
>1/
>
>answer file "Please choose a file:" of type "TEXT"
>
>if, for example, you just want the user to choose text files
>
>2/
>
>Look for "fileType" and "stackFileType" properties in the doc
>(Transcript dictionary)
>
>
>
>----
>Beruvin


What I want is to be able to get the file type and creator of a user 
selected file.

Eg., prompt user to select a file. Tell use the files file type and 
creator type.

The two examples you mention seem related to setting rather than 
reading this information.

Cheers,
Mark
-- 
MCS, PO Box 259, Dunedin, New Zealand

Reply via email to