playing multiple audio files simultaneously

2017-03-29 Thread Ray via use-livecode
I've lo0oked into playing multiple audio files simultaneously, for Windows and Mac desktops, and come up with nothing but issues. Using a player object on my Windows 8.1 system, LC 7.1.1, I get an error of "could not open that video". Even if it worked I understand there are latency issues as

Re: playing multiple audio files simultaneously

2017-03-29 Thread Ray via use-livecode
sounds? On 3/29/2017 2:02 PM, Peter Bogdanoff via use-livecode wrote: You do have QuickTime installed on your Windows machine? …if you are trying to play a QT file. Peter On Mar 29, 2017, at 10:40 AM, Ray via use-livecode <use-livecode@lists.runrev.com> wrote: I've lo0oked into p

Re: playing multiple audio files simultaneously

2017-03-29 Thread Ray via use-livecode
vecode.com/removing-quicktime-dependency-from-livecodes-player-object/ Peter On Mar 29, 2017, at 11:07 AM, Ray via use-livecode <use-livecode@lists.runrev.com> wrote: Yes - 7.7.9. I re-installed Quicktime and got it working, playing sounds simultaneously, but I'm still somewhat ap

Re: playing multiple audio files simultaneously

2017-03-29 Thread Ray via use-livecode
their filenames to empty before playing the new audio. I saw some instability in LC 9 (crashing), so I’m sticking with 8 until those issues are worked out. pb On Mar 29, 2017, at 11:50 AM, Ray via use-livecode <use-livecode@lists.runrev.com> wrote: Thanks Peter - I'll look into 9.0 and see how it

Re: playing multiple audio files simultaneously

2017-03-29 Thread Ray via use-livecode
, but does play QT files. On Windows, LC 8 uses DirectShow to play audio and video. https://livecode.com/removing-quicktime-dependency-from-livecodes-player-object/ Peter On Mar 29, 2017, at 11:07 AM, Ray via use-livecode <use-livecode@lists.runrev.com> wrote: Yes - 7.7.9. I re-ins

Re: Signing MacOS Standalones

2018-05-19 Thread Ray via use-livecode
Many thanks Paul - I'll give this a try and post how it works out. On 5/19/2018 1:47 PM, Paul Dupuis via use-livecode wrote: You will still have to join Apple Developer to purchase a certificate, but then use AppWrapper (http://www.ohanaware.com/appwrapper/) On 5/19/2018 5:19 AM, Ray via use

Signing MacOS Standalones

2018-05-19 Thread Ray via use-livecode
Does anybody have steps to sign Mac OS standalones?  I've discovered Apple 10.12 or higher now sabotages unsigned standalones and it's a rather cryptic process to join the Apple dev club, create a certificate, and then sign an LC standalone, evidently using Terminal. Thanks in advance! Ray

Signing MacOS Standalones

2018-05-17 Thread Ray via use-livecode
Does anybody have steps to sign Mac OS standalones?  I've discovered Apple 10.12 or higher now sabotages unsigned standalones and it's a rather cryptic process to join the Apple dev club, create a certificate, and then sign an LC standalone, evidently using Terminal. Thanks in advance! Ray

Re: Signing MacOS Standalones

2018-05-25 Thread Ray via use-livecode
d, have we not? Please let me know what your thoughts are on this. Thanks! Ray Horsley On 5/19/2018 5:54 PM, Ray via use-livecode wrote: Many thanks Paul - I'll give this a try and post how it works out. On 5/19/2018 1:47 PM, Paul Dupuis via use-livecode wrote: You will still have to

Re: Signing MacOS Standalones

2018-05-26 Thread Ray via use-livecode
r signing OSX desktop apps (Apple issues different certificates for signing desktop app and iOS apps). I'm sorry, but I do not remember the specifc steps to add your certificate to AppWrapper, but in the past, Ohanaware email support has been really good. Have you contacted them? On 5/25/2018 8:40

Re: Android, acceleratedRendering and visual effect

