Re: editing & combining sound files?

2018-08-22 Thread Nicolas Cueto via use-livecode
Well, maybe some day I'll put the time in to study Geoff's and Tom's
solutions. But, for future reference, below is my easier-for-me solution.

First, use a sound-editor (Goldwave) to convert all AU files to RAW (i.e.,
snd).

Second, run this LC script to merge those converted files (interleaved with
silence) into a new .snd file:

 put URL "binfile:C:/the_path/faster/{file ID}.snd" into tNewSnd
 put URL "binfile:C:/the_path/1_sec_silence.snd" after tNewSnd
 put URL "binfile:C:/the_path/slow/{file ID}.snd" after tNewSnd
 put tNewSnd into URL  "binfile:C:/the_path/CD/{file ID}.snd"

Third, use the sound-editor again, this time to convert those new .snd
files into .mp3.

That's it. But if someone wants to post exact details of how to LC script
what Geoff suggests, i.e., stripping headers from an .au (or any!) sound
file type, I'm still all ears.

Cheers.

--
Nicolas Cueto

On 23 August 2018 at 13:40, Tom Glod via use-livecode <
use-livecode@lists.runrev.com> wrote:

> sox is good for this kind of stuff, you can automate the command-lines
> using livecodebut you can skip some of the bs you would probably
> encounter with LC and audio "processing".
>
> http://sox.sourceforge.net/
>
> On Wed, Aug 22, 2018 at 10:30 PM Geoff Canyon via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > I did something very much like this way, way, way long ago (in the
> MetaCard
> > days...). I don't remember the sound format, and it was mono, not stereo,
> > but it turned out that the format for the sound file was *really*
> simple: a
> > few bytes of easily-managed header, a bunch of binary data that
> represented
> > the sound file data, and a few bytes of footer.
> >
> > So the steps above would be roughly:
> >
> > 1. Read in the binary data from the sound file, strip the header/footer.
> > 2. Figure out what the "silence" value is for that sound format, append a
> > certain number of that value to the data.
> > 3,4. Read in the binary data from the second file, strip the
> header/footer
> > and append to the data.
> > 5. ??? Not sure how to do this. Instead, might add the appropriate
> > header/footer and write out the data in the same format as the input
> files.
> > 6. Close the access to the original files.
> >
> > If MP3 isn't comprehensible, then you could bulk convert the resulting
> > files from AU to MP3 using any number of tools.
> >
> > gc
> >
> >
> > On Wed, Aug 22, 2018 at 5:14 PM Nicolas Cueto via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > Hello List,
> > >
> > > I wish to automate a repetitive (and tedious!) process that's now being
> > > done manually using a sound-file editor (Goldwave).
> > >
> > > The process is:
> > >
> > > 1. Open an AU sound file.
> > > 2. Append 1 second of silence to that file.
> > > 3. Open a 2nd AU sound file.
> > > 4. Copy and append that 2nd file to the 1st file.
> > > 5. Save as MP3 with a new title that now-modified 1st file.
> > > 6. Close that 1st file unmodified.
> > > 7. [Repeat 1-6.]
> > >
> > > If this is possible (easily possible!) with LC, what LC commands ought
> I
> > be
> > > studying/using?
> > >
> > > Many thanks.
> > >
> > > --
> > > Nicolas Cueto
> > > ___
> > > use-livecode mailing list
> > > use-livecode@lists.runrev.com
> > > Please visit this url to subscribe, unsubscribe and manage your
> > > subscription preferences:
> > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Set the backgroundcolor of all lines a field to null

2018-08-22 Thread Brian Milby via use-livecode
Have you looked at the performance of using styledText?

put the styledText of fld "audioList" into tTextA
repeat for each key tKey in tTextA
put pColor into tTextA[tKey]["style"]["backgroundcolor"]
end repeat
set the styledText of fld "audioList" to tTextA

Thanks,
Brian
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: editing & combining sound files?

