OSX - Reading adresscardfiles doesnt work

Ken Ray kray at sonsothunder.com
Tue Nov 27 23:21:10 EST 2007


> I suspect, that the cause is the slash in the name of the 
> adressfiles, so for instance:
> 
> "0B4A452B-0669-483C-B85E-4DB56F4CA2EC/ABPerson.abcdp"
> 
> If I do
> put url("file:"&CardFilePath) into CardData
> it is empty.
> 
> Any Help?

Try substituting a colon (:) for the slash - the Rev engine will 
internally do this if it encounters a slash in a legitimate file name, 
so it should probably work too. 

BTW: Any reason you're reading the record files "raw" instead of using 
AppleScript? Just curious...

Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/



More information about the use-livecode mailing list