Any Idea?
Posted: Thu May 15, 2025 3:12 am
Hi everyone,
I'm currently working on a project in LiveCode on Windows 10, targeting a desktop application, and I've encountered what seems to be a bug. Specifically, when I try to open a file using the open file command, the application either freezes or returns an error stating that the file cannot be opened, even though the path is valid and the file exists. To reproduce the issue, I create a button that runs a script to open a text file located in the Documents folder. I use open file "C:/Users/MyUser/Documents/t***.txt" for read, but as soon as the script executes, LiveCode hangs or throws an error. I expected the file to open normally so I could read its contents into a field, but instead the app becomes unresponsive or fails to access the file. I’ve double-checked file permissions, tested with different paths and file names, and even tried running LiveCode as administrator, but the problem persists. Has anyone experienced this or found a workaround? Any help would be greatly appreciated. Thanks in advance!
I'm currently working on a project in LiveCode on Windows 10, targeting a desktop application, and I've encountered what seems to be a bug. Specifically, when I try to open a file using the open file command, the application either freezes or returns an error stating that the file cannot be opened, even though the path is valid and the file exists. To reproduce the issue, I create a button that runs a script to open a text file located in the Documents folder. I use open file "C:/Users/MyUser/Documents/t***.txt" for read, but as soon as the script executes, LiveCode hangs or throws an error. I expected the file to open normally so I could read its contents into a field, but instead the app becomes unresponsive or fails to access the file. I’ve double-checked file permissions, tested with different paths and file names, and even tried running LiveCode as administrator, but the problem persists. Has anyone experienced this or found a workaround? Any help would be greatly appreciated. Thanks in advance!