Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I want to write something that will run apps in succession.
For example, you'd click on the app icon, and it would start up one application, have questions alert the user to add a file to do something in that program, run that program & finish. Then open up another program to take that file and prompt the user to do something else with it, and so on.
Basically I have a friend who needs an auto, completely easy interface to accomplish certain tasks that require multiple application steps to perform.
I don't have any programming experience but want to learn if needbe.
Depending on what combination of Operating System & applications you're thinking about, you have two options;
1) Macro Recorder
Lots of applications will "Recored" you doing a sequence of events within a GUI. The list of applications available for this will strictly depend on what Operating System you're running. This might help automate something like "Rip & Burn a DVD".
2) Shell scripting; Command-Line interface stuff (if the apps support it)
Shell's like bash, ksh, or just plain sh have a built in scripting language. Basically you would stuff a bunch of commands into a file and make it executable. However, depending on what Operating System you're running, some or all of those shells may not be available. Which leads me to;
3) PERL programming.
An "interpreted" rather than "compiled" programming language.
I'm really thinking you want Option number one.
Good Luck!
P.S: If this helps, click the "Thanks" button on the bottom right-hand corner of my post.
Depending on what combination of Operating System & applications you're thinking about, you have two options;
1) Macro Recorder
Lots of applications will "Recored" you doing a sequence of events within a GUI. The list of applications available for this will strictly depend on what Operating System you're running. This might help automate something like "Rip & Burn a DVD".
2) Shell scripting; Command-Line interface stuff (if the apps support it)
Shell's like bash, ksh, or just plain sh have a built in scripting language. Basically you would stuff a bunch of commands into a file and make it executable. However, depending on what Operating System you're running, some or all of those shells may not be available. Which leads me to;
3) PERL programming.
An "interpreted" rather than "compiled" programming language.
I'm really thinking you want Option number one.
Good Luck!
P.S: If this helps, click the "Thanks" button on the bottom right-hand corner of my post.
I am running Ubuntu 10.04. I will search for some Macro Recording programs..that's so cool!!! Any you recommend? If not, no problem I will search
Actually, Perl is compiled-on-the-fly http://en.wikipedia.org/wiki/Perl (Implementation section), so it's a lot(!) faster than a true interpreted lang like shell, but not quite as fast as a 'pure' compiled lang like C.
Hope that's clear as mud
Actually, Perl is compiled-on-the-fly http://en.wikipedia.org/wiki/Perl (Implementation section), so it's a lot(!) faster than a true interpreted lang like shell, but not quite as fast as a 'pure' compiled lang like C.
Hope that's clear as mud
@chrism01
Thanks for the clarification. I was trying to point out the distinctions between languages that most people classify as "scripting, versus other "programming" languages (like C, C++, FORTRAN, etc).
(Hence my abuse of double-quotes).
The last question I have is will these "recorder" programs work if one process needs to finish on one program, then when it finishes, another program can open and start another process, and so on and so forth. (ie: does it know to wait until one program finishes its process before taking that file and starting another process with the new file?).
The last question I have is will these "recorder" programs work if one process needs to finish on one program, then when it finishes, another program can open and start another process, and so on and so forth. (ie: does it know to wait until one program finishes its process before taking that file and starting another process with the new file?).
Thats all
Thanks again!
It "records" your actions. So hit the record button, do everything you have to do (including any waiting, etc). Then hit stop.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.