Re: What value is an empty "File type"?
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