Re: Lock screen and animated gif

2022-12-21 Thread Bob Sneidar via use-livecode
I hope you know where to get Genuis Enhancement pills on the internet, because we are all going to need them before diving into THAT series. Bob S On Dec 21, 2022, at 05:22 , Paul Dupuis via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Thank you. In a future Livecode Global you

Re: Lock screen and animated gif

2022-12-21 Thread Paul Dupuis via use-livecode
Thank you. In a future Livecode Global you should do a series on "How the Engine Actually Works" :-) On 12/21/2022 8:00 AM, Mark Waddingham via use-livecode wrote: On 2022-12-20 18:27, Paul Dupuis via use-livecode wrote: If someone switches to another applications (so a suspendStack is exec

Re: Lock screen and animated gif

2022-12-21 Thread Mark Waddingham via use-livecode
On 2022-12-20 18:27, Paul Dupuis via use-livecode wrote: If someone switches to another applications (so a suspendStack is executes and does the currently executing script get suspended?) and then back to a different window/stack, could that also change the defaultStack for the currently executin

Re: Lock screen and animated gif

2022-12-20 Thread Bob Sneidar via use-livecode
A while back I created a Spinner standalone that listened for messages via sockets. It worked quite well actually. I sent it commands to show and hide itself, and start and stop the spinner, as well as text to display. Since it was a standalone app it was not subject to the inline message queue.

Re: Lock screen and animated gif

2022-12-20 Thread Bob Sneidar via use-livecode
this is the exact same thing I was experiencing a few years back which got me away from even referring to the defaultStack. Or topStack for that matter. I was using wait and send in time a lot back then. Now I explicitly refer to a stack by it's filename or better yet a card by it's long id. B

Re: Lock screen and animated gif

2022-12-20 Thread J. Landman Gay via use-livecode
A thingle is similar to a thimble but is available in much larger sizes. Some are used as cake and cheese covers but the largest ones can fit over the head, where some believe they protect from alien death rays and the mmwaves that cell towers emit. -- Jacqueline Landman Gay | jac...@hyperactiv

Re: Lock screen and animated gif

2022-12-20 Thread J. Landman Gay via use-livecode
That's probably a better solution anyway because progress bars make the wait seem faster since users can see something happening. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 20, 2022 12:37:45 PM jbv via use-livecode wrote:

Re: Lock screen and animated gif

2022-12-20 Thread J. Landman Gay via use-livecode
It's also possible to set the currentFrame of an animated gif, which would do the same thing. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 20, 2022 8:31:27 AM Brian Milby via use-livecode wrote: Another option is to use a

Re: Lock screen and animated gif

2022-12-20 Thread jbv via use-livecode
Thanks for the offer, but actually things are a bit more complicated and include several steps : 1- the user selects different options on a modal stack 2- the user clicks a "search" button 3- various calculations are made client side according to the selections and some data already in the main st

Re: Lock screen and animated gif

2022-12-20 Thread Paul Dupuis via use-livecode
Mark, Thanks for clarifying! On 12/20/2022 1:10 PM, Mark Waddingham via use-livecode wrote: Finally click button B2 on stack S2 - the one which changes the defaultStack in a pending message... Then observe an error - this is the case Paul describes. I must have had some of the above going on

Re: Lock screen and animated gif

2022-12-20 Thread Mark Waddingham via use-livecode
On 2022-12-20 15:48, Paul Dupuis via use-livecode wrote: I'm just using this post to raise awareness on the list (if anyone reading this doesn't know this already) When using 'wait 0 with messages' any messages in the pendingMessages (who are not delayed in time) get processed. This includes (po

Re: Lock screen and animated gif

2022-12-20 Thread Richard Gaskin via use-livecode
How many chars in the text? I'd wager that unless it's uncommonly enormous, you may find that the one-time cost of writing a handler to use the styledText array of the field will speed things up so much you may not even need anything more than a brief watch cursor. If you can post a sample p

Re: Lock screen and animated gif

2022-12-20 Thread Bob Sneidar via use-livecode
It's okay, I'm sure you will be here all w... oh wait, is that the manager motioning you off the stage? Bob S > On Dec 20, 2022, at 07:40 , harrison--- via use-livecode > wrote: > > Thingle, It could also be: I’m single - but with a lisp! LOL > > Ok, I’ll stop now. > > Rick > > > > __

Re: Lock screen and animated gif

2022-12-20 Thread Paul Dupuis via use-livecode
I'm just using this post to raise awareness on the list (if anyone reading this doesn't know this already) When using 'wait 0 with messages' any messages in the pendingMessages (who are not delayed in time) get processed. This includes (potentially) user clicks (mouseDown and mosueUp events).

