Re: Unreliable File Deletion

2021-03-30 Thread John Balgenorth via use-livecode
ode > wrote: > > Referring Date: 2021-03-29 09:04:04 +0100 > From: Mark Waddingham > Subject: Re: Unreliable File Deletion > Message-ID: > > Environment: Windows 10, 64bit > LC: Version 9.6.1 > > Dear Mark, Richard and all > > Thank you for your replies ))). &g

Re: Unreliable File Deletion

2021-03-30 Thread R.H. via use-livecode
Referring Date: 2021-03-29 09:04:04 +0100 From: Mark Waddingham Subject: Re: Unreliable File Deletion Message-ID: Environment: Windows 10, 64bit LC: Version 9.6.1 Dear Mark, Richard and all Thank you for your replies ))). Your comments are -- of course -- right, but I made a mistake

Re: Unreliable File Deletion

2021-03-29 Thread Mark Waddingham via use-livecode
On 2021-03-28 18:11, R.H. via use-livecode wrote: @ Peter Reid Your message found my attention. Also I am working on Windows 10 and have the same problem using LC 9.6.1 Indy version. The similar or same problem as you have: I want to delete the text file. The command I issue is "detele

Re: Unreliable File Deletion

2021-03-28 Thread Tore Nilsen via use-livecode
> 28. mar. 2021 kl. 22:55 skrev J. Landman Gay via use-livecode > : > > Interesting. Does it also work on a different machine where you aren't the > owner? If so, everything we've heard is wrong. I haven’t tried on a machine where I am not the owner. This may be why it worked. When I come

Re: Unreliable File Deletion

2021-03-28 Thread Tore Nilsen via use-livecode
> 28. mar. 2021 kl. 21:20 skrev J. Landman Gay via use-livecode > : > > > Desktop and documents folders are okay, and it may be possible to read from > the resources folder, but do you actually write to it? I don't know any OS > that allows altering an executable, which includes Mac

Re: Unreliable File Deletion

2021-03-28 Thread J. Landman Gay via use-livecode
On 3/28/21 1:55 PM, Tore Nilsen via use-livecode wrote: I just made a test application where I am able to create a folder in the resources folder on preOpenStack. I then am able to read from and write to a document in this folder without any problem. This is on macOS Big Sur. The path to my

Re: Unreliable File Deletion

2021-03-28 Thread Richard Gaskin via use-livecode
R.H. wrote: > The similar or same problem as you have: I want to delete the text > file. The command I issue is "detele file ". The error it > returns: "Can't delete file". LC's result will tell you only the general fact that a file I/O operation failed, but not why. The syserror() function

Re: Unreliable File Deletion

2021-03-28 Thread J. Landman Gay via use-livecode
On 3/28/21 12:28 PM, ELS Prothero via use-livecode wrote: Folks, This alarms me. In my app, I write a file to specialFolderpath(“desktop”). What are the conditions to make this work on Apple or Windows standalones? Desktop works fine, every user has permissions to alter files there. --

Re: Unreliable File Deletion

2021-03-28 Thread J. Landman Gay via use-livecode
On 3/28/21 1:40 PM, Tore Nilsen via use-livecode wrote: In MacOS the resources folder is part of the application bundle and resides within the content folder in that bundle. I have never encountered any problem with this folder even when using un-notarized and unsigned apps. I give away small

Re: Unreliable File Deletion

2021-03-28 Thread Tore Nilsen via use-livecode
> 28. mar. 2021 kl. 20:40 skrev Tore Nilsen via use-livecode > : > > > >> 28. mar. 2021 kl. 19:22 skrev Klaus major-k via use-livecode >> : >> >> Hi friends, >> >>> Am 28.03.2021 um 19:11 schrieb R.H. via use-livecode >>> : >>> ... >>> ... put specialfolderpath("resources") &"/temp.txt"

Re: Unreliable File Deletion

2021-03-28 Thread Tore Nilsen via use-livecode
> 28. mar. 2021 kl. 19:22 skrev Klaus major-k via use-livecode > : > > Hi friends, > >> Am 28.03.2021 um 19:11 schrieb R.H. via use-livecode >> : >> ... >> ... put specialfolderpath("resources") &"/temp.txt" into tFilePath >> ... put tOut into URL("binfile:") >> ... > > you may already know

Re: Unreliable File Deletion

2021-03-28 Thread ELS Prothero via use-livecode
Folks, This alarms me. In my app, I write a file to specialFolderpath(“desktop”). What are the conditions to make this work on Apple or Windows standalones? Bill William Prothero https://earthlearningsolutions.org > On Mar 28, 2021, at 10:22 AM, Klaus major-k via use-livecode > wrote: > >

Re: Unreliable File Deletion

2021-03-28 Thread Klaus major-k via use-livecode
Hi friends, > Am 28.03.2021 um 19:11 schrieb R.H. via use-livecode > : > ... > ... put specialfolderpath("resources") &"/temp.txt" into tFilePath > ... put tOut into URL("binfile:") > ... you may already know this, but this will not work in a standalone! We will surely not have write

Re: Unreliable File Deletion

2021-03-28 Thread R.H. via use-livecode
@ Peter Reid Your message found my attention. Also I am working on Windows 10 and have the same problem using LC 9.6.1 Indy version. The problem with copying text to the clipboard and then pasting it into other applications results in inserting double lines. I think there was a discussion about