ENTER in scripts
mkoob at rogers.com
Mon Nov 7 13:07:17 EST 2022
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.
> 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
> 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
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode