Jump to content
Sign in to follow this  
zbigj

Working with FIrefox windows

Recommended Posts

zbigj

Hi, I wrote a very simple programm, which should open any website in newly created window. First  open any FF window manually and then run a script. All it can do is opening this website in manually opened FF window:

#include "FF.au3"
_FFstart('www.aegon.com', 2, 9)
if _FFIsConnected() then
    _FFWindowSelect()
   _FFOpenURL('www.axa.com')
EndIf
 

Only condition is, that this second window should use a FF profile - "2" in this example. 9 is "new window" and "-no-remote" option, but I also tried to replace this "9" with "1". Does the same.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Similar Content

    • Turtlix21
      By Turtlix21
       
      #include <ff.au3> _FFStart("www.autoitscript.com") When I start this I get error

      __FFStartProcess ==> General Error: Error reading registry entry for FireFox. HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mozilla\Mozilla Firefox\*CurrentVersion*\Main\PathToExe Error from RegRead: 1 Please give me simply answer and dont use hard words
    • zbigj
      By zbigj
      Hi, I have a problem with working with different Firefox profiles. I  try to open a few firefox windows and try to manage them separately with autoit. I run 4 programs, each program open a different FF window (with Run command) but every other _FF operations are working on FIRST OPENED FF window. I wrote one program (file included) where I try 4 times to open one window, using the profile no $i, use _FFWIndowSelect() to work on this instance, try to open any webpage, open the next open (success) and to do something in this window, but it does everything on FIRST window. I tried to replace Run() command with _FFStart(url,no of profile,9) where 9 is 1 (new window)+8 (-no-remote - neccessary with different profiles) but I got a message('Firefox is already running but do not answer. To open a new window you have to close existing firefox process or restart system')
      How to open FF window with desired profile and work on it?
      I tried to include _FFWindowSelect before _FFConnect() command but it does the same result.
      testWielowatkowy.au3
×