2018-08-22 Thread Tom Glod via use-livecode
sox is good for this kind of stuff, you can automate the command-lines
using livecodebut you can skip some of the bs you would probably
encounter with LC and audio "processing".

http://sox.sourceforge.net/

On Wed, Aug 22, 2018 at 10:30 PM Geoff Canyon via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I did something very much like this way, way, way long ago (in the MetaCard
> days...). I don't remember the sound format, and it was mono, not stereo,
> but it turned out that the format for the sound file was *really* simple: a
> few bytes of easily-managed header, a bunch of binary data that represented
> the sound file data, and a few bytes of footer.
>
> So the steps above would be roughly:
>
> 1. Read in the binary data from the sound file, strip the header/footer.
> 2. Figure out what the "silence" value is for that sound format, append a
> certain number of that value to the data.
> 3,4. Read in the binary data from the second file, strip the header/footer
> and append to the data.
> 5. ??? Not sure how to do this. Instead, might add the appropriate
> header/footer and write out the data in the same format as the input files.
> 6. Close the access to the original files.
>
> If MP3 isn't comprehensible, then you could bulk convert the resulting
> files from AU to MP3 using any number of tools.
>
> gc
>
>
> On Wed, Aug 22, 2018 at 5:14 PM Nicolas Cueto via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Hello List,
> >
> > I wish to automate a repetitive (and tedious!) process that's now being
> > done manually using a sound-file editor (Goldwave).
> >
> > The process is:
> >
> > 1. Open an AU sound file.
> > 2. Append 1 second of silence to that file.
> > 3. Open a 2nd AU sound file.
> > 4. Copy and append that 2nd file to the 1st file.
> > 5. Save as MP3 with a new title that now-modified 1st file.
> > 6. Close that 1st file unmodified.
> > 7. [Repeat 1-6.]
> >
> > If this is possible (easily possible!) with LC, what LC commands ought I
> be
> > studying/using?
> >
> > Many thanks.
> >
> > --
> > Nicolas Cueto
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Set the backgroundcolor of all lines a field to null

2018-08-22 Thread Mark Wieder via use-livecode

On 08/22/2018 08:35 PM, Sannyasin Brahmanathaswami via use-livecode wrote:

I have some big lists in mobile, I sent the bkgndColor of certain lines.


Then I want clear that,

How do we do this "for each line x"


What I do:

put 1 into tLineNumber

repeat for each line x in fld "audioList"

# need to get a line number and not its value

set the backgroundcolor of line tLineNumber of fld "audioList" to 
pColor



add 1 to tLineNumber

end repeat

end setAudioListColors



--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Set the backgroundcolor of all lines a field to null

2018-08-22 Thread Sannyasin Brahmanathaswami via use-livecode
I have some big lists in mobile, I sent the bkgndColor of certain lines.


Then I want clear that,

How do we do this "for each line x"

which does not return the number of the line, but value

command setAudioListColors pLineNum,pColor  # pass "4,"0,0,0"

#slow!

  repeat with x=1 to (the number lines of fld "audioList")

  set the backgroundcolor of line pLineNum of fld "audioList" to pColor

end repeat

repeat for each line x in fld "audioList"

# need to get a line number and not its value

  set the backgroundcolor of line pLineNum of fld "audioList" to pColor

end repeat

end setAudioListColors


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: editing & combining sound files?

2018-08-22 Thread Geoff Canyon via use-livecode
I did something very much like this way, way, way long ago (in the MetaCard
days...). I don't remember the sound format, and it was mono, not stereo,
but it turned out that the format for the sound file was *really* simple: a
few bytes of easily-managed header, a bunch of binary data that represented
the sound file data, and a few bytes of footer.

So the steps above would be roughly:

