• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to restrict choose file dialog for Filemaker files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to restrict choose file dialog for Filemaker files?


  • Subject: How to restrict choose file dialog for Filemaker files?
  • From: trinko <email@hidden>
  • Date: Sun, 18 Apr 2004 20:26:34 -0700

As i was testing out a script i noticed something that seems odd. FMP
7 files, .fp7, don't seem to have a file type. I ran this script

tell application "Finder"
set x to choose file
set y to the file type of x
set z to the creator type of x
end tell

for a word file I got a file type "W8BN" but for a FileMaker Pro 7
database file i got missing value.

My question is since these files don't seem to have a file type is
there any way in a choose file dialog to restrict the selectable
files to just filemaker databases?

As an aside i thought that file types and creators are being phased
out of OS X--in favor of those stupid extensions. Shouldn't choose
file be updated too or am i missing something--other than my sanity?

thanks.
--
tom trinko http://members.aol.com/trinkos/basepage.html
email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: How to restrict choose file dialog for Filemaker files?
      • From: Malcolm Fitzgerald <email@hidden>
    • Re: How to restrict choose file dialog for Filemaker files?
      • From: Walter Ian Kaye <email@hidden>
  • Prev by Date: Fwd: Using GUI Scripting to set window positions
  • Next by Date: Re: Get iTune File Track by Alias
  • Previous by thread: Re: Language issue - ("eppc://" & gAddress)
  • Next by thread: Re: How to restrict choose file dialog for Filemaker files?
  • Index(es):
    • Date
    • Thread