Hi John, I haven’t done this myself, but I suppose you could create a Livecode plugin that runs the needed code:
https://livecode.fandom.com/wiki/Creating_a_livecode_plugin 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. Peter > On Oct 14, 2020, at 10:09 PM, John McKenzie via use-livecode > <[email protected]> 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? > > Thanks. > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
