Jump to content

Recommended Posts

Posted (edited)

Hi,

I want to know how to open a new tab and enter url in Firefox browser.

I dont want solution with MozRepl or FF udf...

I've tried those solutions :

ControlSend('[CLASS:MozillaUIWindowClass]', '', $FFctrl, '^T')
    ControlSend('[CLASS:MozillaUIWindowClass]', '', $FFctrl, '^L')
    ControlSend('[CLASS:MozillaUIWindowClass]', '', $FFctrl, 'url')oÝ÷ Ù«­¢+ØM¹ ÌäíyPÌäì¤(M¹ Ìäíy0Ìäì¤(M¹ ÌäíÕɰÌäì

Thanks for anyhelp.

Cheers, FireFox.

Edited by FireFox
Posted

u said u have tried "these" solutions.. so what happened didn't they work??

Or r u documenting the most possible ways to do this task..:)

[font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com
Posted

how abt

alt+F .. {down}.. {enter}

Kinda lame.. i know.. :).. but something which u haven't tried out.. i guess..

[font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com
Posted

@authenticity..

He's already tried that..:)

[font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com
Posted

I found that way with controlsend :

;~ Opt('WinTitleMatchMode', 4)
$hWnd = WinGetHandle('[CLASS:MozillaWindowClass]')
ConsoleWrite($hWnd & @CRLF)
WinActivate($hWnd)
ControlSend($hWnd, '', '', '^t')
$cgh = ControlGetHandle('[CLASS:MozillaWindowClass]', '', '[CLASS:MozillaWindowClass; INSTANCE:1]')
ControlSend($cgh, '', '', 'new url')
ControlSend($cgh, '', '', '{ENTER}')

Its working but It would be better to use ControlSetText wich isn't working with this solution :)

Thanks for anyhelp

Cheers, FireFox.

Posted

How about??

ControlSend($hWnd, '', '', '^l')
send('url')
[font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com
Posted

@Manjish

Send is the same thing as controlsend but more sucking...

Something like ControlSetText would be better to make it faster :)

Cheers, FireFox.

Posted

@FireFox..

So true..

But the prob is that autoit is not detecting the address bar as a control.. so u can't use controlsettext there..

I usually use it to change my labels.. in the gui..

[font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com
Guest KeeForm
Posted

I am looking at the different options to automate Firefox.

I am curious, why don't you want a solution with MozRepl? What are the disadvantages? Thanks for any ideas in advance!

Dave

Hi,

I want to know how to open a new tab and enter url in Firefox browser.

I dont want solution with MozRepl or FF udf...

I've tried those solutions :

ControlSend('[CLASS:MozillaUIWindowClass]', '', $FFctrl, '^T')
    ControlSend('[CLASS:MozillaUIWindowClass]', '', $FFctrl, '^L')
    ControlSend('[CLASS:MozillaUIWindowClass]', '', $FFctrl, 'url')oÝ÷ Ù«­¢+ØM¹ ÌäíyPÌäì¤(M¹ Ìäíy0Ìäì¤(M¹ ÌäíÕɰÌäì

Thanks for anyhelp.

Cheers, FireFox.

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
×
×
  • Create New...