Re: Lock screen and animated gif

2022-12-20 Thread harrison--- via use-livecode
Thingle, It could also be: I’m single - but with a lisp! LOL Ok, I’ll stop now. Rick ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.

Re: Lock screen and animated gif

2022-12-20 Thread harrison--- via use-livecode
Is updateYourThingle a technical term? What is a Thingle anyway? I’m familiar with Thingy, but I haven’t seen a Thingle before. Your definition appears to be: Some icon thing that spins around. Sorry, I just couldn’t resist! ;-) Rick > On Dec 20, 2022, at 9:37 AM, Craig Newman via use-liveco

Re: Lock screen and animated gif

2022-12-20 Thread bob--- via use-livecode
I find to get the spinner to rotate you need to add a wait with messages statement into loops somewhere. wait 0 seconds with messages Give it a try and see if that gets it spinning. - Bob Hall > On Dec 20, 2022, at 7:27 AM, Richmond Mathewson via use-livecode > wrote: > > Try 'without mes

Re: Lock screen and animated gif

2022-12-20 Thread Craig Newman via use-livecode
Jbv. "Every ten lines"??? Is your handler using a loop to massage each of those lines? If so update the scrollbar every 10 passes through. So if you are using “repeat with…” you can do something like: repeat with y = 1 to whatever if y mod 10 = 0 then updateYourThingie And if you are using

Re: Lock screen and animated gif

2022-12-20 Thread Brian Milby via use-livecode
Another option is to use an SVG icon and rotate it a bit each time. Gives the impression of a spinning object. Brian Milby br...@milby7.com > On Dec 20, 2022, at 8:44 AM, jbv via use-livecode > wrote: > > Le 2022-12-20 08:19, Brian Milby via use-livecode a écrit : >> Could you make changes

Re: Lock screen and animated gif

2022-12-20 Thread jbv via use-livecode
Le 2022-12-20 08:19, Brian Milby via use-livecode a écrit : Could you make changes to htmlText in a variable and then assign all at once back to the field? I thought of that, but it makes other parts of the script more complicated. Finally I will chose a different strategy : instead of an ani

Re: Lock screen and animated gif

2022-12-20 Thread Brian Milby via use-livecode
Could you make changes to htmlText in a variable and then assign all at once back to the field? Brian Milby br...@milby7.com > On Dec 20, 2022, at 8:05 AM, Antti Ilola via use-livecode > wrote: > > How about changing the mouse cursor. I found below about using a lock > screen. > " The only e

Re: Lock screen and animated gif

2022-12-20 Thread Antti Ilola via use-livecode
How about changing the mouse cursor. I found below about using a lock screen. " The only exception to this (freeze window) is the mouse cursor. It continues to move with the mouse and any changes to the cursor icon (like set cursor to busy) do appear." Antti ti 20. jouluk. 2022 klo 14.42 jbv via

Re: Lock screen and animated gif

2022-12-20 Thread jbv via use-livecode
Do you mean "lock screen without messages" ? Doesn't work... Le 2022-12-20 07:27, Richmond Mathewson via use-livecode a écrit : Try 'without messages'. On Tue, 20 Dec 2022, 13:26 jbv via use-livecode, < use-livecode@lists.runrev.com> wrote: Hi list, I have a script that modifies line by line

Re: Lock screen and animated gif

2022-12-20 Thread Richmond Mathewson via use-livecode
Try 'without messages'. On Tue, 20 Dec 2022, 13:26 jbv via use-livecode, < use-livecode@lists.runrev.com> wrote: > Hi list, > I have a script that modifies line by line the color > and textstyle of some words in a field that can be up > to 500 lines long. > I am using "lock screen" to speed up th

Re: Lock screen challenge