1. Read in the binary data from the sound file, strip the header/footer.
2. Figure out what the "silence" value is for that sound format, append a
certain number of that value to the data.
3,4. Read in the binary data from the second file, strip the header/footer
and append to the data.
5. ??? Not sure how to do this. Instead, might add the appropriate
header/footer and write out the data in the same format as the input files.
6. Close the access to the original files.

If MP3 isn't comprehensible, then you could bulk convert the resulting
files from AU to MP3 using any number of tools.

gc


On Wed, Aug 22, 2018 at 5:14 PM Nicolas Cueto via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hello List,
>
> I wish to automate a repetitive (and tedious!) process that's now being
> done manually using a sound-file editor (Goldwave).
>
> The process is:
>
> 1. Open an AU sound file.
> 2. Append 1 second of silence to that file.
> 3. Open a 2nd AU sound file.
> 4. Copy and append that 2nd file to the 1st file.
> 5. Save as MP3 with a new title that now-modified 1st file.
> 6. Close that 1st file unmodified.
> 7. [Repeat 1-6.]
>
> If this is possible (easily possible!) with LC, what LC commands ought I be
> studying/using?
>
> Many thanks.
>
> --
> Nicolas Cueto
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


editing & combining sound files?

2018-08-22 Thread Nicolas Cueto via use-livecode
Hello List,

I wish to automate a repetitive (and tedious!) process that's now being
done manually using a sound-file editor (Goldwave).

The process is:

1. Open an AU sound file.
2. Append 1 second of silence to that file.
3. Open a 2nd AU sound file.
4. Copy and append that 2nd file to the 1st file.
5. Save as MP3 with a new title that now-modified 1st file.
6. Close that 1st file unmodified.
7. [Repeat 1-6.]

If this is possible (easily possible!) with LC, what LC commands ought I be
studying/using?

Many thanks.

--
Nicolas Cueto
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Surprise...

2018-08-22 Thread Curry Kenworthy via use-livecode



Mark T:

> In my particular use of arrays and lists, I find the
> lists to be a little more than 2 times faster

Thanks! (Noting: particular use, and methods used.) Optimizing LCS is 
extremely important, and methods that are great for testing items and 
arrays themselves may not be the fastest methods for real applications. 
I'm always glad to help people achieve better results, so let me know if 
you ever need a hand for your purpose.


But ( again :) ) my greater interest in this thread was, and remains, 
seeing the LC engine further optimized! That would really pay off.


Richard:

> Does anyone here have benchmarks comparing LC to Python,
> JavaScript, Lua, and/or other popular scripting languages?

No, but it's a very good pursuit. I would expect some interesting 
results with JS. I won't have time to test these myself for a while but 
I'll remain interested.


Best wishes,

Curry Kenworthy

Custom Software Development
LiveCode Training and Consulting
http://livecodeconsulting.com/

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: revNavigator - Cloning a card - am i doing something wrong?

2018-08-22 Thread Geoff Canyon via use-livecode
Okay, I've updated Navigator so that I think it will fix this. You (and
others with multiple monitors) will be the judge, but now on multiple
screens, when collapsing Navigator it should collapse to the top of the
screen it's on. Collapsing all Navigators should have them each collapse on
the screen they're on, only stacking with each other on that screen.

Here's hoping anyway...

Get Navigator here
. Or grab it
from GitHub .

On Wed, Aug 22, 2018 at 11:24 AM Matthias Rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> put the screenRect
>
> 0,126,2560,1566
> -2560,0,0,1440
>
> put the working screenrects
>
> 0,149,2560,1566
> -2560,23,0,1440
>
>
> Regards,
>
> Matthias
>
> > Am 22.08.2018 um 20:11 schrieb Geoff Canyon via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > On Wed, Aug 22, 2018 at 5:56 AM Matthias Rebbe via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >> Yes, i have a dual-screen setup.
> >>
> >
> > Can you tell me what
> >
> > put the screenrects
> >
> > results in for you?
> >
> > And
> >
> > put the working screenrects
> >
> > Thanks
> >
> > gc
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-22 Thread J. Landman Gay via use-livecode

