Click here to Skip to main content
15,878,748 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on an application that the user may wish to automate some features of (but we don't know what at the moment) I would like to provide them some kind of scripting interface so they can play with application more freely.

To me the best scenario would be to allow them to write python scripts and use functions within the application almost as a library.

However the application would need to be running as the resulting output would be best displayed in the application itself.

So I am aiming for something similar to macros within office etc but I think it would be awesome if they could use python for this.

I am thinking it would use some sort of standard input piping. Perhaps the "macro runner" could launch the C# application and then use stdinput to communicate?

More concise detail

1. The application is a data visualization tool
2. It is a windows desktop application (currently it does no interaction with servers etc)
3. I want to be able to send it scripts while the application is running
4. I don't want to restart the application for each script
5. Preferably you would have the choice of running one command after the other or sending a full script (Something like a command window you could send scripts to)
6. Sending a script or even multiple scripts should be fully automatable (i.e. runnable from batch scripts/build server etc.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900