Re: Comparing filenames based on case sensitive filepaths

2011-03-09 Thread Terry Judd
Thanks Mike - I'll give that a try. Terry... On 10/03/11 1:18 AM, "Mike Bonner" wrote: > forgot the quotes. > > get shell("ls myTest |grep `ls -d myTest` -") > > On Wed, Mar 9, 2011 at 7:17 AM, Mike Bonner wrote: > >> If I understand what you mean, this might work >> >> set the defualtfol

Re: Comparing filenames based on case sensitive filepaths

2011-03-09 Thread Bob Sneidar
It is possible to format a mac hfs+ volume as case sensitive. Also, Apple Xsan volumes are case sensitive and I don't think you can format them any other way. Shared volumes may or may not be case sensitive. I am having a problem with backups because the Mac doing the backup thinks This Spreadsh

Re: Comparing filenames based on case sensitive filepaths

2011-03-09 Thread Mike Bonner
Ah, one last thing. Need to know the correct name of the directory too else IT returns 2 lines for files not found (if ls IS case sensitive) but that should be easy enough to check for. Of course this will probably be a non-issue depending on how you get the directory name. Hmm of course if you h

Re: Comparing filenames based on case sensitive filepaths

2011-03-09 Thread Mike Bonner
forgot the quotes. get shell("ls myTest |grep `ls -d myTest` -") On Wed, Mar 9, 2011 at 7:17 AM, Mike Bonner wrote: > If I understand what you mean, this might work > > set the defualtfolder to justAbovethedirectoryToBeChecked > get shell(ls myTest |grep `ls -d myTest` -) --myTest is the folder

Re: Comparing filenames based on case sensitive filepaths

2011-03-09 Thread Mike Bonner
If I understand what you mean, this might work set the defualtfolder to justAbovethedirectoryToBeChecked get shell(ls myTest |grep `ls -d myTest` -) --myTest is the folder name and the filename if it is empty then answer information "They differ" else answer information "They match" end if I don'

Re: Comparing filenames based on case sensitive filepaths

2011-03-08 Thread J. Landman Gay
On 3/8/11 10:44 PM, Terry Judd wrote: It's because of a weird glitch on OSX 10.5. If you have an old-style (non bundle) Mac app that is named the same (case sensitive) as its parent folder then you cant launch it other than by double-clicking its icon (shell, Livecode and Applescript launch meth

Re: Comparing filenames based on case sensitive filepaths

2011-03-08 Thread Terry Judd
On 9/03/11 3:07 PM, "J. Landman Gay" wrote: > 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

Re: Comparing filenames based on case sensitive filepaths

2011-03-08 Thread Jerry J
On Mar 8, 2011, at 8:07 PM, J. Landman Gay wrote: > 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

Re: Comparing filenames based on case sensitive filepaths

2011-03-08 Thread J. Landman Gay
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 w

Comparing filenames based on case sensitive filepaths

2011-03-08 Thread Terry Judd
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 functio