2022-11-22 Thread J. Landman Gay via use-livecode
On 11/22/22 3:27 PM, Brian Milby via use-livecode wrote: One option to use an external editor would be ScriptTracker. You could export the scripts, do your bulk changes, and then import them back. That's worth a thought. Thanks. -- Jacqueline Landman Gay | jac...@hyperactivesw.co

Re: Lock screen challenge

2022-11-22 Thread J. Landman Gay via use-livecode
On 11/22/22 3:08 PM, Geoff Canyon via use-livecode wrote: A random thought: if you converted to script-only stack behaviors first, then you would have a bunch of text files you can use whatever tool you like on. This project is a huge HC world. There are a lot of stacks, hundreds of cards, and

Re: Lock screen challenge

2022-11-22 Thread J. Landman Gay via use-livecode
o unlock? Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of J. Landman Gay via use-livecode Sent: Monday, November 21, 2022 10:48 PM To: How to use LiveCode C

RE: Lock screen challenge

2022-11-22 Thread Ralph DiMola via use-livecode
e-boun...@lists.runrev.com] On Behalf Of J. Landman Gay via use-livecode Sent: Monday, November 21, 2022 10:48 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: Lock screen challenge Thanks to both you and Craig. I couldn't think of any other way to do it either, but was hoping there w

Re: Lock screen challenge

2022-11-22 Thread Geoff Canyon via use-livecode
Yep, that makes sense. Looks nice! On Tue, Nov 22, 2022 at 1:28 PM Brian Milby via use-livecode < use-livecode@lists.runrev.com> wrote: > One option to use an external editor would be ScriptTracker. You could > export the scripts, do your bulk changes, and then import them back. > > Brian Milby

Re: Lock screen challenge

2022-11-22 Thread Geoff Canyon via use-livecode
One small point on this: it doesn't matter since we're dealing with HC files here, but in LC there can be backgrounds that don't appear on any card. So it would be necessary to add: repeat with j = 1 to the number of backgrounds in stack i repeat with k= 1 to the number of controls of back

Re: Lock screen challenge

2022-11-22 Thread Brian Milby via use-livecode
One option to use an external editor would be ScriptTracker. You could export the scripts, do your bulk changes, and then import them back. Brian Milby br...@milby7.com > On Nov 22, 2022, at 4:10 PM, Geoff Canyon via use-livecode > wrote: > > A random thought: if you converted to script-onl

Re: Lock screen challenge

2022-11-22 Thread Geoff Canyon via use-livecode
My first thought is to export all scripts to a single file, with customized headers for each object (maybe with a user-definable format). Then look for that same format when pasting, to restore/update the scripts. Does that make sense? Or would it be better to have an export function to create indi

Re: Lock screen challenge

2022-11-22 Thread Geoff Canyon via use-livecode
Navigator has support for test-based filtering of controls, and can copy/paste scripts, but it doesn't support copying/pasting to more than one control at a time. That would be an interesting problem to solve. What's your time frame? gc On Mon, Nov 21, 2022 at 1:25 PM J. Landman Gay via use-livec

Re: Lock screen challenge

2022-11-22 Thread Geoff Canyon via use-livecode
A random thought: if you converted to script-only stack behaviors first, then you would have a bunch of text files you can use whatever tool you like on. gc On Mon, Nov 21, 2022 at 1:25 PM J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > I'm updating a very old set of st

Re: Lock screen challenge

2022-11-22 Thread Jim MacConnell via use-livecode
I resemble that remark! j > On Nov 21, 2022, at 7:47 PM, J. Landman Gay via use-livecode > wrote: > > more old-timers ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscrip

Re: Lock screen challenge

2022-11-21 Thread J. Landman Gay via use-livecode
Thanks to both you and Craig. I couldn't think of any other way to do it either, but was hoping there was something other than brute force. Magic, maybe. It took LC's search/replace dialog a long time just to find all the instances, and actually editing them will be longer. But, it's just a one-

Re: Lock screen challenge

2022-11-21 Thread Paul Dupuis via use-livecode
I was also going to suggest just brute forcing it. Something like: (code not complete or syntax checked) repeat with i=1 to the number of stacks   repeat with j = 1 to the number of cards in stack i     repeat with k= 1 to the number of controls of card j of stack i   put the script of contr

Re: Lock screen challenge

