Sign in to follow this  
Followers 0
madhuri

Is autoit supports firefox

11 posts in this topic

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

Share this post


Link to post
Share on other sites



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,

Share this post


Link to post
Share on other sites

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.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Take a look at the HotKeySet function in the helpfile.

Br, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

And what are your Send functions supposed to?


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

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........

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  
Followers 0