Re: overriding a function

2015-06-24 Thread Peter Haworth
Sorry, that should be - dispatch function "getlist" to On Wed, Jun 24, 2015 at 1:43 PM Peter Haworth wrote: > Right, wasn't sure about that, hence the "?" at the end :-) > > I tried this as a front script and it works. > > function getList >remove the script of from front >dispatch "g

Re: overriding a function

2015-06-24 Thread Peter Haworth
Right, wasn't sure about that, hence the "?" at the end :-) I tried this as a front script and it works. function getList remove the script of from front dispatch "getList" to --do whatever with the reult insert the script of into front end getList Feels a bit kludgy though. Pete

Re: FFmpeg scripting?

2015-06-24 Thread Phil Davis
Hi Tim, Here is a resource whose "ffmpeg basics" PDF I have found well worth the money: http://ffmpeg.tv/ I've used the same approach as Alex - constructing the commands and then running them via shell() - with ffmpeg, mediainfo and other apps from within LC. Best - Phil Davis On 6

Re: overriding a function

2015-06-24 Thread David Bovill
That would get trapped by the Front Script On Wed, 24 Jun 2015 at 15:43, Peter Haworth wrote: > Maybe dispatch getlist to wherever it exists in the IDE stacks? > > On Wed, Jun 24, 2015, 2:29 AM Monte Goulding > wrote: > > > Thanks Dick I wasn't expecting a solution! Very creative! > > > > Sent f

Re: No Internet No Livecode?

2015-06-24 Thread Mark Talluto
On 24/06/15 13:52, Ray wrote: >> I have no internet connection today, service is down or something, and when >> I launch Livecoe 7.0.5, 7.0.2 or 6.7.6 on my Mac Mini running Yosemite I get >> nothing but a Livecode menu which doesn't let me do anything except open up >> some kind of Services sec

Re: Insertion point problems

2015-06-24 Thread BNig
Just tried with the default button (the blue blinking on on Mac) which has its traversalOn set to true and the script still worked. I seem to remember that Mac and Windows handle traversalOn for buttons differently where on Mac the button does not take the focus from the field. Not sure though. The

Re: Insertion point problems

2015-06-24 Thread BNig
Yes, traversalOn of the button is set to false. Mind you: I have to go to the topStack to get the selectedChunk when no text is selected and only the cursor is blinking. Kind regards Bernd pmbrig wrote > The difference may be that in Bernd's case the traversalon of the button > is > false, whe

Re: No Internet No Livecode?

2015-06-24 Thread Richmond
On 24/06/15 13:52, Ray wrote: I have no internet connection today, service is down or something, and when I launch Livecoe 7.0.5, 7.0.2 or 6.7.6 on my Mac Mini running Yosemite I get nothing but a Livecode menu which doesn't let me do anything except open up some kind of Services section in the

Re: Insertion point problems

2015-06-24 Thread Richard Gaskin
J. Landman Gay wrote: > I don't think traversal is the problem here. When I tested, my button > did not have traversalOn set to true (that was the first thing I > checked.) The anomaly is that the selectedChunk works fine if the > selection contains text, it only fails if the selection is a simple

Re: Livecode 8 (dp2) not recognising Xcode?

2015-06-24 Thread David Bovill
Yes - I tried as well - LC 8 (dp2) needs to connect to Xcode 6.2 play well - but apps crash with black screen on latest iOS. On 24 June 2015 at 13:24, Dave Kilroy wrote: > David apparently LC 8 (dp2) needs to connect to Xcode 6.2 - and also > apparently apps made this way will run on iOS 8.2. >

Re: Insertion point problems

2015-06-24 Thread J. Landman Gay
I don't think traversal is the problem here. When I tested, my button did not have traversalOn set to true (that was the first thing I checked.) The anomaly is that the selectedChunk works fine if the selection contains text, it only fails if the selection is a simple insertion point. Both ins

Re: Insertion point problems

2015-06-24 Thread Richard Gaskin
Yes, the traversalOn property is the key here. Only one object can have focus at any given time, so when traversing among controls with the keyboard any field selection will be cleared. But by turning off the traversalOn property for buttons you want to be able to act on text, the focus remai

Re: Insertion point problems

2015-06-24 Thread Peter Brigham
The difference may be that in Bernd's case the traversalon of the button is false, whereas in David's case the traversalon of the button is true, which will void the current selection in the field on mousedown. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Tue, J

Re: Insertion point problems

2015-06-24 Thread Peter Brigham
What I do for this is store the selectedchunk in a customprop or a script local on mouseEnter in the button script that will be doing the pasting. That way if the mousedown removes the current selection you already have the info you need. BTW, if you set the traversalon to false for the button, the

Re: overriding a function

