• 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
Re: What value is an empty "File type"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What value is an empty "File type"?


  • Subject: Re: What value is an empty "File type"?
  • From: KOENIG Yvan <email@hidden>
  • Date: Wed, 4 Apr 2007 13:37:08 +0200


Le 4 avr. 07 à 08:37:46, Brett Conlon a écrit :


A strange question indeed!

I have a bundle script that returns a dialog showing the file type and king of a dropped file on it.

I noticed that there are a number of files with no File Type (as shown in "info for...").

I then tried an if statement to test if the file type is "" then return "not specified"

But the script keeps returning the empty value in the dialog.

I logged the file type variable and it shows as **. I even tried changing the Ftype variable to "as text" but still no good.

It's like there is an invisible value in there...

Any pointers?

Cheers,

Coj


The empty "File Type" value is 

 ASCII character(0) & ASCII character(0) & ASCII character(0) & ASCII character(0)

Yvan KOENIG (from FRANCE mercredi 4 avril 2007 13:37:05)

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >What value is an empty "File type"? (From: Brett Conlon <email@hidden>)

  • Prev by Date: Re: TUAW Script Fails
  • Next by Date: Re: What value is an empty "File type"?
  • Previous by thread: What value is an empty "File type"?
  • Next by thread: Re: What value is an empty "File type"?
  • Index(es):
    • Date
    • Thread