I have come across what appears to be a bug using "URL" on a PC and I would like confirmation that what I am seeing is what others see. If it really is a bug rather than my problem then it should be reported immediately because it is definitely a game breaker. The code below is an example of how to create the error:
Code: Select all
on mouseUp
answer file "Locate a text file for opening." with "OK" or "Cancel"
if It = "Cancel" then exit mouseUp
put "file:/" & it into tFile
put URL tFile into tData
answer tData
end mouseUp
On a Mac in LC 7.1.1 it runs just fine, both in the IDE and in a standalone. On a PC in either environment, the statement "put URL tFile into tData" fails and nothing is put in tData. There are no error messages just nothing in the "answer dialog".
I have only been able to test it on the PC side in two different Parallels virtual machines, one in Windows 7 and one in Windows 10. Am I making any errors here or is this a real problem?
Larry