Setting a stack to start at startup in the IDE

Want to talk about something that isn't covered by another category?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9446
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Setting a stack to start at startup in the IDE

Post by richmond62 » Mon Feb 27, 2023 4:13 pm

How does one set a stack [in the plug-ins folder?] to open at startup?

Klaus
Posts: 13865
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Setting a stack to start at startup in the IDE

Post by Klaus » Mon Feb 27, 2023 4:33 pm

See screenshot:
1. Open "Plugin Settings" in menu -> Development -> Plugins
2. Select your plugin from the popup at the top of that stack
3. Click "Open plugin when" -> Livecode starts up
That's it!
Bildschirmfoto 2023-02-27 um 16.29.32.png

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9446
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Setting a stack to start at startup in the IDE

Post by richmond62 » Mon Feb 27, 2023 4:39 pm

That's a fantastic answer: easy to understand.

Thank you!

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9742
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Setting a stack to start at startup in the IDE

Post by dunbarx » Mon Feb 27, 2023 6:09 pm

Hmmm.

Both HC and LC still support the "startup" message, and there is still a "Home" stack in LC. But I have never been clear what that stack actually does.

In HC is was a true "home", a base where one could manage other stacks and properties. A startup message there was useful, at least to me, back in the day. But in LC, where it is labelled little more than the "License" stack, what does it do?

Craig

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9446
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Setting a stack to start at startup in the IDE

Post by richmond62 » Mon Feb 27, 2023 8:22 pm

I suppose one could hack the 'Home' stack of LC to resemble the HyperCard Hone stack, and mimic its functionality.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9742
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Setting a stack to start at startup in the IDE

Post by dunbarx » Mon Feb 27, 2023 8:48 pm

Not sure that would work. In HC, it is not mandatory that the home stack open. If you open another stack from the desktop "home" does not open automatically.. Though it is a repository of fundamental gadgets, it does not have to come first.

Your question, I believe, was to open a stack upon machine startup, no? That is why Klaus mentioned a plug-in. They can be configured to open at session startup, however you deal with them afterwards.

Craig

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9446
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Setting a stack to start at startup in the IDE

Post by richmond62 » Mon Feb 27, 2023 9:08 pm

What I want to is have a palettised stack to replace both the revTools and the revMenubar stacks that allows people who are physically disabled to write stacks in LiveCode using a simple joystick control.

Post Reply

Return to “Off-Topic”