Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2004
    Location
    Cardiff
    Posts
    78

    LUA Methods/Functions for Microsoft

    Can someone point me in the direction of some instuctions on how to use LUA with MS word, Excel etc

    I have read the help manual from the download site but need to know what methods there are and how to use them.

    To start with Im just looking to write some text to a page, jump to a specific page, save a document perhaps even spell check it as well.

    So far all I have managed, is to hack the calculator example from this forum to get word to open.

    Any help gratefully recieved as all I've not managed to find anything helpfull on the web or the lua forum.

    The Microsoft Site mentions a typetext method but I couldn't get it to work. Even just showing me how to use that will be a great help as I might then be able to figure out the rest for myself.

    Thanks

    Phil

  2. #2
    Join Date
    Jan 2000
    Posts
    2,002
    I am not sure of the specifics, however, try searching Google for "Microstf Word" mixed with a combination of "COM Model", "Automation Model", "Exposed Automation Methods", etc. That may help you find what you need. Basically anything that shows how to automate Word from VBScript, JavaScript or the Windows Scripting Host should be applicable to using the LuaCOM plugin from AMS50.

  3. #3
    Join Date
    Feb 2004
    Location
    Cardiff
    Posts
    78
    Thanks Brett,

    Ive been playing about with it but seem to be getting nowhere fast, even had one of the ICT guys take a look but we're well and truly stumped.

    Guess I'll give up for now and hope someone produces some more Lua documentation and examples in the future.

Posting Permissions

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