On 8/22/18 3:13 PM, J. Landman Gay via use-livecode wrote:

But the stack should still fill the screen and it doesn't.


This will resize the stack the same way as your "adapt" handler does, so 
you can eliminate that entirely:


on preopenstack
  mobileSetAllowedOrientations("portrait")
  iphoneUseDeviceResolution true,true
  set the fullscreenmode of stack "ipad" to "exactFit"
end preopenstack

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-22 Thread J. Landman Gay via use-livecode

On 8/21/18 2:11 PM, Ludovic THEBAULT via use-livecode wrote:


But even « the rect of this cd » return the rect of the stack i created 
(0,0,768,1024) not the rect of the screen.
I’ve made a test stack. It’s an « iPad » stack. Test it with iOS simulator on 
an iPhone device.
https://www.dropbox.com/s/iwwm2syiqzqamtg/testsubstack2.livecode?dl=0

Click on « get the rect » and click on « Adapt » to set the rect of the 
background to the rect of the screen


I played with this for a while. I changed the opencard handler to a 
preOpenCard, which is when FSM is usually set. But there's something odd 
going on. When I tap the "get rect" button it says:


Rect of this stack: 170,172,938,1196
Rect of this cd: 0,0,768,1024
Screenrect: 0,0,320,480

If I use "exactfit" instead of "showAll" it does sort of work and is an 
easier way to get what you scripted. Since your app is targeted only for 
iPad, exactFit may be one of the few times it's appropriate. That said, 
it still isn't resizing to the screen even with "exactFit", and it 
should. Using "NoBorder" also gives the same results where it shouldn't.


I was able to repro your scripted solution by setting fullscreenMode to 
"noBorder" and simplifying the "adapt" script this way:


on adaptrect
  put the height of this cd into tHt
  put the width of this cd into tWd
  set the rect of this stack to 0,0,tWd,tHt -- doesn't really do that
  set the rect of grc "bkg" to 0,0,tWd,tHt
  put "Rect of bg = real rect :" & the rect of grc "bkg"  after fld "datas"
  set the top of grc "lineTop" to 0
  set the bottom of grc "lineBottom" to tHt
end adaptrect

But the stack should still fill the screen and it doesn't. Either I'm 
missing something or there's a problem with FSM.


Tested in LC 9.0.1 rc1, as it's the only version I have a compatible 
XCode for. I wonder if it's different in LC 8.x.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Surprise...

2018-08-22 Thread Mark Talluto via use-livecode
Hi Curry,

The stack can be found here: 
http://canelasoftware.com/pub/livecode/GetColumnCode.zip 

In my particular use of arrays and lists, I find the lists to be a little more 
than 2 times faster than arrays. This test is operating off an array with 100k 
records.

Best regards,

Mark Talluto
livecloud.io 
nursenotes.net 
canelasoftware.com 


> On Aug 20, 2018, at 2:03 PM, Curry Kenworthy via use-livecode 
>  wrote:
> 
> Mark T.:
> 
> > I wrote a stack that demonstrated this and other concepts for
> > LC Mark directly. His Global talks called ‘Optimizing Your Code’
> > are partially based on some things we have been discussing.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: revNavigator - Cloning a card - am i doing something wrong?

2018-08-22 Thread Matthias Rebbe via use-livecode
put the screenRect

0,126,2560,1566
-2560,0,0,1440

put the working screenrects

0,149,2560,1566
-2560,23,0,1440


Regards,

Matthias

> Am 22.08.2018 um 20:11 schrieb Geoff Canyon via use-livecode 
> :
> 
> On Wed, Aug 22, 2018 at 5:56 AM Matthias Rebbe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Yes, i have a dual-screen setup.
>> 
> 
> Can you tell me what
> 
> put the screenrects
> 
> results in for you?
> 
> And
> 
> put the working screenrects
> 
> Thanks
> 
> gc
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: revNavigator - Cloning a card - am i doing something wrong?

