Graeme Posted February 1, 2014 Posted February 1, 2014 Hi, I'm trying to open a Firefox window with this code - If _ffstart() Then If _ffconnect() Then ;_ffstart() If _ff_openurl("http://english.documentation.ff-au3.thorsten-willert.de/ff_functions/_FFOpenURL.php") Then MsgBox(0,"","It's open") Else MsgBox(0,"","Is there a problem") EndIf Else MsgBox(0,"","Couldn't connect") EndIf EndIf And I get this as a result = __FFStartProcess ==> General Error: Error reading registry entry for FireFox. HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMozillaMozilla Firefox*CurrentVersion*MainPathToExe Error from RegRead: 1 The problem is that the registry entry does oint to the right place for Firefox so what's wrong?? Any ideas please? Blessings Graeme
DatMCEyeBall Posted February 1, 2014 Posted February 1, 2014 Is the current user (the one you ran the script on) an Administrator? "Just be fred, all we gotta do, just be fred." -Vocaliod "That is a Hadouken. A KAMEHAMEHA would have taken him 13 days and 54 episodes to form." - Roden Hoxha @tabhooked Clock made of cursors ♣ Desktop Widgets ♣ Water Simulation
Danp2 Posted February 1, 2014 Posted February 1, 2014 What OS? 32 or 64 bit? Also, what version of Autoit? Are you saying the the registry key does exist at HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMozillaMozilla FirefoxCurrentVersionMainPathToExe? Latest Webdriver UDF Release Webdriver Wiki FAQs
michaelslamet Posted February 2, 2014 Posted February 2, 2014 Do you have MozRepl installed? FF UDF need MozRepl Graeme 1
Graeme Posted February 3, 2014 Author Posted February 3, 2014 Thanks so much Universalist, now I know that this won't work either for what I want as I'm trying to do code that will work for many different machines - to download a file from a secure website and I can't rely on other people having this addon... O well. We keep looking. Blessings Graeme
Danp2 Posted February 3, 2014 Posted February 3, 2014 There is an "extension" UDF (FFEx.au3) that provides some supplemental functions. One of these is _FF_MozRepl_Detect, which can detect if MozRepl is installed and install it if it isn't available. Latest Webdriver UDF Release Webdriver Wiki FAQs
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now