Help with androidStartAudioPlayingInBackground()

2021-03-28 Thread Derek Bump via use-livecode
Hello Everyone, I was wondering if anyone has insight into the usage of "androidStartAudioPlayingInBackground()", or can confirm that it works? I setup a test stack that attempts to play a public domain MP3 using the following script but nothing plays. I receive nothing from the function,

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

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 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 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 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: New(?) Idea for Standalones

2021-03-28 Thread John Balgenorth via use-livecode
Thanks for clarifying that for me! As far as the license stuff goes on the community version I personally think the community is allowed to supersede LiveCode if they feel like investing the time. It should not be able to be held back just to make sure all of the new features are done by the

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 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: New(?) Idea for Standalones

2021-03-28 Thread scott--- via use-livecode
I may have described it incorrectly. After re-testing here on OS 11.2.3 I found that it required two tries. Trying to open it the first time meets with failure. But Right clicking and choosing “Open” the second time gives a second dialog that will allow it to open. — Scott > On Mar 28,

Re: New(?) Idea for Standalones

2021-03-28 Thread Dev via use-livecode
If it works, the upside is that anyone can do it themselves and coach their family into doing the two step process once on the first time install. If it doesn’t work, we need to get a real developer to make a real app that jumps through Apple’s hoops. And then the developer has to keep it

Re: New(?) Idea for Standalones

2021-03-28 Thread John Balgenorth via use-livecode
I was thinking one of the reasons people were saying not to provide a scaled down version of the development system to do it was because they were afraid it would interfere with the license. But since you can do it according to some of you is proof you are allowed to automate the process and that

Re: New(?) Idea for Standalones

2021-03-28 Thread Roger Guay via use-livecode
John et al, To recap: My ultimate goal is to get support for RunRev to provide a LiveCodeLight download that opens stacks but hides or strips the IDE. I can’t believe this would be difficult in any way. In the meantime, I am trying to recreate the old Standalone app method (See Jacquelines’

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: New(?) Idea for Standalones

2021-03-28 Thread Jim Lambert via use-livecode
> Richard G. wrote: > > I raise my whiskey > to toast your whisky. Sláinte! JIm Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

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. 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: New(?) Idea for Standalones

2021-03-28 Thread Richard Gaskin via use-livecode
Alex Tweedly wrote: > On 27/03/2021 02:43, Richard Gaskin via use-livecode wrote: >> This makes the Community Edition a natural fit for a generic player, >> since the proliferation the license explicitly encourages would be >> very much with the grain of its goals. >> >> But then we have to ask:

Re: New(?) Idea for Standalones

2021-03-28 Thread Dev via use-livecode
So how are you getting it on to her machine? Drag and drop across the net in your house? Email? AirDrop? Lets start from the beginning and sort this out, because I think you ought to be able to do it. Kelly > On 28 Mar, 2021, at 5:46 PM, Roger Guay via use-livecode > wrote: > > I feel bad

Re: New(?) Idea for Standalones

2021-03-28 Thread james--- via use-livecode
Hi Roger, You wrote: > Nope! Right clicking on a standalone I?m trying to share with my wife on her > iMac w OS 11.2 results in this menu: Open Attachment - Quick Look Attachment > - Save Attachment?. - Save to Downloads Folder - Share - Copy - Speech This list of menu options looks like

Re: New(?) Idea for Standalones

2021-03-28 Thread Roger Guay via use-livecode
Nope! Right clicking on a standalone I’m trying to share with my wife on her iMac w OS 11.2 results in this menu: Open Attachment - Quick Look Attachment - Save Attachment…. - Save to Downloads Folder - Share - Copy - Speech Then, clicking on the “Open Attachment” menu item results in the same

Re: New(?) Idea for Standalones

2021-03-28 Thread Dev via use-livecode
Agreed. Save to the desktop and then try the right click Open command. Kelly Sent from my iPhone > On Mar 28, 2021, at 5:04 PM, Brian Milby via use-livecode > wrote: > > I think the “attachment” is part of the issue. Save to downloads first? > > Sent from my iPhone > >> On Mar 28, 2021,

Re: New(?) Idea for Standalones

2021-03-28 Thread Roger Guay via use-livecode
I feel bad that you guys are sticking with me to no avail. Saving it first to Downloads or Desktop does not work. Sorry to be such a bother, Roger > On Mar 28, 2021, at 4:26 PM, Dev via use-livecode > wrote: > > Agreed. Save to the desktop and then try the right click Open command. > >

Resources folder on mac, and the good old days

2021-03-28 Thread Neville Smythe via use-livecode
> you may already know this, but this will not work in a standalone! > We will surely not have write permissions in that folder! > > As a workaround I would probably use -> specialfolderpath("temporary") > Or even write the text to -> the tempname > I find this discussions strange - I had the

Re: Help with androidStartAudioPlayingInBackground()

2021-03-28 Thread J. Landman Gay via use-livecode
I've seen similar issues when trying to read other file types from the resources folder in an Android standalone. Try copying the file to specialFolderPath("documents") and play it from there. It's likely a permissions problem that I wish didn't exist. On 3/28/21 1:24 PM, Derek Bump via

Re: [bug] strange memory leak in LC

2021-03-28 Thread Andrew at MidWest Coast Media via use-livecode
Big Sur 11.0.1, LC 9.6rc3 LiveCode seems to become unresponsive when my iMac goes to sleep and then wakes up and logs in. Don’t have any recipe for it, but when I when I left it overnight it had completely taken over my machine this morning.

Re: New(?) Idea for Standalones

2021-03-28 Thread John Balgenorth via use-livecode
I may have got lost on this subject but if his goal was to make it easy for people to open his app by doing something like using a scaled down version of the development system then this one step of doing it twice is a valid reason for using what he wanted because people do not want to be bothered

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: New(?) Idea for Standalones

2021-03-28 Thread Brian Milby via use-livecode
I think the “attachment” is part of the issue. Save to downloads first? Sent from my iPhone > On Mar 28, 2021, at 6:00 PM, Roger Guay via use-livecode > wrote: > > Nope! Right clicking on a standalone I’m trying to share with my wife on her > iMac w OS 11.2 results in this menu: Open

Re: New(?) Idea for Standalones

2021-03-28 Thread Roger Guay via use-livecode
James, Kelly and Brian, Thanks for sticking with me on this. Perhaps, to smooth out this process, I should look for an uncertified app to download to my own machine, instead of working off of her machine. Have you any suggestions for that? Answers to some of your question: I emailed a

Re: New(?) Idea for Standalones

2021-03-28 Thread scott--- via use-livecode
Kelly is correct. While holding down the control key, click and hold (or right click) to get an additional menu allowing you to choose to open the app. — Scott > On Mar 27, 2021, at 8:33 PM, Dev via use-livecode > wrote: > > Roger > > On your wife’s machine - if you right click the app and