2022-11-21 Thread Craig Newman via use-livecode
Jacque. Why aren’t you on the forum? Cant you just loop through each line in your handlers, and find the ones that contain “lock screen”, both with and without the visual effect thing. Search downstream until you find the “unlock” line, That gives you the start and finish lines for each handle

Re: question re lock screen

2022-01-30 Thread William Prothero via use-livecode
Thanks, Jacqueline. That saves me some time and head scratching. Bill William A. Prothero, PhD Prof Emeritus, Dept of Earth Science University of California, Santa Barbara > On Jan 30, 2022, at 9:58 AM, J. Landman Gay via use-livecode > wrote: > > Lockscreen only works within the current wind

Re: question re lock screen

2022-01-30 Thread J. Landman Gay via use-livecode
Lockscreen only works within the current window, it doesn't apply to the whole screen. Changing stacks will always show what's happening because LC has to create a new window structure. The visibility isn't relevant per se but drawing the new window is. You can initialize the new stack before

question re lock screen

2022-01-30 Thread William Prothero via use-livecode
I’m working on a transition from one stack to another, and initializing to destination stack’s screen before I show it. So, my question is whether the lock screen command actually works on the invisible destination screen. Or does it only apply to a screen that is visible. How does it determine

Re: lock screen

2021-01-23 Thread Tom Glod via use-livecode
good idea ... we'll do. On Sat, Jan 23, 2021 at 1:46 PM Sean Cole (Pi) via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Tom, > > Make a sample stack (sounds like you already have) and make a bug report > labelled 'Memory leak on looping field update'. I don't think this has > anythin

Re: lock screen

2021-01-23 Thread Sean Cole (Pi) via use-livecode
Hi Tom, Make a sample stack (sounds like you already have) and make a bug report labelled 'Memory leak on looping field update'. I don't think this has anything to do with the lock screen. Sean On Sat, 23 Jan 2021 at 05:11, Tom Glod via use-livecode < use-livecode@lists.runrev.com> wrote: > Gre

Re: lock screen

2021-01-22 Thread Tom Glod via use-livecode
Great thread here I recently wrote an animation loop where I only unlocked the screen every 33 milliseconds via a self calling command in my main stack. seemed to work partially, but i knew it was too simple. Interestingly.. That update loop takes nearly no cpu but ram consumption keep on going

Re: lock screen

2021-01-22 Thread Bob Sneidar via use-livecode
I’ll throw in my lot: Some things unlock the screen without an idle. I think setting the visible of a stack will do it. Bob S > On Jan 22, 2021, at 12:56 AM, Terence Heaford via use-livecode > wrote: > > Just looking for clarity with regard to lock screen. > > Is there only one state for

RE: lock screen

2021-01-22 Thread Douglas A. Ruisaard via use-livecode
: Friday, January 22, 2021 10:27 AM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: lock screen Eww. Speak for yourself. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 22, 2021 10:01:45 AM doc hawk via use-livecode w

Re: lock screen

2021-01-22 Thread J. Landman Gay via use-livecode
Eww. Speak for yourself. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 22, 2021 10:01:45 AM doc hawk via use-livecode wrote: Not so much either/or as it’s a counter, with 0 being unlocked. Lock increments the counter, and

Re: lock screen

2021-01-22 Thread Rick Harrison via use-livecode
To ensure that our screen doesn’t accidentally get overlocked, even though the system may unlock it at idle time, the best practice is to always unlock it at the proper time within you code. That way you can’t confuse things and find yourself scratching your head as to why it looks like your code i

Re: lock screen

2021-01-22 Thread Brian Milby via use-livecode
end handler >>>>> >>>>> Code in our main LC app is large enough that there are instances where >>>>> the some code that calls the handler needs to lock the screen and other >>>>> code that call it does not, but the handler always

Re: lock screen

2021-01-22 Thread Terence Heaford via use-livecode
ged >>>> until done. >>>> >>>> >>>> On 1/22/2021 9:24 AM, Craig newman via use-livecode wrote: >>>>> Something else you might want to to know, though it may only be academic. >>>>> >>>>> LockScreen command

Re: lock screen

2021-01-22 Thread Tore Nilsen via use-livecode
e academic. >>>> >>>> LockScreen commands are queued. So if you lock the screen twice, you have >>>> to explicitly unlock twice in order to clear the locked state. >>>> >>>> It does not matter what happens in the flow of code in terms