2018-07-21 Thread Ray via use-livecode
Are you having this problem only on other users' Macs?  If so then you've run into the same Apple induced problem I posted about a month ago.  It only happens when you distribute to others using MacOS 10.12 or higher. On 7/21/2018 2:29 PM, Dan Friedman via use-livecode wrote: So, I tried to

Script Editor Performance

2019-01-28 Thread Ray via use-livecode
For some time now I've noticed a substantial slowdown in the script editor every time I upgrade to 8.X or 9.X.  I've usually end up going back to my favorite version, 7.1.4, with its high performance script editor.  Which version of LC are you using?

Re: Script Editor Performance

2019-01-28 Thread Ray via use-livecode
Thanks Curry - I'm using Windows 10.  I'll try some of these things you've suggested and get back. On 1/28/2019 4:54 PM, Curry Kenworthy via use-livecode wrote: Ray: > For some time now I've noticed a substantial slowdown in > the script editor every time I upgrade to 8.X or 9.X. If you're

Re: macOS, is my app active?

2019-11-23 Thread Ken Ray via use-livecode
Klaus, I have a function that generally works with this AppleScript: function stsGetFrontmostProcess  put "tell app `System Events`" & cr & \ "get (the name of every application process whose frontmost is true) as string" & cr & \ "end tell" into tScript replace

Re: Naive XML questions

2020-10-25 Thread Ken Ray via use-livecode
Graham, here's the basic approach (assuming your XML is in the variable 'tXML'): put revXMLCreateTree(tXML,false,true,false) into tTreeID put "/gpx/trk/trkseg/trkpt[1]" into tNode -- the brackets identify the instance of "trkpt" to work with put revXMLAttribute(tTreeID,

Re: return "error" code from standalone compile

2020-12-11 Thread Ken Ray via use-livecode
Wow... I've been using Livecode since its inception (and Revolution before that, and even MetaCard before *that*!), and I never knew this existed! Just goes to show that there's always something new to learn about our favorite development tool. (I wonder if anyone's put together a "list of

Re: How to find the offset of the first character in a string that's not a tab?

2021-01-22 Thread Ken Ray via use-livecode
> On Jan 21, 2021, at 8:36 AM, Keith Clarke via use-livecode > wrote: > > Thanks Brian. I looked at matchChunk in the dictionary & it seems to return a > boolean, rather than the offset. The boolean is just whether or not the matchChunk operation was successful; you need to provide

Re: sort container parameters

2021-03-03 Thread Ken Ray via use-livecode
Craig, It's because when you try to sort something, it's got to be a variable that's being sorted. So all of the examples you used put "toSort" into the statement to be "done" coming out compiled as: sort items of "A,C,T,B" ascending ... which won't work. You need to execute: do

Re: lineOffset wildcard

2021-04-19 Thread Ken Ray via use-livecode
> On Apr 19, 2021, at 1:47 PM, Mark Wieder via use-livecode > wrote: > > On 4/19/21 11:04 AM, J. Landman Gay via use-livecode wrote: > >> I don't think lineoffset supports wildcards, but you could do it with >> matchChunk. > > Ah! matchChunk and the the number of lines of... etc... > That

Re: We don't need a Player (was Re: New(?) Idea for Standalones)

2021-04-13 Thread Ken Ray via use-livecode
> On Apr 13, 2021, at 5:28 AM, Andre Garzia via use-livecode > wrote: > > I like all that I read here. There are things that are really hard when > building standalone apps that I don’t think should be handled by LC HQ, such > as “adding AppleScript dictionary” to your app. This is harder

Re: "within graphic" question

2021-02-22 Thread Ken Ray via use-livecode
If you're willing to do something "hackish", you could do this: on mouseDown lock screen show grc "mygraphic" put within(grc "mygraphic",the clickloc) hide grc "mygraphic" unlock screen end mouseDown :D Ken > On Feb 22, 2021, at 1:49 PM, jbv via use-livecode > wrote: > > Hi list,