madhuri Posted June 4, 2013 Share Posted June 4, 2013 Hi, If yes how it is possible because window tool is not supporting for fire-fox.Please help me out as I am new to this auto-it. Thanks, Madhuri Link to comment Share on other sites More sharing options...
JohnOne Posted June 4, 2013 Share Posted June 4, 2013 There is a >UDF to help automate firefox but it requires third party add on. Read the post carefully. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
madhuri Posted June 5, 2013 Author Share Posted June 5, 2013 Hi John, I installed addon MozRepl and placed that ff.au3 in my script folder, what to do next .......... scenario is ......... click on ff task bar that is file----->Save Page As Plz help. Thanks, Link to comment Share on other sites More sharing options...
FireFox Posted June 5, 2013 Share Posted June 5, 2013 This should work :Local $sSaveDialogTitle = "Save as" ;change the title to your own language ControlSend("[CLASS:MozillaWindowClass]", "", "", "^s") WinWait("[TITLE:" & $sSaveDialogTitle & ";CLASS:#32770]") ControlClick("[TITLE:" & $sSaveDialogTitle & ";CLASS:#32770]", "", "[CLASS:Button; INSTANCE:1]", "left", 1)No need to use an addon.Br, FireFox. Link to comment Share on other sites More sharing options...
madhuri Posted June 5, 2013 Author Share Posted June 5, 2013 This should work : Local $sSaveDialogTitle = "Save as" ;change the title to your own language ControlSend("[CLASS:MozillaWindowClass]", "", "", "^s") WinWait("[TITLE:" & $sSaveDialogTitle & ";CLASS:#32770]") ControlClick("[TITLE:" & $sSaveDialogTitle & ";CLASS:#32770]", "", "[CLASS:Button; INSTANCE:1]", "left", 1) No need to use an addon. Br, FireFox. Thank u sir it is working but if no short key is not given for that thn wat to do for example.......... click on tools...........>export cookies thn how to for this kind of scenarios sir , Please help. Thanks Link to comment Share on other sites More sharing options...
FireFox Posted June 5, 2013 Share Posted June 5, 2013 Take a look at the HotKeySet function in the helpfile.Br, FireFox. Link to comment Share on other sites More sharing options...
madhuri Posted June 5, 2013 Author Share Posted June 5, 2013 Take a look at the HotKeySet function in the helpfile. Br, FireFox. hi sir , I tried like this but it is clicking on other like Downloads........... WinWaitActive("Mozilla Firefox Start Page - Mozilla Firefox") Local $sSaveDialogTitle = "Save as" ;change the title to your own language Send("!t") Send("{DOWN}") Send("{up}") Sleep(500) Send("{ENTER}") WinWait("[TITLE:" & $sSaveDialogTitle & ";CLASS:#32770]") ControlClick("[TITLE:" & $sSaveDialogTitle & ";CLASS:#32770]", "", "[CLASS:Button; INSTANCE:1]", "left", 1) Please help. Thanks Link to comment Share on other sites More sharing options...
FireFox Posted June 5, 2013 Share Posted June 5, 2013 And what are your Send functions supposed to? Link to comment Share on other sites More sharing options...
madhuri Posted June 5, 2013 Author Share Posted June 5, 2013 And what are your Send functions supposed to? Thanks for instant reply sir. In FF task bar to click on Tool iam using after that using down to select those options under the Tool thn up key i.e using for for the last option to select after that clicking on Enter so that respective will open. Please help. Thanks Link to comment Share on other sites More sharing options...
FireFox Posted June 5, 2013 Share Posted June 5, 2013 Then use Control* functions, it will work even if the Firefox's wnd is not active.ControlSend("[CLASS:MozillaWindowClass]", "", "", "!t") ControlSend("[CLASS:MozillaWindowClass]", "", "", "{DOWN}{UP}{ENTER}")Br, FireFox. Link to comment Share on other sites More sharing options...
madhuri Posted June 5, 2013 Author Share Posted June 5, 2013 Then use Control* functions, it will work even if the Firefox's wnd is not active. ControlSend("[CLASS:MozillaWindowClass]", "", "", "!t") ControlSend("[CLASS:MozillaWindowClass]", "", "", "{DOWN}{UP}{ENTER}") Br, FireFox. Thank u so much sir for ur instant replies........ 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