LinuxQuestions.org
Help answer threads with 0 replies.
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, 04: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, 05: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: 987
Blog Entries: 4

Rep: Reputation: 252Reputation: 252Reputation: 252
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, 03: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, 07: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: 987
Blog Entries: 4

Rep: Reputation: 252Reputation: 252Reputation: 252
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 09-01-2010, 12:09 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
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, 01: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: 987
Blog Entries: 4

Rep: Reputation: 252Reputation: 252Reputation: 252
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, 02: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, 02: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: 987
Blog Entries: 4

Rep: Reputation: 252Reputation: 252Reputation: 252
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:35 AM
How do I configure wpa_supplicant to try all hidden SSIDs in quick succession? warmana Slackware 5 11-17-2006 09:41 AM
Auto Restart scripts for apps Ghent Linux - Software 3 06-20-2005 07:33 PM
Auto Boot Apps Beegie_B Linux - Newbie 3 08-05-2004 01:13 PM
auto starting apps.. newbieME Linux - Newbie 4 03-28-2003 09:20 PM


All times are GMT -5. The time now is 10:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration