Hi John, It is not at the level of it not opening text files because my apps which do that in 4.0 also do in LiveCode 4.5.
My suspicion is that the default folder may not now be what you think it is...stick a put line or two into the script to put the defaultfolder or TtargetToOpen into the message box to check that the path in the script is what you think it is supposed to be. Again my suspicion is that the default folder is no longer the same... Wayne On Fri, Sep 24, 2010 at 1:46 PM, John Patten <johnpat...@mac.com> wrote: > Hi All... > > I have a stack that reads a text file and puts that text in a card fld. It > works in 4.0, but when I open the same stack in 4.5 LiveCode it does not > work? > > > Here is the simple script: > > on openStack > put the defaultFolder into tFilePath > open window "data" of stack "Data" > put tFilePath&"/"&"imageData" into tTargetToOpen > open file tTargetToOpen > read from file tTargetToOpen until EOF > put it into cd fld "data" of cd 1 of Stack "data" > end openStack > > > What am i missing here for this not to work in 4.5? > > Thank you! > > John Patten > _______________________________________________ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution