bogdanoff at me.com
Thu Oct 15 03:48:01 EDT 2020
I haven’t done this myself, but I suppose you could create a Livecode plugin that runs the needed code:
which is basically a LC stack that lives in your local plugins folder. Under the IDE Development menu are plugin settings, which includes an option, “Open plugin when: ‘LiveCode starts up.’” The plugin stack would have an openStack handler that calls the sizing handler.
Or, you could have a script internal to your project that checks the environment property so it runs only when in the IDE.
You might want to have a failsafe in case you have to run LC on a smaller monitor that would check the size of the monitor—the screenRect property—then size down the IDE elements appropriately.
> On Oct 14, 2020, at 10:09 PM, John McKenzie via use-livecode <use-livecode at lists.runrev.com> wrote:
> Peter, thank you for the information about changing the scale of the
> IDE user interface.
> You mentioned that if I put a script somewhere to affect the IDE
> stacks that it should work. I looked up the IDE stacks as per your
> directions. Thanks for those.
> I do not know where a good somewhere to put such a script would be. Is
> there a directory that gets its scripts execute upon running the IDE?
> Or can I put it anywhere and take other action to have it run with the
> IDE startup?
> 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