Re: lock screen

2021-01-22 Thread Tore Nilsen via use-livecode
y unlock twice in order to clear the locked state. >>> >>> It does not matter what happens in the flow of code in terms of screen >>> locking, whether other command or function calls are made. The queue rules >>> throughout. All is reset at idle time. >>

Re: lock screen

2021-01-22 Thread Terence Heaford via use-livecode
Original Message- >> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf >> Of Brian Milby via use-livecode >> Sent: Friday, January 22, 2021 6:50 AM >> To: How to use LiveCode >> Cc: Brian Milby >> Subject: Re: lock screen >> &

Re: lock screen

2021-01-22 Thread Dan Friedman via use-livecode
ig > > -Original Message- > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Brian Milby via use-livecode > Sent: Friday, January 22, 2021 6:50 AM > To: How to use LiveCode > Cc: Brian Milby > Subject: Re: lock screen

Re: lock screen

2021-01-22 Thread doc hawk via use-livecode
Not so much either/or as it’s a counter, with 0 being unlocked. Lock increments the counter, and unlock excrements. The counter gets set to 0 when the engine idles, as well -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list u

Re: lock screen

2021-01-22 Thread Paul Dupuis via use-livecode
: lock screen I’m sure someone else can be more clear, but when the engine gets to an idle state then locks should be cleared. In your example, it would probably clear at the end of that mouseUp handler, but aTest would completely run with the screen locked. Sent from my iPhone On Jan 22, 2021

Re: lock screen

2021-01-22 Thread David V Glasgow via use-livecode
es > throughout. All is reset at idle time. > > Craig > > -Original Message- > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf > Of Brian Milby via use-livecode > Sent: Friday, January 22, 2021 6:50 AM > To: How to use LiveCode &g

RE: lock screen

2021-01-22 Thread Craig newman via use-livecode
use LiveCode Cc: Brian Milby Subject: Re: lock screen I’m sure someone else can be more clear, but when the engine gets to an idle state then locks should be cleared. In your example, it would probably clear at the end of that mouseUp handler, but aTest would completely run with the screen

Re: lock screen

2021-01-22 Thread Brian Milby via use-livecode
I’m sure someone else can be more clear, but when the engine gets to an idle state then locks should be cleared. In your example, it would probably clear at the end of that mouseUp handler, but aTest would completely run with the screen locked. Sent from my iPhone > On Jan 22, 2021, at 3:57 A

Re: Lock Screen does NOT work!

2019-01-24 Thread Bob Sneidar via use-livecode
Oooohky... So the problem is not calling selectionChanged while another selectionChanged is running. The problem is setting the dgData (or dgText I will assume) while a selectionChanged handler is running. I remember I tracked that down before this. Setting the dgData is obviously triggerin

RE: Lock Screen does NOT work!

2019-01-24 Thread Ralph DiMola via use-livecode
ces rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Bob Sneidar via use-livecode Sent: Thursday, January 24, 2019 2:29 PM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: Lock Screen does NOT work! For those in

Re: Lock Screen does NOT work!

2019-01-24 Thread Bob Sneidar via use-livecode
For those interested, I've had a bit of a revelation concerning datagrids and the selectionChanged handler. Here's the problem. I use datagrids extensively. I have code in my selectionChanged handlers in the datagrids that update the card objects; fields buttons etc. It's convenient for me the

Re: Lock Screen does NOT work!

2019-01-24 Thread Bob Sneidar via use-livecode
Hmmm... Belay that. I bet I am using send in time somewhere prior to the datagrid updates. That would pop an idle message and cancel the screen lock. Bob S > On Jan 24, 2019, at 10:52 , Bob Sneidar via use-livecode > wrote: > > Hi all. Bold subject line I know. Here's how I know. > > I us

Re: lock screen gotcha revisited

2017-08-22 Thread hh via use-livecode
Thanks for your fine explanation. And the future handlers sound very promising, both OnUpdate() and OnMarksPonder(). Graphics are meanwhile pretty fast in LCB. I timed such clock updates (in LCB): The OnPaint of a clock needs, also with a heavy loaded CPU, less than 4 millisecs. Even checking the

Re: lock screen gotcha revisited

