Re: [TRYING AGAIN] Secure Sockets Issue

2016-02-02 Thread Stephen MacLean
> On Feb 2, 2016, at 11:45 AM, Dr. Hawkins wrote: > > On Tue, Feb 2, 2016 at 8:40 AM, Stephen MacLean > wrote: > >> And this on the client: >> >> open secure socket to (field "host" & ":5210") with message >> “chatConnected" >> >> Should create a

Re: Using [ Control "SomeImageName" ] VS [image "SomeImageName"]

2016-02-02 Thread Mark Wieder
Ali (and Mark) I was just answering the question asked :-) Heh. What I usually do (and what we generally do in the IDE) is get a target object's long ID, put it in a variable and use that for subsequent references. That way you only pay the (again, very small) performance penalty once per

Re: Can Handler Know What Params It Should Have

2016-02-02 Thread [-hh]
Bernard wrote: > I know the params can be called to find out what parameters were > passed to the handler when it is called. However, I'm wondering > if a handler has a way of knowing what parameters it had at the > time it was defined. I don't think so. Regards Bernard Yes, that's my opinion

Re: Using [ Control "SomeImageName" ] VS [image "SomeImageName"]

2016-02-02 Thread Mark Waddingham
On 2016-02-02 19:00, Mark Wieder wrote: PLEASE don't encourage people to reference objects by id. That's the main reason we can't have proper version control in LC. If you only use ids as a runtime property (i.e. don't assume they remain the same across sessions) then that usage has no

Re: Using [ Control "SomeImageName" ] VS [image "SomeImageName"]

2016-02-02 Thread Ali Lloyd
I was just answering the question asked :-) What I usually do (and what we generally do in the IDE) is get a target object's long ID, put it in a variable and use that for subsequent references. That way you only pay the (again, very small) performance penalty once per usage. Obviously YMMV, I

clipboard access on mobile (iOS)

2016-02-02 Thread Ben Rubinstein
Hi all, Before I give up; is there anyway to programmatically set the clipboard on iOS? (Extra points for general mobile solution, but right now my need is on iOS.) At this point I'd accept filthy hacks (it's an internal tool). I want to be able to set the clipboard to some text, and can't

Re: clipboard access on mobile (iOS)

2016-02-02 Thread Monte Goulding
I think you need an external... Not sure if Fraser implemented mobile clipboards during his recent work on it though. Sent from my iPhone > On 3 Feb 2016, at 5:49 AM, Ben Rubinstein wrote: > > Hi all, > > Before I give up; is there anyway to programmatically set the

Re: Multiple Mobile Shutdown Messages?

2016-02-02 Thread Scott Rossi
Thanks for the suggestions. The pList option could work, but what message is sent when launching the stack from the backgrounded state? Resume? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/2/16, 1:19 PM, "use-livecode on behalf of Mike Kerner"

Re: Multiple Mobile Shutdown Messages?

2016-02-02 Thread Mike Kerner
I haven't played with this, but thinking aloud: 1) Set the plist so the app doesn't exit on suspend 2) Therefore, you won't get an exit message unless the app is quit. Set a flag 3) on preOpenStack check for the flag. On Tue, Feb 2, 2016 at 3:44 PM, Scott Rossi wrote: >

Re: Using [ Control "SomeImageName" ] VS [image "SomeImageName"]

2016-02-02 Thread Ali Lloyd
:-D Re-reading my original reply, I see that I did actually say "...it will usually be better to reference a control by id..." when I definitely should have said "...it will usually be quicker to reference a control by id..." On Tue, Feb 2, 2016 at 9:21 PM Mark Wieder

Re: Using [ Control "SomeImageName" ] VS [image "SomeImageName"]

2016-02-02 Thread Mark Wieder
By the way... did I mention that I *really* appreciate the team's presence on this list? -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Fade In and Out Using Blend Level: Performance Issues

2016-02-02 Thread Sannyasin Brahmanathaswami
Wow, very helpful. What it the issue with scripted repeat loops that touch the pixel map of Tablet sized screens? I do notice this slowdown in iPad Mini… but it’s only 1024 X 768… so why is it slower? BR On February 1, 2016 at 7:27:12 PM, Scott Rossi