2018-08-22 Thread Geoff Canyon via use-livecode
On Wed, Aug 22, 2018 at 5:56 AM Matthias Rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Yes, i have a dual-screen setup.
>

Can you tell me what

put the screenrects

results in for you?

And

put the working screenrects

Thanks

gc
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Socket questions

2018-08-22 Thread Mark Wieder via use-livecode

On 08/22/2018 07:33 AM, Douglas Ruisaard via use-livecode wrote:

?Dave or Doug? ... anyway.


Heh. I was apologizing to Dave Cragg for throwing shade on libURL 
inadvertently. Didn't think that this might be interpreted differently.


  It sounds like a "known" problem then I tried searching the QC 
listing at Livecode's (http://quality.livecode.com/) but can't find any 
reference to that specific function and too much when looking for 
"socket" and "domain".  Do you know if a bug submission has been made 
for this issue?  You make it sound as if LC is aware of it.


Dunno. I stopped filing socket bugs a long time ago.

--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Surprise...

2018-08-22 Thread jbv via use-livecode
Brian,

Thanks for running all these tests.

On the same topic, I'd like to mention that I use "intersect" with
arrays a lot in some scripts (for complex requests it is sometimes
faster to load raw data from mySQL and process it with arrays),
and "intersect" is really fast in LC9...

On Tue, August 21, 2018 4:24 pm, Brian Milby via use-livecode wrote:
> I expanded my test stack and ran it on the versions I had available.
> Here's a couple of tests from each version:
>




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: revNavigator - Cloning a card - am i doing something wrong?

2018-08-22 Thread Geoff Canyon via use-livecode
You might want to add your experience to Bug 21509
 which I created for
this issue.

gc

On Wed, Aug 22, 2018 at 7:51 AM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I verified that if run from a script, the card will clone in the stack the
> script is running in. Otherwise it will clone in the stack the source card
> is in regardless of the topStack. Odd implementation if you ask me. I often
> need to create a new substack, then clone a card from another substack to
> save a lot of time copy pasting objects. Heretofore I've been unable to do
> that, but now I know, just place a button on card 1 of the new stack.
>
> Bob S
>
>
> > On Aug 21, 2018, at 20:50 , Geoff Canyon via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > On Tue, Aug 21, 2018 at 7:50 AM Bob Sneidar via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >> SO THAT'S how you do it! And do you mean it clones to the topstack?
> >> Usually you would clone a card from the message box, and of course it
> >> cannot clone to that!
> >>
> >> Bob S
> >>
> >
> > I'm not 100% sure whether this a bug or not -- I filed Bug 21509
> >  to report it.
> Cloning
> > an object makes a duplicate in the same container as the original.
> Cloning
> > a card makes a duplicate in the stack where the script is running. I
> don't
> > know if the message box is somehow different than Navigator to prevent
> > this, or if there is code to prevent it happening in the message box
> like I
> > have now put in Navigator. We'll see what the response is.
> >
> > gc
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: revNavigator - Cloning a card - am i doing something wrong?

2018-08-22 Thread Bob Sneidar via use-livecode
I verified that if run from a script, the card will clone in the stack the 
script is running in. Otherwise it will clone in the stack the source card is 
in regardless of the topStack. Odd implementation if you ask me. I often need 
to create a new substack, then clone a card from another substack to save a lot 
of time copy pasting objects. Heretofore I've been unable to do that, but now I 
know, just place a button on card 1 of the new stack. 

Bob S


> On Aug 21, 2018, at 20:50 , Geoff Canyon via use-livecode 
>  wrote:
> 
> On Tue, Aug 21, 2018 at 7:50 AM Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> SO THAT'S how you do it! And do you mean it clones to the topstack?
>> Usually you would clone a card from the message box, and of course it
>> cannot clone to that!
>> 
>> Bob S
>> 
> 
> I'm not 100% sure whether this a bug or not -- I filed Bug 21509
>  to report it. Cloning
> an object makes a duplicate in the same container as the original. Cloning
> a card makes a duplicate in the stack where the script is running. I don't
> know if the message box is somehow different than Navigator to prevent
> this, or if there is code to prevent it happening in the message box like I
> have now put in Navigator. We'll see what the response is.
> 
> gc
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Socket questions

