Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Please help. I am tasked to create an application that would automate the entry of dat in an application which currently accepts only manual inputs. The big problem is that I am not allowed to touch this software which run in Redhat Linux release 7.2(Enigma). As far as I know this software was created using C language and accepts only manual input. So I need to find a way how to pass variables/data to this software beacuse I am also not allowed to bypass this software. I have create a script in VB which remotes the application and automatically pass values to the software. Can this be done within the linux environment? Please help me because I dont know how or where to start.
It is very likely that it is not possible. If the program is not designed to read paramaters that are passed to it then you'll be out of luck. If you can get your hands on the source code you might be able to see what they guys in the programming forum can do, but I wouldn't get too hopeful.
I have mimic the key stroke using VB and it works. I've remote the system and VB passed the parameters. However, the VB program I made runs in windows and it remotes the software which runs in linux via reflection. I need to create a program that would run in the linux platform. Please help, I am a total newbie when it comes to Linux.
Hi
If I understood well, you want to automate a manual passing of datas to a program?
If this is the case, you can have a look at Expect. It's done for this.
It's possible to do it in perl with the Expect module, or in tcl/tk (with GUI,..)
If the destination program only accept mouse/keyboard inputs , yes you can automate this, look for
replay X events in google.
There are a few packages that do this, unfortunatly I'm not at home, I don't have the list here. There is at least one very good.
I will edit the post if I find it:
One is called Xnee. It replays so you have to tweak it a bit..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.