Multiple Mobile Shutdown Messages?

2016-02-02 Thread Scott Rossi
Hi All: I'm wondering if there are different messages sent on mobile (iOS) when an app is backgrounded versus when the app is swipe-dismissed (removed from the list of backgrounded apps). I'm trying to set up a sort of "reset" behavior in an app that allows starting from screen 1 instead of

Re: Multiple Mobile Shutdown Messages?

2016-02-02 Thread Stephen MacLean
Hi Scott, There are different notifications sent to an app, one of which is: - applicationWillTerminate: Tells the delegate when the app is about to terminate. Monte’s http://mergext.com/home/mergnotify/ will help you get access to those notifications, although I don’t know for sure if it

Re: Multiple Mobile Shutdown Messages?

2016-02-02 Thread Randy Hengst
Hi Scott, I use the plist hack that allows suspend. When I reopen the stack from the suspended state, I’m pretty darn sure the StartUp handler is not triggered. It is triggered when the app is opened fresh… can you make sure of that? be well, randy Randy Hengst

Re: Multiple Mobile Shutdown Messages?

2016-02-02 Thread Scott Rossi
Actually, openStack seems to work the same -- not sent after resuming from being backgrounded. So several options to be had :-) Thanks again, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/2/16, 3:11 PM, "use-livecode on behalf of Scott Rossi"

Re: Multiple Mobile Shutdown Messages?

2016-02-02 Thread Scott Rossi
OK, it looks like the "startup" message is indeed the way to go: sent when launching fresh, not sent when launching after suspended. Thanks guys. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/2/16, 2:25 PM, "use-livecode on behalf of Scott Rossi"

Re: Using [ Control "SomeImageName" ] VS [image "SomeImageName"]

2016-02-02 Thread Sannyasin Brahmanathaswami
OH… duh…. no! ha (red in the face) This does work… fabulous! local tHALogo, tCompanyTitle on preOpenCard setStage end preOpenCard on opencard scene1 end opencard command setStage # be sure to declare all objects in local outside all handlers put the long id of fld

Re: Using [ Control "SomeImageName" ] VS [image "SomeImageName"]

2016-02-02 Thread Mark Wieder
On 02/02/2016 01:51 AM, Ali Lloyd wrote: Controls referenced by id are cached, so on a stack / card with many controls especially of the same type, it will usually be better to reference a control by id (and then it is irrelevant whether you specify the type or not). PLEASE don't encourage

Re: clipboard access on mobile (iOS)

2016-02-02 Thread Tore Nilsen
Have you tried to put the text you want into an invisible field, and then copy the text from this field using the copy command in your code? From the way I understand the documentation this should work on all platforms. Tore > 2. feb. 2016 kl. 19.49 skrev Ben Rubinstein : >

Re: LC 8, "Selector" widget question/discussion

2016-02-02 Thread Klaus major-k
Hi Peter, > Am 02.02.2016 um 15:35 schrieb Peter TB Brett : > > On 02/02/2016 13:19, Klaus major-k wrote: > > Hi all, > > > > we have this new „Selector“ widget in LC 8. > > > > Hi Klaus, > > We currently do not plan to ship the "Selector" widget as one of the

Re: LC 8, "Selector" widget question/discussion

2016-02-02 Thread Peter TB Brett
On 02/02/2016 13:19, Klaus major-k wrote: > Hi all, > > we have this new „Selector“ widget in LC 8. > Hi Klaus, We currently do not plan to ship the "Selector" widget as one of the built-in widgets in LiveCode 8.0. I'll be removing it in a forthcoming Developer Preview release. We're

Re: Using [ Control "SomeImageName" ] VS [image "SomeImageName"]