2018-08-22 Thread Douglas Ruisaard via use-livecode
?Dave or Doug? ... anyway.  It sounds like a "known" problem then I tried 
searching the QC listing at Livecode's (http://quality.livecode.com/) but can't 
find any reference to that specific function and too much when looking for 
"socket" and "domain".  Do you know if a bug submission has been made for this 
issue?  You make it sound as if LC is aware of it.

Douglas Ruisaard
Trilogy Software
(250) 573-3935

> To: Mark Wieder via use-livecode 
> Subject: Re: Socket questions
> Message-ID: 
> Content-Type: text/plain; charset=utf-8; format=flowed
> 
> On 08/18/2018 09:41 PM, Mark Wieder via use-livecode wrote:
> 
> > That's a dns lookup failure, which won't get as far as a socketError
> > message. What you should get instead is a non-empty result message from
> > the openSocket command. I can't comment on tsNet, but libUrl has never
> > to my recollection actually done this correctly.
> 
> I misspoke here (sorry Dave)... it's not libUrl that's at fault here,
> but the socket routines in the engine. There's a function named
> MCModeCanAccessDomain, but it always returns false and afaict never
> really comes into play: it's invoked three times in exec-network.cpp,
> but only if network access is not allowed.
> 
> --
>   Mark Wieder
>   ahsoftw...@gmail.com
> 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: revNavigator - Cloning a card - am i doing something wrong?

2018-08-22 Thread Matthias Rebbe via use-livecode
Yes, i have a dual-screen setup.
I´ve made a screen recording and uploaded it to Droplr.
http://d.qck.biz/ffyMUu 

Regards,

Matthias

> Am 22.08.2018 um 05:54 schrieb Geoff Canyon via use-livecode 
> mailto:use-livecode@lists.runrev.com>>:
> 
> On Tue, Aug 21, 2018 at 8:58 AM Matthias Rebbe via use-livecode <
> use-livecode@lists.runrev.com > wrote:
> 
>> Geoff,
>> thanks for the quick update.
>> 
>> There´s another thing i noticed:
>> 
>> I moved the opened revNavigator stack on the right side of the LC Menu
>> below the Mac OS X menu bar.
>> When i click the arrow icon to collaps the revNavigator stack, then it is
>> moved outside of the screen.
>> 
>> I have to change  the y-coordinate from 29  to 155 to get it displayed
>> again.
>> 
>> Regards,
>> Matthias
>> 
>> I'm not sure I understand -- if the y-coordinate of Navigator is 29, then
> it should still be on-screen? I tried several ways to replicate this, and
> so far, no luck. Do you have a multiple-monitor setup?
> 
> gc
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com 
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode 
> 
Matthias Rebbe
Tel +49 5741 31
‌https://matthiasrebbe.eu ‌

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: [ANN] DGH 2.5.1 is released

