I have a need to get tos think script to talk to the outside world.. Nothing complex.. very simple.. I have thought of the following ideas but they all seem overdone and too complex for such a simple task.. or should be simple. .but its not.. as TS does not talk to text files and or anything else that is connected to the outside world..
1. I know it can be done via Microsoft Excel stuff but that is a long learning curve and seems so over done for such a simple project.
2. All i really need is for TS (think script) to enter a single digit or single character into a text file or into anything that can be read by the outside world like a php program
actually a single character would be best as with a single digit the outside commands would be limited to 10 commands.. However with a single character the commands could be expanded to 52, as both lower case and upper case commands could be sent..
3. i had thought about having TS print a digit to the top left hand side of the screen and then have external program like php or any other external source parse the top left for one character or digit and use ocr to convert it to text.. and it could check for new commands each second.. But my lord that is way to complex for such a simple project.
4. Next i thought about the new addition to TS that uses a log file and simply place the command there, but i doubt the log file is text and i am not sure where its locate so that i can attempt to parse it.. TS could write the command for the outside world into its log file and possibly be parsed by an outside source.. Just searching for ideas.
So before I run off like a mad man and spend a ton of time with this i am hoping one of you experts has solved this problem many eons ago and can give me some ideas. And possibly some one may be familiar enough with how TS talks to excel and they may know a quicky short method to do a one character deal without all the shenagin's that would be required to talk to TS on a long term basis such as storing data (of which i have no knowlege of how that works... I may just have to bite the bullet and study the connection between Microsoft Excel and make that work but, I definitely do not look forward to that learning curve for something so simple..
I would really appreciate some guidance here... as it must have been done before.. as i hate re-inventing the wheel..
Thanks in advance.
1. I know it can be done via Microsoft Excel stuff but that is a long learning curve and seems so over done for such a simple project.
2. All i really need is for TS (think script) to enter a single digit or single character into a text file or into anything that can be read by the outside world like a php program
actually a single character would be best as with a single digit the outside commands would be limited to 10 commands.. However with a single character the commands could be expanded to 52, as both lower case and upper case commands could be sent..
3. i had thought about having TS print a digit to the top left hand side of the screen and then have external program like php or any other external source parse the top left for one character or digit and use ocr to convert it to text.. and it could check for new commands each second.. But my lord that is way to complex for such a simple project.
4. Next i thought about the new addition to TS that uses a log file and simply place the command there, but i doubt the log file is text and i am not sure where its locate so that i can attempt to parse it.. TS could write the command for the outside world into its log file and possibly be parsed by an outside source.. Just searching for ideas.
So before I run off like a mad man and spend a ton of time with this i am hoping one of you experts has solved this problem many eons ago and can give me some ideas. And possibly some one may be familiar enough with how TS talks to excel and they may know a quicky short method to do a one character deal without all the shenagin's that would be required to talk to TS on a long term basis such as storing data (of which i have no knowlege of how that works... I may just have to bite the bullet and study the connection between Microsoft Excel and make that work but, I definitely do not look forward to that learning curve for something so simple..
I would really appreciate some guidance here... as it must have been done before.. as i hate re-inventing the wheel..
Thanks in advance.