08-18-2014
Script for Starting Firefox?
Presently I have a powershell script (windows only, of course) that enumerates all the instances of "Internet Explorer" running on my machine and if at least one exists, the script creates a new tab in that instance with the URL I have provided. If no instances of Internet Explorer are running, one is started with the given URL.
How can I write similar scripts for other browsers like Firefox or Chrome? OS neutrality is nice, but not necessary. I'm running cygwin bash on Windows Vista and Windows 8. I'm not sure where to start!
I'm hoping these browsers have an API for enumerating all the instance running and an API function for sending a URL to an existing instance of the browser. Has anyone already done this? I hope so!
thanks
siegfried
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Please Help! :o
I have a main script (ksh) where another script is called (convert_picture). Normally this works ok, but since some changes has been made on the unix-server (I dont know what :( ) suddenly it doesnt work anymore: i get an error message: ksh: convert_picture not found. I am... (3 Replies)
Discussion started by: Rakker
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
How to write a script for finding out firefox version in our linux machine?
Could you please share the same? I am using Red Hat Linux machine.
Thanks,
Kammy (2 Replies)
Discussion started by: kjannu
2 Replies
3. Shell Programming and Scripting
Hi, i want to start my script only by the name of it.
$ scriptName
normaly i have to use ./scriptName oder sh scriptName
is there a way to do that in bash or sh ? (13 Replies)
Discussion started by: Turrican
13 Replies
4. Slackware
I was trying to open the port for my ftp end also I´ve triedto start firefox and so i received the following error: Input / Output Error. When i try to start that one in console i receive the following: No Protocol Especified No Protocol Especified Error: Cannot open display: :0,0 (1 Reply)
Discussion started by: darkpirate
1 Replies
5. Shell Programming and Scripting
which script runseverytime firefox is turned on?
is it a bash script? (2 Replies)
Discussion started by: garfish
2 Replies
6. Shell Programming and Scripting
Hi guys, i already search in this forum and i can't find a way to do this. I have a file like this:
-1 1 lig
-1 1 lig
-1 1 lig
-1 -1 dec
-1 -1 dec
-1 -1 dec
-1 -1 dec
-1 -1 dec
-1 -1 dec
And i need to compare the values of... (7 Replies)
Discussion started by: MetaBolic0
7 Replies
7. Shell Programming and Scripting
Hello,
I am trying to work on a temperature script to check temperatures on my systems. Im trying to get the basics laid out first. So far i have a command:
/usr/sbin/prtpicl -v -c temperature-sensor # (must run as root)
This command kicks back alot of information but i only want the... (3 Replies)
Discussion started by: whotippedmycow
3 Replies
8. Shell Programming and Scripting
Hey guys,
currently I'm struggling with a little script to check an active URL in my running Firefox.
What I'm doing:
I'm running a low VPS with about 768mb RAM and Ubuntu on it. I only installed Fluxbox + Firefox to it in order to keep the resource consumption as low as possible. I think i... (8 Replies)
Discussion started by: uniflow
8 Replies
9. Shell Programming and Scripting
Hi everbody,
i have a little problem.
i want to know how can i read from a txt file parametes and send it to a firefox http link.
all that in shell script
EXAMPLE-
the file 1.txt contains:
server1.com : google,yahoo,alex,cnn
server2.com : resdf,walsdfa,yndf,asdf
server3.com :... (11 Replies)
Discussion started by: zigizag
11 Replies
10. UNIX for Dummies Questions & Answers
e.g.
File name: File.txt
cat File.txt
Result:
#INBOUND_QUEUE=FAQ1
INBOUND_QUEUE=FAQ2
I want to get the value for one which is not commented out.
Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies