The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Controlling GUI from Shell Script rummage_bin UNIX for Dummies Questions & Answers 2 11-04-2008 09:23 AM
ps: no controlling terminal sriram003 Shell Programming and Scripting 3 12-26-2007 07:21 AM
Controlling I/O bionicfysh Filesystems, Disks and Memory 1 10-01-2003 01:23 AM
controlling terminal Madhu Babu High Level Programming 2 11-16-2002 06:26 AM
Controlling logfiles nhatch UNIX for Dummies Questions & Answers 5 08-08-2002 01:11 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-28-2008
rummage_bin rummage_bin is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 3
Controlling GUI from Shell Script

Hi Everybody,

I previously posted this under Unix for dummies and got no answers, so here goes again:

I'm trying to create a script that will launch firefox from a bash shell in ubuntu and perform certain tasks.
Why does it have to be a script? Because this firefox must eventually run in a server with xvfb (no gnome, no kde), so I will not have access to it through the GUI.
At this point I'm testing on a gnome desktop, so far launching firefox is no problem, additionally I've figured out how to perform all of the commands I need from the keyboard by means of tabs, control and alt key combinations.
My questions are:
1. How do I script tabs, control-key and alt-key combinations in the first place?
2. How do I script these so that they apply to the particular instance of firefox that was just launched?
(Actually, Here doc block seems promising for question 2, but it does me no good if I can't answer question 1)

Any help / samples will be greatly appreciated
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:58 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0