aze Posted December 28, 2003 Author Report Share Posted December 28, 2003 (edited) Hi there! :D The sintax you have posted mozilla -remote "openURL (%s, new-window)" works fine but it will work only if existis a mozilla window. I had an Idea to check it before trying to start. But I need you guys to help to create a shell script. if file exists(file:/home/<user>/.mozilla/default/<cacheinfo>) mozilla -remote "openURL (%s, new-window)" else mozilla But I'm sure that is a better way to know if mozilla is running but I don't know how to check this. thanks Edited December 28, 2003 by aze Quote Link to comment Share on other sites More sharing options...
tons Posted December 28, 2003 Report Share Posted December 28, 2003 This part in my script checks if Mozilla is running. (take a look at my earlier posting) MOZSTAT=`ps -C $MFBIN|grep -v PID|wc -l` if [ 0 -eq $MOZSTAT ] then ............... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.