Alias' on OS X

Ken Ray kray at sonsothunder.com
Tue Aug 16 23:13:19 EDT 2005


On 8/16/05 9:36 PM, "Dennis Brown" <see3d at writeme.com> wrote:

> Hi,
> 
> I have a very large list of large files (thousands) that I use as a
> database in my program.  I also use a subset of them for faster
> testing.  At first I was duplicating the subset in another folder,
> but I thought it would be nice to just have an alias of the files I
> wanted to use in that folder.  The problem is that my program is
> happy with the file names except it sees them as empty.  Shouldn't
> they provide the get File: URL command with the data from the
> original file?

Yes, and in fact that seems to still be the case. I created a text file and
an alias to the text file. I then ran this simple script:

on mouseUp
  answer file "Pick the alias"
  if it <> "" then
    put url("file:" & it) into fld 1
  end if
end mouseUp

and it successfully put the contents of the original file into field 1.

Are you finding something else?


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





More information about the use-livecode mailing list