ENTER in scripts

Bob Sneidar bobsneidar at iotecdigital.com
Wed Nov 9 17:17:34 EST 2022


Hmmm... On MacOS enter does nothing. Return inserts a carriage return. I use tab then cmd-save to format then comile the script. 

Bob S


> On Nov 7, 2022, at 13:29 , Ralph DiMola via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Well, you learn something exceedingly simple every day. OK I get it. Enter is the same as clicking "Apply". Very convenient! Saves time typing in the SE.
> 
> THANKS!
> 
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdimola at evergreeninfo.net
> 
> 
> -----Original Message-----
> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Craig Newman via use-livecode
> Sent: Monday, November 07, 2022 2:08 PM
> To: How to use LiveCode
> Cc: Craig Newman
> Subject: Re: ENTER in scripts
> 
> All.
> 
> "Enter" has always worked for me. And focus has always been required to be in the SE for it to do so.
> 
> This seems logical to me. It would not do for actions specific to certain spaces to be affected, or effected, when not in that space.
> 
> Craig
> 
>> On Nov 7, 2022, at 1:07 PM, Martin Koob via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> Do you mean does pressing the ENTER key does the same thing as clicking the ‘Apply’ button at the top left of the script editor?
>> 
>> The tool tip for the ‘APPLY’ button says.
>> 
>> 	‘compile and apply the current script (Enter, cmd+Return)’
>> 
>> I actually did not know there was a keyboard shortcut for the ‘Apply’ button.  That is a handy tip.
>> 
>> I tried it out and at first it did not work.  That time the focus was on the script field and the text cursor was there. 
>> 
>> If I clicked on part of the card outside of the script field then the cmd+Return key combination worked.
>> 
>> If I clicked in another object like the ‘find’ text field or a handler in the list to the left of the text field or on the ‘MatchCase’ checkbox	CMD+Return would not work.
>> 
>> So it looks like it only works when there is no focus on a field or other object.
>> 
>> 
>> In any case it sounds like a bug.   The key combination should work whether the script field has focus or not.
>> 
>> 
>> Since I have never used that key combo before I am not sure whether that behaviour has changed or not.
>> 
>> 
>> Martin Koob
>> 
>> 
>>> On Nov 7, 2022, at 12:45 PM, Niggemann, Bernd via use-livecode <use-livecode at lists.runrev.com> wrote:
>>> 
>>> Klaus wrote
>>> 
>>> 
>>> is it only me or does the ENTER key nothing after hitting while in 
>>> script editor?
>>> 
>>> 
>>> 
>>> https://quality.livecode.com/show_bug.cgi?id=23999
>>> 
>>> Please note: in 9.6.9 rc 2 there is some more scriptifying of IDE stacks. Some of them have some quirks.
>>> It is well worth to test 9.6.2 rc 2 to catch as many as possible and report them.
>>> 
>>> Kind regards
>>> Bernd
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at 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 at 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 at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list