2017-08-22 Thread Mark Waddingham via use-livecode
On 2017-08-22 17:31, hh via use-livecode wrote: @Mark. Say I have 24 copies of the LC clock widget in order to display different time zones. How can I have them in "seconds-sync"? In LC Script, with LCS-clocks I would do a screenLock, update the clocks and then unlock. In LC Builder I even tried

Re: lock screen gotcha revisited

2017-08-22 Thread hh via use-livecode
@Mark. Say I have 24 copies of the LC clock widget in order to display different time zones. How can I have them in "seconds-sync"? In LC Script, with LCS-clocks I would do a screenLock, update the clocks and then unlock. In LC Builder I even tried to make a composed widget, without improvement.

Re: lock screen gotcha revisited

2017-08-22 Thread Bob Sneidar via use-livecode
The general consensus is that it doesn't. I think there was something else going on where my screen was not updating even after 5 successive screen unlocks, and I never figured out why, but I went through my app and every place there was a lock screen, I added an unlock screen to the end of the

Re: lock screen gotcha revisited

2017-08-21 Thread Mark Waddingham via use-livecode
On 2017-08-22 04:41, hh via use-livecode wrote: The real interesting thing is now for me how to lock the screen in LC Builder? I couldn't find a way to do that. Who knows? There isn't one - although you can use 'execute script' to use LCS's lock/unlock screen. Indeed, I should check whether

Re: lock screen gotcha revisited

2017-08-21 Thread hh via use-livecode
The real interesting thing is now for me how to lock the screen in LC Builder? I couldn't find a way to do that. Who knows? This interacts with LC Script, timed widgets (clocks, animations) want their own screen updates ... ___ use-livecode mailing lis

Re: lock screen gotcha revisited

2017-08-21 Thread Mark Wieder via use-livecode
On 08/21/2017 10:28 AM, Mark Waddingham via use-livecode wrote: On 2017-08-19 04:41, J. Landman Gay via use-livecode wrote: Except when it doesn't. There seems to be an override in the lock count if any unlock uses a visual effect. I'm not sure if that's on purpose or not. Internally there is

Re: lock screen gotcha revisited

2017-08-21 Thread J. Landman Gay via use-livecode
On 8/21/17 5:47 PM, prothero--- via use-livecode wrote: I didn't realize that the lockscreen command only applied to the handler that sets it. No, it doesn't (or shouldn't) apply only to the handler that sets it. Does this mean that each script has to set lockscreen if it needs it? It's a

Re: lock screen gotcha revisited

2017-08-21 Thread Jonathan Lynch via use-livecode
This exactly. Globally on or globally off. Just unlock and lock again to update. It is moot, but I would prefer it. Sent from my iPhone > On Aug 21, 2017, at 6:47 PM, prothero--- via use-livecode > wrote: > > I didn't realize that the lockscreen command only applied to the handler that > set

Re: lock screen gotcha revisited

2017-08-21 Thread prothero--- via use-livecode
I didn't realize that the lockscreen command only applied to the handler that sets it. Does this mean that each script has to set lockscreen if it needs it? If lockscreen was either globally true or not, you could do: On doscreenstuff1 Set lockscreen to true Handler1 Handler2

Re: lock screen gotcha revisited

2017-08-21 Thread J. Landman Gay via use-livecode
On 8/21/17 1:28 PM, Jonathan Lynch via use-livecode wrote: I agree with Bill. If you lock a door twice on a car, it is still just locked. One unlock will open it up. That seems more intuitive. Initially it's more intuitive, but if it were done this way you couldn't have handlers that manage l

Re: lock screen gotcha revisited

2017-08-21 Thread Jonathan Lynch via use-livecode
I agree with Bill. If you lock a door twice on a car, it is still just locked. One unlock will open it up. That seems more intuitive. Sent from my iPhone > On Aug 21, 2017, at 2:19 PM, prothero--- via use-livecode > wrote: > > Seems like it would be much simpler if lockscreen just kept the s

Re: lock screen gotcha revisited

2017-08-21 Thread prothero--- via use-livecode
Seems like it would be much simpler if lockscreen just kept the screen locked until unlockscreen was invoked, but there was an update screen command when forced updates were needed. No counters to keep track of. Best Bill William Prothero http://ed.earthednet.org > On Aug 21, 2017, at 10:40

Re: lock screen gotcha revisited

2017-08-21 Thread J. Landman Gay via use-livecode
I used to have an example, I struggled with the problem until I figured out the reason, and then I modified the script to work around it. It actually didn't happen in the IDE, only on Android. (I didn't test on iOS.) Now I can't remember what the original problem script was. But I'll see if I ca