2015-06-24 Thread Peter Haworth
Maybe dispatch getlist to wherever it exists in the IDE stacks? On Wed, Jun 24, 2015, 2:29 AM Monte Goulding wrote: > Thanks Dick I wasn't expecting a solution! Very creative! > > Sent from my iPhone > > > On 24 Jun 2015, at 6:50 pm, Dick Kriesel wrote: > > > > It works for me. Does it work fo

Re: No Internet No Livecode?

2015-06-24 Thread Ray
No, I disabled the Start Center when I st up the machine, but thanks. I think I've got a work around. On 6/24/2015 3:41 PM, Mike Bonner wrote: On your mac, does the start center still pop up on startup? If so, yo might change preferences so that it doesn't show up and then try again. (just a

Re: No Internet No Livecode?

2015-06-24 Thread Mike Bonner
On your mac, does the start center still pop up on startup? If so, yo might change preferences so that it doesn't show up and then try again. (just a guess) On Wed, Jun 24, 2015 at 5:01 AM, Ray wrote: > Since posting this I've discovered I DO have an internet connection, it's > just SUPER slow

Re: [ANN] Text to speech for iOS.

2015-06-24 Thread René Micout
Great ! > Le 24 juin 2015 à 14:36, Thierry Douez a écrit : > > Dear iOS LiveCoders, > > I'm pleased to annouce the first release of sunnYtext2speech, > a text to speech external for iOS. > > http://sunny-tdz.com/sunnytext2speech > > A trial version with a demo stack is also available. > > Ki

Re: Livecode 8 (dp2) not recognising Xcode?

2015-06-24 Thread Dave Kilroy
David apparently LC 8 (dp2) needs to connect to Xcode 6.2 - and also apparently apps made this way will run on iOS 8.2. I re-downloaded Xcode 6.2 and LC8 (dp2) connected with it nicely and I built an app - unfortunately I don't have a device running 8.2, but do have one running 8.1.3 - and with 6.

[ANN] Text to speech for iOS.

2015-06-24 Thread Thierry Douez
Dear iOS LiveCoders, I'm pleased to annouce the first release of sunnYtext2speech, a text to speech external for iOS. http://sunny-tdz.com/sunnytext2speech A trial version with a demo stack is also available. Kind regards, Thierry Thierry Douez

Re: FFmpeg scripting?

2015-06-24 Thread Alex Tweedly
You sholdn't need to use bash directly - simply use the 'shell' feature on each file. Of course, you could do just the same by putting all the commands into a file, and then running it from bash if that was preferable :-) Here's a fragment of a script I use to convert jpeg files (for differen

No Internet No Livecode?

2015-06-24 Thread Ray
Since posting this I've discovered I DO have an internet connection, it's just SUPER slow for some reason. The only thing remaining which puzzles me is why Livecode 7.0.2 on my Windows system launches immediately while on the Mac it launches 'eventually', evidently waiting while some kind of n

No Internet No Livecode?

2015-06-24 Thread Ray
I have no internet connection today, service is down or something, and when I launch Livecoe 7.0.5, 7.0.2 or 6.7.6 on my Mac Mini running Yosemite I get nothing but a Livecode menu which doesn't let me do anything except open up some kind of Services section in the System Preferences. Have I

Re: overriding a function

2015-06-24 Thread Monte Goulding
Thanks Dick I wasn't expecting a solution! Very creative! Sent from my iPhone > On 24 Jun 2015, at 6:50 pm, Dick Kriesel wrote: > > It works for me. Does it work for you? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this

Re: overriding a function

2015-06-24 Thread David Bovill
Nice On Wed, 24 Jun 2015 at 09:51, Dick Kriesel wrote: > > > On Jun 23, 2015, at 10:39 PM, Monte Goulding < > mo...@sweattechnologies.com> wrote: > > > > Howdy folks > > > > I’m doing a bit of IDE hacking for a new plugin and I want to override a > function in one of the libraries or rather add s

Re: overriding a function

2015-06-24 Thread Dick Kriesel
> On Jun 23, 2015, at 10:39 PM, Monte Goulding > wrote: > > Howdy folks > > I’m doing a bit of IDE hacking for a new plugin and I want to override a > function in one of the libraries or rather add some lines to it’s results. > The only way I can override is via a front script but ideally I

The clipboad is busy

2015-06-24 Thread Tiemo Hollmann TB
Hello, LC 6.5.2 and 7.0.5 on Win 7. I am using: export snapshot from grp "ScreenShot" to tScreenshot as JPG # alternative: PNG set the clipboarddata["image"] to tScreenshot. Pasting this image works fine in some other programs, as Photoshop, MS Word2013, Paint Trying to past it into MS Excel