Indigo Rose Software
  #1  
Old 09-26-2005
SGW SGW is offline
Indigo Rose Customer
 
Join Date: Sep 2005
Posts: 80
LUA Scripting

Hi

New to AutoPlay Media Studio 6.0, I wondered if LUA scripting that is not a regular part of the program is supported. If I locate LUA script/syntax in a LUA guidebook that is not currently a part of AutoPlay Media 6.0, can I use it and will it likely work?

For example, I am trying to design a script that could count not only number of words in a paragraph (text object) but possibly also parse and count the number of syllables per word. This may be impossible in LUA. But, were LUA to have, for example, a "get word count" script, could it be used?

Thanks for your help.

Kind Regards,
Stephen
Reply With Quote
  #2  
Old 09-26-2005
TJ_Tigger's Avatar
TJ_Tigger TJ_Tigger is offline
Indigo Rose Customer
 
Join Date: Sep 2002
Location: Sol 3
Posts: 3,188
Quote:
Originally Posted by SGW
Hi

New to AutoPlay Media Studio 6.0, I wondered if LUA scripting that is not a regular part of the program is supported. If I locate LUA script/syntax in a LUA guidebook that is not currently a part of AutoPlay Media 6.0, can I use it and will it likely work?

For example, I am trying to design a script that could count not only number of words in a paragraph (text object) but possibly also parse and count the number of syllables per word. This may be impossible in LUA. But, were LUA to have, for example, a "get word count" script, could it be used?

Thanks for your help.

Kind Regards,
Stephen
yes you can. As far as I know, you can use any of the LUA functions or code within an AMS 5/6 project. There are some great string functions you could use to count the number of words in a string. Just make sure that you use lowercase for the LUA functions.

Also check out Lua.org and there is a luausers wiki with a lot of code you could possibly use.


Tigg
__________________
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine
Reply With Quote
  #3  
Old 09-26-2005
SGW SGW is offline
Indigo Rose Customer
 
Join Date: Sep 2005
Posts: 80
Thanks, Tigg. That's wonderful!

Stephen
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming in Lua - "...the beginning" Intrigued Developer's Den 5 08-06-2006 07:31 AM
Free Online Book: Programming in Lua Brett AutoPlay Media Studio 5.0 8 01-24-2006 08:46 PM
Excellent, Free Lua Code Editor Brett General Chat 4 03-14-2005 12:48 AM
Lua Users - don't forget this valuable site - Intrigued Intrigued AutoPlay Media Studio 5.0 0 01-07-2005 02:31 PM
Lua and VC++ Eltari13 Developer's Den 2 10-17-2004 10:10 AM


All times are GMT -6. The time now is 12:38 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software