Re: lock screen gotcha revisited

2017-08-21 Thread Bob Sneidar via use-livecode
I would have to recreate it as my production stack has already been gone through, and it seems to be working as advertised, which would argue against it being an engine issue. I'll see if I can create a sample stack in the next couple days. Right now I have a couple service calls to go out on an

Re: lock screen gotcha revisited

2017-08-21 Thread Mark Waddingham via use-livecode
On 2017-08-19 04:41, J. Landman Gay via use-livecode wrote: Except when it doesn't. There seems to be an override in the lock count if any unlock uses a visual effect. I'm not sure if that's on purpose or not. Internally there is a counter - and only one - the engine uses it too when it needs

Re: lock screen gotcha revisited

2017-08-21 Thread Bob Sneidar via use-livecode
I was hoping for a command that left the screen lock set but forced an update of the screen. That way I wouldn't have to unlock/relock and depend on there only being one screen lock pending. Bob S > On Aug 21, 2017, at 08:51 , J. Landman Gay via use-livecode > wrote: > > I was unaware of t

Re: lock screen gotcha revisited

2017-08-21 Thread J. Landman Gay via use-livecode
I was unaware of that too. It doesn't sound right. On August 21, 2017 10:10:27 AM Bob Sneidar via use-livecode wrote: Yup. My troubles came when I had a handler unlock the screen 5 times straight and I do not lock the screen to that many levels. It still did no unlock the screen, so now i

Re: lock screen gotcha revisited

2017-08-21 Thread Jonathan Lynch via use-livecode
Hi Bob - just an idea for a progress indicator - you could advance a progress indicator through a browser widget. This would work even when the screen is locked, allowing you to show progress while not having unlock and lock each time. The widget requires a fair bit of overhead, so that might n

Re: lock screen gotcha revisited

2017-08-21 Thread Bob Sneidar via use-livecode
Yup. My troubles came when I had a handler unlock the screen 5 times straight and I do not lock the screen to that many levels. It still did no unlock the screen, so now it may be that one handler cannot unlock another handler's lock screen, which I was unaware of. Bob S > On Aug 18, 2017, a

Re: lock screen gotcha revisited

2017-08-18 Thread Mark Wieder via use-livecode
On 08/18/2017 07:41 PM, J. Landman Gay via use-livecode wrote: Except when it doesn't. There seems to be an override in the lock count if any unlock uses a visual effect. I'm not sure if that's on purpose or not. Thanks. Good to know. I've just been using the barebones lock. -- Mark Wieder

Re: lock screen gotcha revisited

2017-08-18 Thread J. Landman Gay via use-livecode
Except when it doesn't. There seems to be an override in the lock count if any unlock uses a visual effect. I'm not sure if that's on purpose or not. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 18,

Re: lock screen gotcha revisited

2017-08-18 Thread Mark Wieder via use-livecode
On 08/18/2017 03:50 PM, Bob Sneidar via use-livecode wrote: Hard to say. I'm almost done finding every place I lock the screen and adding an unlock screen in the same handler. And that, of course, is the best procedure. Locking/unlocking the screen works on sort of a reference-counting approa

Re: lock screen gotcha revisited

2017-08-18 Thread Bob Sneidar via use-livecode
Hard to say. I'm almost done finding every place I lock the screen and adding an unlock screen in the same handler. Bob S > On Aug 18, 2017, at 14:03 , J. Landman Gay via use-livecode > wrote: > > That doesn't sound right, though I've seen issues with nested locks too. What > happens if yo

Re: lock screen gotcha revisited

2017-08-18 Thread J. Landman Gay via use-livecode
That doesn't sound right, though I've seen issues with nested locks too. What happens if you call this handler: on unlockReally repeat until the lockscreen is false unlock screen end repeat end unlockReally On 8/18/17 3:54 PM, Bob Sneidar via use-livecode wrote: okay after some testin