2016-02-02 Thread Ali Lloyd
Yes, in general specifying the control type when referring to the control by name will be very slightly faster than not doing so - this is because when cycling through the controls of a card to see if there is a match, a non-matching control type can be instantly disregarded (a constant time

[TRYING AGAIN] Secure Sockets Issue

2016-02-02 Thread Stephen MacLean
Hi All, Going to give this another go: I can not get two LC apps to connect and transmit to each other via secure sockets. They connect fine and transmit fine without trying to secure them. As far as I can tell, doing this on the server: accept secure connections on port 5210 with message

Re: [TRYING AGAIN] Secure Sockets Issue

2016-02-02 Thread Dr. Hawkins
On Tue, Feb 2, 2016 at 8:40 AM, Stephen MacLean wrote: > And this on the client: > > open secure socket to (field "host" & ":5210") with message > “chatConnected" > > Should create a secure connection between the two apps. > > somewhere in the archives you will find a

Re: Global Warming Reader App,

2016-02-02 Thread James Little
Dear Livecoders, Could someone test the Windows version of the Global Warming Reader. Updated Windows & Mac desktop versions are at: http://globalwarmingapps.org/downloads.html I’ve posted the livecode source code at: http://globalwarmingapps.org/source-code.html Pardon a few basic

Can Handler Know What Params It Should Have

2016-02-02 Thread Bernard Devlin
I know the params can be called to find out what parameters were passed to the handler when it is called. However, I'm wondering if a handler has a way of knowing what parameters it had at the time it was defined. I don't think so. Regards Bernard ___

LC 8, "Selector" widget question/discussion

2016-02-02 Thread Klaus major-k
Hi all, we have this new „Selector“ widget in LC 8. Do you think it would make sense (or comply to any HIG) if this would be „wrap“-able“? I mean that we could have two or more lines of continuous numbers like 1 2 3 4 5 6 7 8 9 10 11 … in ONE widget, know what I mean? I would like to have it

Re: [TRYING AGAIN] Secure Sockets Issue

2016-02-02 Thread Stephen MacLean
One of the links in my post was a link to one of yours. Didn’t see a fix there, but will keep looking. Best, Steve MacLean > On Feb 2, 2016, at 11:45 AM, Dr. Hawkins wrote: > > On Tue, Feb 2, 2016 at 8:40 AM, Stephen MacLean > wrote: > >> And

Re: Can Handler Know What Params It Should Have

2016-02-02 Thread Pierre Sahores
Bernard, It’s the way most AI programs are running (functional programming + lambda-calcul => 24/7 enabled recursive call-backs) 1.- as a startup example : on idle if var1 and var2 is « » then get function function_1 else get function function_n end if end idle or more

Re: **SPAM** [TRYING AGAIN] Secure Sockets Issue

2016-02-02 Thread Stephen MacLean
> On Feb 2, 2016, at 11:40 AM, Stephen MacLean wrote: > > Hi All, > > Going to give this another go: > > I can not get two LC apps to connect and transmit to each other via secure > sockets. They connect fine and transmit fine without trying to secure them. > > As

Re: Using [ Control "SomeImageName" ] VS [image "SomeImageName"]

2016-02-02 Thread Mark Wieder
On 02/02/2016 06:59 PM, Sannyasin Brahmanathaswami wrote: on preOpenCard put the long id of img "HaLogo" into tHaLogo end preOpenCard #then later command setStage set the loc of tHALogo to the screenLoc end setStage generates an error What kind of an error? That code works

Re: Using [ Control "SomeImageName" ] VS [image "SomeImageName"]

2016-02-02 Thread Richard Gaskin
Brahmanathaswami wrote: Can you look at my earlier post? perhaps I should open up a new thread “Best Practices — Passing control reference by variables in scripts” on preOpenCard put the long id of img "HaLogo" into tHaLogo end preOpenCard #then later command setStage set the loc of

Re: Fade In and Out Using Blend Level: Performance Issues

2016-02-02 Thread Sannyasin Brahmanathaswami
FYI Jacque says dissolve is working on Android. So I will just, for now, leave scripted blendLevel repeat loops out of the mix entirely. On February 2, 2016 at 10:34:42 AM, Sannyasin Brahmanathaswami (bra...@hindu.org) wrote: Wow, very helpful. What it the issue

Re: Using [ Control "SomeImageName" ] VS [image "SomeImageName"]

2016-02-02 Thread Sannyasin Brahmanathaswami
On February 2, 2016 at 12:07:34 PM, Ali Lloyd (ali.ll...@livecode.com) wrote: > By the way... did I mention that I *really* appreciate the team's > presence on this list? > So do I! Can you look at my earlier post? perhaps I should open up a new thread “Best