pathway

Jan Schenkel janschenkel at yahoo.com
Sun Feb 23 05:56:00 EST 2003


--- yves COPPE <yvescoppe at skynet.be> wrote:
> Hi
> 
> again, I ask my question
> Perhaps, I get no response because my question is
> not clear :
> 
> Mac OS X.2.4 with Rev 1.1.1
> I want to access a text file from a script.
>   the pathway is the following
> /HD/user/myname/xxx/text filename.
> 
> but the name of the folder xxx may not be changed
> and is too long 
> (the number of chars is ore than 32 chars)
> 
> so I can read from that text file because Rev cannot
> read a pathway 
> with a component that has a long name (the name of
> the folder)
> 
> Any idea ???
> how can I proceed  ??
> Please help me
> Thanks.
> -- 
> Greetings.
> 
> Yves COPPE
> 

Hi Yves,

IIRC, RunRev only has problems with long filenames,
not long paths. Try to find out what the correct
pathname would be by using the following script.

on mouseUp
  answer file "Find the file with the long pathname"
  if the result is "Cancel" then exit mouseUp
  else put it into fld "ThePath"
  answer line 1 of URL ("file:"&it)
end mouseUp

That should bring you closer to understanding what's
going on, and how you can perhaps work around it.

Hope this helped,

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/



More information about the use-livecode mailing list