Can a JXA (or other) Action text field be expanded?

Sometimes a script expands past the default Action field size. My first instinct is to drag the bottom right corner to expand the field, but that doesn't work. Is there another way to expand it?

Hey Ray,

The only thing you can do is expand the size of the Keyboard Maestro Editor window.

-Chris

@ccstone, Thanks.
I'm now working in a script editor and pasting back to KM.

1 Like

If this is for your own use, you might find it easier to save the script to a .scpt file from Script Editor, and then set the KM Execute AppleScript Action to use that file.

1 Like

That's a good idea. I'm doing that in other cases.

It is not the case in this instance, but am I correct to understand I CANNOT run an external script if I'm calling a KM Variable in the script?

Hey Ray,

Simple enough to test...

In any case you are quite mistaken.

See AppleScript on the wiki.

-Chris

1 Like

Yes, I wasn't at the computer when I responded. Should have just waited.