basic put URL question-more

Rich Lague laguer at ucs.orst.edu
Sun Apr 18 22:44:41 EDT 2004


I think I have found what makes the difference here: Revolution doesn't 
like folder names with a fancy ƒ at the end.
I have tried the basic import script that Klaus sent me, (See below,) 
on a bunch of different text files. The script does not work if the 
file I'm trying to "put" is a folder with one of these fancy "f"s at 
the end. (You make it on the Mac by pressing opt-f.) If I remove the ƒ 
at the end of the folder name the script works.
Is it supposed work this way, or is this a bug?

Thanks,

Rich

On Sunday, April 18, 2004, at 12:18  PM, Rich Lague wrote:

> Thanks Klaus,
>
> I had tried this script before and it didn't work. (I tried every 
> import text variation I could find in the documentation.)
> So, I tried it again, and it still didn't work.
> On a hunch I tried opening a test file that I put in my Applications 
> folder, and it worked!
> So, I then tried moving the same file I had just managed to open to 
> the folder where I have my rev projects-- and it does not work.
>
> The path on the successful attempt:
> /Applications/test.3
>
> The path on the unsuccessful attempt:
> /Users/laguer/Documents/Revolutioní/test.3
>
> It seems that this script works for files one place on my hard drive, 
> but not another?
> I'm using OSX 10.2.8 on a G4 Mac and Rev 2.2
>
> Is there a rule that limits how many folders away a file can be?
>
> Rich Lague
>
>
> On Sunday, April 18, 2004, at 10:15  AM, Klaus Major wrote:
>
>> answer file "Import text from what file:" of type "TEXT"
>>   if it is empty then
>>     put "Bingo!" into field "Field 1"
>>     exit to top
>>   else
>>     put URL("file:" & it) into field "Field 1"
>>   end if
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the use-livecode mailing list