Re: lock screen gotcha revisited

2017-08-18 Thread Bob Sneidar via use-livecode
okay after some testing it seems only the script that locked the screen, maybe only the actual handler can clear it's own lock. If this is not right I'd like to know it. Seems there ought to be an unlock all command or some such thing. Bob S > On Aug 18, 2017, at 13:37 , Bob Sneidar via use-l

Re: lock screen doesn't

2017-07-21 Thread Bob Sneidar via use-livecode
Okay never mind I think I see what is going on. If the script editor is open and debug is on, even t hough there are no breakpoints or traces in effect, lock screen is still disabled. Bob S > On Jul 21, 2017, at 14:44 , Bob Sneidar via use-livecode > wrote: > > Hi all. > > I know this ha

Re: Lock Screen command not locking the screen

2016-11-28 Thread Peter Bogdanoff
Yes, this is also my (original) question. Is there any answer??? Peter Bogdanoff On Nov 28, 2016, at 8:07 AM, Bob Sneidar wrote: > So THAT is my problem!!! IS there any way to lock the screen to prevent card > changes from displaying? I use a method of encapsulating certain > functionality in

Re: Lock Screen command not locking the screen

2016-11-28 Thread Bob Sneidar
So THAT is my problem!!! IS there any way to lock the screen to prevent card changes from displaying? I use a method of encapsulating certain functionality in the script of a particular card (my Database Setup card is a perfect example). By simply going to the card all the variables and connecti

Re: Lock Screen command not locking the screen

2016-11-28 Thread Bob Sneidar
NVM Jacque recinded in what ammounts to a completely different thread in my email app becase of the way other people use the list. Bob S On Nov 28, 2016, at 08:07 , Bob Sneidar mailto:bobsnei...@iotecdigital.com>> wrote: So THAT is my problem!!! IS there any way to lock the screen to prevent

Re: Lock Screen command not locking the screen

2016-11-26 Thread J. Landman Gay
On 11/26/16 1:03 PM, dunb...@aol.com wrote: on mouseUp -- lock screen go cd 2 wait 20 put random(999) into fld 1 wait 20 put random(999) into fld 1 end mouseUp You see the new numbers appear. But if you lock the screen, you do not. You're right, and I misinformed the list.

Re: Lock Screen command not locking the screen

2016-11-26 Thread dunbarx
the screen, you do not. What is the difference between this stack and yours? Craig Newman -Original Message- From: Mike Kerner To: How to use LiveCode Sent: Sat, Nov 26, 2016 8:57 am Subject: Re: Lock Screen command not locking the screen We'll probably need more of a look at your

Re: Lock Screen command not locking the screen

2016-11-26 Thread J. Landman Gay
If you are looking the screen and issuing a "go" command, LC is behaving as expected. The screen is always unlocked on a card change. To do things before the card is displayed, use a preopencard handler to set things up. Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActi

Re: Lock Screen command not locking the screen

2016-11-26 Thread Mike Kerner
We'll probably need more of a look at your code and stack. On Sat, Nov 26, 2016 at 3:23 AM, Peter Bogdanoff wrote: > I’m going to another card and I want the screen to lock while controls on > the this second card are being worked on: old controls deleted, new fields > and graphics created, an i

Re: lock screen question and detect field question

2014-10-13 Thread Sean Cole (Pi)
Hi Larry, As well as the afore mentioned, all excellent comments, you can use the 'if exists(fld "myField01") then' script. I also encapsulate all sorts of things in "try"..."end try" commands. These are extremely powerful although could be considered a little lazy. For example, when using iPhone

Re: lock screen question and detect field question

2014-10-13 Thread Geoff Canyon
One caveat: if you are assembling a great deal of text in small chunks, you should likely do it in a variable and then toss it into the field in one go. Field updates are slower than many (most?) other things you might be doing, and one field update with 10,000 lines will be *much* faster than 1

Re: lock screen question and detect field question

2014-10-12 Thread Kay C Lan
Accidently hit the Send button. Here is what I meant to type: lock screen if the label of btn "selectMethod" = "Output" then set the height of fld "multipurpose" to 123 set the width of fld "multipurpose" to 456 set the loc of fld "multipurpose" to 200,200 etc pu

  1   2   >