markultra Posted October 31, 2006 Share Posted October 31, 2006 Hi, I had made an autoit script which was working fine with the old version of firefox. It would open FF in a new window and go to a website to renew my library loans. Since installing the new version of FF, it opens two windows and the maximised window goes to my homepage instead of the library website. Can anyone help? The line causing the problem is: Run("C:\Program Files\Mozilla Firefox\firefox.exe -new-window http://library.ucl.ac.uk", "", @SW_MAXIMIZE) Thanks in advance. Tim Link to comment Share on other sites More sharing options...
Locodarwin Posted October 31, 2006 Share Posted October 31, 2006 Hi, I had made an autoit script which was working fine with the old version of firefox. It would open FF in a new window and go to a website to renew my library loans. Since installing the new version of FF, it opens two windows and the maximised window goes to my homepage instead of the library website. Can anyone help? The line causing the problem is: Run("C:\Program Files\Mozilla Firefox\firefox.exe -new-window http://library.ucl.ac.uk", "", @SW_MAXIMIZE) Thanks in advance. Tim What happens when you strip off the -new-window parameter? Does it still open a new window? -S (Yet Another) ExcelCOM UDF"A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly...[indent]...specialization is for insects." - R. A. Heinlein[/indent] Link to comment Share on other sites More sharing options...
markultra Posted October 31, 2006 Author Share Posted October 31, 2006 Then it opens a new tab. But because i use mouse coordinates, if it opens in a new tab the buttons are at different coordinates to if its a new window. Link to comment Share on other sites More sharing options...
trids Posted November 1, 2006 Share Posted November 1, 2006 If it worked with an older version of FF, and not with the new one .. do you think the problem might lie with the new version not recognising the old one's commandline parameters? How can you check to see if this is possible? Link to comment Share on other sites More sharing options...
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