2018-08-22 Thread Matthias Rebbe via use-livecode
I second that. As an addition:  Zryip`s response time for support requests and 
bugfixes is awesome.



> Am 22.08.2018 um 05:09 schrieb Tom Glod via use-livecode 
> mailto:use-livecode@lists.runrev.com>>:
> 
> Great plugin  i would say its a must for any developer using DGs 
> otherwise you are doing more work than you need to.
> 
> except of course for community users.
> 
> great job, indeed its a great helper.
> 
> On Tue, Aug 21, 2018 at 4:44 PM, zryip theSlug via use-livecode <
> use-livecode@lists.runrev.com > wrote:
> 
>> Dear List Members,
>> 
>> 
>> DGH 2.5.1 is now available.
>> 
>> New:
>> - Formulae Calculation: the installed script is now containing a new
>> handler: DGH_Formulae_RefreshAll. This handler is allowing to refresh the
>> calculation inside the datagrid. Call this function after having populated
>> an empty datagrid to have all the calculations done automatically.
>> 
>> Changes:
>> - Custom header: Only the special header controls can be added inside the
>> header template. This means the classical control, widgets or custom
>> controls are now disabled to avoid potential problems in building a custom
>> header from scratch.
>> - Custom header: The script installed with a custom header has changed to
>> remove a line decreasing performances with datagrid containing more than 16
>> columns
>> - The new functionalty allowing to add several columns at a time has been
>> rethought to increase perfomances when more than 20 columns are added at a
>> time.
>> - The way the columns are hidden (option "always hide invisible columns"
>> checked or not) has been rethought to increase performances when a lot of
>> columns are displayed inside the column builder's preview.
>> - Preferences: the unicode labels has been removed from the preferences and
>> is considered to turn to off by default, due to unicode is now native
>> inside LC since several versions. This option could be the cause of some
>> label issues when turned to on and was only existing for compatibility with
>> old LC versions. It is now in no interest with LC 8.x and 9.x
>> 
>> Fixed bugs:
>> - DGH was very slow loading datagrids table containing more than 16
>> columns.
>> - "Spreadsheet" behavior: when navigating through the cells and inputing
>> new values, then leaving the cell, the values were not stored inside the
>> datagrid.
>> 
>> 
>> 
>> 
>> Best Regards,
>> 
>> --
>> Zryip TheSlug
>> http://www.aslugontheroad.com 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com 
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

Matthias Rebbe
Tel +49 5741 31
‌https://matthiasrebbe.eu ‌

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

[ANN] Release 9.0.1 RC-2

2018-08-22 Thread panagiotis merakos via use-livecode
Dear list members,

We are pleased to announce the release of LiveCode 9.0.1 RC-2.


Getting the Release
===
You can get the release at https://downloads.livecode.com/livecode/ or via
the automatic updater.


Release Contents

LiveCode 9.0.1 RC-2 comes with 7 bugfixes, including:

21396 [iOS 12 beta] App crashes on startup
21496 Emscripten: startup script no longer runs
21417 Inclusion of tsNet causes HTML5 standalone to crash
21443 Mobile scroller on Android does not initially work
21434 visual effect not showing on android

Moreover, Android 6.0 (API 23) Marshmallow introduced a new permissions
model that lets apps request permissions from the user at runtime, rather
than prior to installation. Apps built with LC 9.0.1 do support this new
permissions model, and request permissions automatically when the app
actually requires the services or data protected by the services.

For example, if the app calls mobilePickPhoto "camera" , a dialog will be
shown to the user asking for permission to access the device camera.
If the user does not grant permission, the call will fail.

Moreover, the app can use the function
 to check if the permission for
permissionName has been granted, and the command  to explicitly ask for permissionName. For more details and
examples see the Dictionary.

Notes:
- Existing apps will continue to work without needing any changes, as
backwards compatibility has been ensured.
- You have to make sure that you check the required permissions for your
app in the standalone settings.
- Apps that run on devices running Android 6+ will work with the new
permissions model. Apps that run on older devices (less than Android 6)
will continue to work with the old permissions model.
- If the user does not grant a permission when the dialog appears for the
first time, they can change this preference from the Settings app.

Known issues


- The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS
yet.

The full release notes are available from:

http://downloads.livecode.com/livecode/9_0_1/LiveCodeNotes-9_0_1_rc_2.pdf

Feedback

Please report any bugs encountered on our BugZilla at
http://quality.livecode.com/

We have a forum available for discussing LiveCode Builder at
http://forums.livecode.com/viewforum.php?f=93


Have fun!
The LiveCode Team
--
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode