
I figure we could probably access a COM object and run from there, but again I am not real up on the latest and greatest libraries to use in VBA, and it would also be nice to get a quick little primer in how to easily open, send and close the connection. I know we could do it through a batch file run from the presentation on the action, but that doesn't make me very happy. Also, this sales guy will have no problem making small modifications to the VBA or PowerPoint presentation, but would not do as well with recompiling a. It will be a handy tool for them to demo this device with while on a projector and talking to other sales guys and non technical people. Normally I would turn it into an application of some sort, but I actually don't think the idea is that bad. I don't commonly use VBA, especially for anything like this. I have a need for some of our sales reps to be able to send a simple string over the serial port from an action button in PowerPoint. 36959 22:43 21:41 New macro command that can change flow control type of serial port, Feature Requests, Tera Term Macro, 5 - Medium.What is the best way to access a serial port from VBA? 36997 03:27 03:27 TTL Macro outside of ttermpro.exe directory, Bugs, Tera Term Macro, 5 - Medium, 5 - Medium, Open, None. TTY or Tera Term and configure it to accept the serial. For example by putting a small embedded system web. I think that answers my own immediate question as well as provide some reference for others. I need to figure out a way to use the str2int command to do an expression. This input is sent to a default variable inputstr I have gotten this variable to work in some cases but I think the problem is that the variable is technically a string type so I can't do traditional loops. Inputbox 'Please type input' 'Input' a dialog box will appear and prompt a response. To take in a user defined input you use the 'inputbox' command, which follows the format: inputbox 'message' 'title' (not entirely sure what default is supposed to be doing) E.G. That, and the command list on the actual TeraTerm project site is where I have been troubleshooting and solving 90% of my issues. OK, I did some digging and found a moderately active forum: It is there that I found a nice thread called: TeraTerm Macro Language for dummies. Tera Term uses a sort of Basic language called Tera Term Language (TTL) but I found it hard from the site to actually identify which commands I needed to use. I know Tera Term has a site that lists example macros as well as a command list but I guess what I need is someone with experience scripting in Tera Term. Recently I found out I can do some scripting in Tera Term so I have been doing research to help automate and make testing a little easier. I am using a Tera Term over a serial port to do some testing on a board. Tera Term Serial Macro Example In Excel 8,0/10 627reviews
