Welcome, Guest. Please
Login
or
Register
.
01/13/25 at 06:36:30
News:
If you outline, checkout
the new outlineZOOM extension
. Amazing stuff to instantly bring your ideas into focus.
The eccoMAGIC Forums
›
the SLANG EXTENSION and Guest Programming
›
Slang Rules Scripts, Functions, Examples and HOW TO
(Moderator:
slangmgh
)
‹
Previous topic
|
Next topic
›
Pages: 1
Rating
Rate:
---
10 (best)
9
8
7
6
5
4
3
2
1
Rating:
Rating:
10.00
Votes:
1
5
4
3
2
1
5
4
3
2
1
1
2
3
4
5
6
7
8
9
10
How to create a button that will start a lua function (Popularity: 3593 )
Admin
Administrator
I love Ecco!
Posts: 134
How to create a button that will start a lua function
02/01/09 at 10:09:39
rbrandes1 explains
Quote:
Re: A button to run a lua script
1. Create a text file in your Ecco directory called luacmd.lua
2. Add a script to it. For example:
function test()
msgbox("Test")
end
3. In Ecco, create a new Launchable tool. Call it whatever you want,
and for the command enter: LUAscript:test() (everything else default)
4. Execute the new Tool from the menu.
5. Left-click Drag the new button (upper right corner) to a location
on your menu
6. Click the new button to execute the same script at any time.
--- In ecco_pro@yahoogroups.com, Tim Young <Tim.Young@...> wrote:
>
> Hi there,
> I have been unable to create a button that will start a lua function.
> From the docs, this seems quite simple to do. If I can get it to
> "launch", I can drag the button showing the last action onto the
> button-bar. But I cannot get a lua script to launch...
>
> For what it is worth, I have ecco-pro 4.01 installed, and have eccoext
> 4.0.0.3.
>
> - Tim Young
>
Back to top
The Administrator.
IP Logged
Pages: 1
The eccoMAGIC Forums
›
the SLANG EXTENSION and Guest Programming
›
Slang Rules Scripts, Functions, Examples and HOW TO
(Moderator:
slangmgh
)
‹
Previous topic
|
Next topic
›
Forum Jump:
-----------------------------
Notices
-----------------------------
- Welcome ! (About this Forum)
-----------------------------
Everything eccoMAGIC
-----------------------------
- eccoTools
- Issues, Comments, and Questions
- eccoMAGIC Bug Reports
- eccoMAGIC FEATURE REQUESTS
- Share Forms and Templates for MagicMerge, MagicView, etc.
-----------------------------
Ecco Tutorials, Tips and How-to Guides
-----------------------------
- How do I .....
- Beginner
- Advanced theory, practice and tips
- Ecco Templates, and Examples (no extensions required)
- Ecco with Linux / WINE
-----------------------------
the SLANG EXTENSION and Guest Programming
-----------------------------
=> Slang Rules Scripts, Functions, Examples and HOW TO
- Slangmgh: Questions, Suggestions, Requests
- Bug Reports for Slangmgh
-----------------------------
Ecco DDE & Add-On Programming tips, tricks, techniques (Learn & Share!)
-----------------------------
- DDE Interfacing with Ecco - How to...
-----------------------------
Group Projects in Progress
-----------------------------
- ECCO to PDA Port
-----------------------------
Forum Extras
-----------------------------
- Yahoo Forum Refuge
- Yahoo Forum Polls
- Ecco related Links
- Member Files !
-----------------------------
Comments, Suggestions, Problems & Discussion about the EM Forums
-----------------------------
- RE: The EM Forums
The eccoMAGIC Forums
» Powered by
YaBB 2.1
!
YaBB
© 2000-2005. All Rights Reserved.