LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-19-2010, 03:49 PM   #1
sbcgroup1
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Rep: Reputation: 0
Auto running apps in succession


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.

Thanks!

-sbc
 
Old 08-19-2010, 04:21 PM   #2
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Greetings!

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.
 
1 members found this post helpful.
Old 08-31-2010, 02:23 PM   #3
sbcgroup1
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by xeleema View Post
Greetings!

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
 
Old 08-31-2010, 06:45 PM   #4
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Quote:
Originally Posted by sbcgroup1 View Post
I am running Ubuntu 10.04...Any you recommend?...
I was a big fan of JW_Record_Playback. Give it a shot.

Have fun!
 
Old 08-31-2010, 11:09 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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
 
Old 09-01-2010, 12:10 AM   #6
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Quote:
Originally Posted by chrism01 View Post
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).
 
Old 09-01-2010, 01:21 PM   #7
sbcgroup1
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Original Poster
Rep: Reputation: 0
RE:

Quote:
Originally Posted by xeleema View Post
I was a big fan of JW_Record_Playback. Give it a shot.

Have fun!
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!
 
Old 09-01-2010, 01:54 PM   #8
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Arrow Go to the website I linked to.

Quote:
Originally Posted by sbcgroup1 View Post
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.

You'll get a better feel for what it's capable of if you would just visit the site and watch the video they have right on the front page....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto-running Apps from USB puleen Linux - Software 1 05-19-2008 04:35 AM
How do I configure wpa_supplicant to try all hidden SSIDs in quick succession? warmana Slackware 5 11-17-2006 08:41 AM
Auto Restart scripts for apps Ghent Linux - Software 3 06-20-2005 06:33 PM
Auto Boot Apps Beegie_B Linux - Newbie 3 08-05-2004 12:13 PM
auto starting apps.. newbieME Linux - Newbie 4 03-28-2003 08:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration