Page 1 of 9 123 ... LastLast
Results 1 to 10 of 81

Thread: Where do I start with LUA

  1. #1
    Join Date
    Mar 2008
    Location
    Nottingham, England
    Posts
    406

    Default Where do I start with LUA

    Hi All,

    I have a teac-ag980 with serial control.

    I have been reading alot over the last week about lua scripts...

    1. do I write these in notepad and save as .lua?

    2. can i use a recent script and just change the 'name' bits?

    3. as anybody already done a plugin for a TEAC AG-980...by any chance...heres hoping...

    4. is anybody willing to help me write one....

    cheers

    Mark
    some people learn by writing, some by reading, some by listening and some by doing?...me I'm not learning at all

  2. #2
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,553

    Default

    1. Yes you can use notepad, though internally we use SciTe. Save as .lua is all.
    2. Really depends on how closely your device matches the script you start with.
    3. ?
    4. If you're lucky ;-)

    Posting the Protocol document might entice someone to help out.
    Ron
    No support through PM

  3. #3
    Join Date
    Mar 2008
    Location
    Nottingham, England
    Posts
    406

    Default

    Cheers Ron,

    attached is the pdf from Teac.

    If anyone can get me started...

    I really want to learn this stuff...but don't know where to start


    cheers

    Mark
    Attached Files Attached Files
    some people learn by writing, some by reading, some by listening and some by doing?...me I'm not learning at all

  4. #4
    Join Date
    May 2004
    Location
    Cardigan, UK
    Posts
    9,278

    Default

    I've seen worse protocols but also much better ones.

    The nasty thing there is that there is no way to directly set the volume
    However, you will get feedback on the current volume so you can manage that using multiple volume up/down commands. You can also approximate that using the Master volume level low, middle and high and work from there.

    If I get a chance I'll see if I can get you started on this, but in the meantime I suggest you read the manual for help on creating transport devices.
    --Rob

  5. #5
    Join Date
    Mar 2008
    Location
    Nottingham, England
    Posts
    406

    Default

    Hi Rob,

    Quote Originally Posted by Rob H View Post
    but in the meantime I suggest you read the manual for help on creating transport devices.

    I have had a look around girder help and cannot find the help section on 'creating transport devices'

    can you point,push,kick me in the right direction?

    cheers

    Mark
    some people learn by writing, some by reading, some by listening and some by doing?...me I'm not learning at all

  6. #6
    Join Date
    May 2004
    Location
    Cardigan, UK
    Posts
    9,278

    Default

    Look in the help under Examples|Transport tutorial - this assumes you're using a fairly recent build of Girder of course.
    --Rob

  7. #7
    Join Date
    Mar 2008
    Location
    Nottingham, England
    Posts
    406

    Default

    Hi Rob,

    using girder5.0.2 536

    this is what i see?

    in examples

    This section provides worked examples of various Girder techniques.



    Starting and Stopping an Application shows how to write Actions to start and stop an application using a single button on a remote.

    Using Keyboard Spoofing shows how to send keystrokes to an application from a remote as if they had been typed on the keyboard. It also shows how to use Window Conditionals to control multiple applications from the same controller.

    Using Command Capture is an example of using the Command Capture Action to control a program feature that does not have a short-cut key.

    Running a Macro when a Program Starts shows how to run a series of Actions in a Macro whenever a program starts.

    Creating an Action using Tree Script is an advanced example which creates an Action using scripting and the Action Form Designer. The Action shows a balloon hint on the Girder notification icon.



    cheers

    Mark
    some people learn by writing, some by reading, some by listening and some by doing?...me I'm not learning at all

  8. #8
    Join Date
    May 2004
    Location
    Cardigan, UK
    Posts
    9,278

    Default

    Latest released build is build 540
    --Rob

  9. #9
    Join Date
    Mar 2008
    Location
    Nottingham, England
    Posts
    406

    Default

    Ah right...

    on the Girder download page it says the latest Stable version is 536

    so i haven't gone any further...

    downloaded 540 now


    cheers

    Mark
    some people learn by writing, some by reading, some by listening and some by doing?...me I'm not learning at all

  10. #10
    Join Date
    Jan 2008
    Location
    Near some trees in Essex, UK
    Posts
    371

    Default

    you'll be needing this...(monitors serial traffic)
    http://technet.microsoft.com/en-us/s.../bb896644.aspx

    and probably this...(theres a whole forum for checksums!)
    http://www.lammertbies.nl/forum/viewforum.php?f=11

    and definately this...
    http://www.nurofen.co.uk/


Page 1 of 9 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •