First plug-in
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- VIP Livecode Opensource Backer
- Posts: 9647
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
First plug-in
Well, almost.
Just never did this before.
So I have a small stack that I placed in ".../My LiveCode/Plugins". It indeed appears in the plugins menu. I make it open when LC does as an invisible stack. It appears in the "Window" menu. All good.
It does not work. I assumed that plugin stack scripts were either placed in use or included as backScripts in the current session, or whatever equivalent process makes that script accessible to everything in LC.
Craig Newman
Just never did this before.
So I have a small stack that I placed in ".../My LiveCode/Plugins". It indeed appears in the plugins menu. I make it open when LC does as an invisible stack. It appears in the "Window" menu. All good.
It does not work. I assumed that plugin stack scripts were either placed in use or included as backScripts in the current session, or whatever equivalent process makes that script accessible to everything in LC.
Craig Newman
-
- VIP Livecode Opensource Backer
- Posts: 9823
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: First plug-in
Not all plugins are libraries. Many are utilities, where their scripts are only useful to themselves.
You can use openStack on the plugin's card script to start using the plugin's stack script.
You can use openStack on the plugin's card script to start using the plugin's stack script.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 9647
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: First plug-in
Richard.
OK, thanks. I misunderstood what a plugin really was.
Craig
OK, thanks. I misunderstood what a plugin really was.
Craig
Re: First plug-in
You can create a plugin that places its own script in the backScript, if that was your goal..
-
- VIP Livecode Opensource Backer
- Posts: 9647
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: First plug-in
Sean.
I thought any stack that was placed in the plugins folder was automatically placed in use. Apparently not so. Anyway, all is good now.
The plugin itself simply allows me to use the right-click on my mouse to switch between pointer tool and browse tool in any stack I am working on. What a pleasure.
Craig
It was, I did.You can create a plugin that places its own script in the backScript, if that was your goal..
I thought any stack that was placed in the plugins folder was automatically placed in use. Apparently not so. Anyway, all is good now.
The plugin itself simply allows me to use the right-click on my mouse to switch between pointer tool and browse tool in any stack I am working on. What a pleasure.
Craig