Open file in default folder and read automatically (short description)

Ian Wood revlist at azurevision.co.uk
Tue Apr 22 12:06:07 EDT 2008


On 22 Apr 2008, at 16:53, Adrian Williams wrote:

> Hello List,
> Working on a script to 'check for updates' of a rev stand alone (not  
> the Rev program itself or its engine).
>
> Short explanation:
> Read plain text from a file automatically from the default Folder  
> (NOT using the answer file: routine).
> Then perform if/then tasks on the retrieved value.

I've just done this myself last week. Why not use something like:

put URL "http://www.example.com/exampleupdatefile.text" into tData

Then test against what's in tData? There's no need to download the  
text file to disk and then open it in Rev.

Ian



More information about the use-livecode mailing list