![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|