On 3/8/11 4:37 PM, Terry Judd wrote:
Due to an obscure but annoying issue with OSX 10.5 I need to be able to
check for the existence of a file based on the case of its name before I can
launch it from Livecode. The exists function isn¹t case sensitive and the
only idea I¹ve been able to come up with to date is to use the files
function, filter the results based on the filename and then compare the two
filenames (having set the caseSensitive property to true). This seems a bit
long winded and I was hoping for a simpler and quicker way.

The Mac isn't case-sensitive, and it won't let you duplicate names regardless of their case. I'm curious why you'd need to distinguish by that.

I can't think of any other way to compare case than what you've come up with though.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to