AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to go to multiple site in one firefox tab?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
firefox
Guest





PostPosted: Sat Apr 15, 2006 5:27 am    Post subject: how to go to multiple site in one firefox tab? Reply with quote

how to go to multiple site in one firefox tab?

ex:
run, www.google.com
sleep, 10000
run, www.yahoo.com
sleep, 10000

when i do it on ie, it stay in one windows -> go from google to yahoo

but when i do it on ff, he goes to google, then open a new tab to yahoo (having 2 tab in the end)...

so how to make it like in IE Very Happy

thx Very Happy
Back to top
enrica



Joined: 21 Mar 2005
Posts: 117
Location: Bahia, Brasil

PostPosted: Sat Apr 15, 2006 11:23 am    Post subject: Re: how to go to multiple site in one firefox tab? Reply with quote

firefox wrote:
how to go to multiple site in one firefox tab?

Maybe you mean: in the same window?
In FF > tool > option > advanced > tabbed browsing > a new tab in the most recent window
And: select new tabs opened from .....
(tested)
_________________
65.6E.72.69.63.61. (My hovercraft is full of eels)
Back to top
View user's profile Send private message
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Sat Apr 15, 2006 11:53 am    Post subject: Reply with quote

No, I guess he wants the new site to replace the current one in the current tab. This is difficult to answer, because it depends, indeed, on the settings of Firefox, and even more if you use some extension managing the tabs, like TabMix Plus.
You should try to do it manually, then reproduce the manipulation. Firefox and other Mozilla softwares are hard to automate. But usually, sending shortcut keys works. For example, F6 sends focus to the address bar, and usually typing an URL here opens it in the current tab.
Experiement and tell us.
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
firefox
Guest





PostPosted: Sat Apr 15, 2006 2:33 pm    Post subject: Reply with quote

Code:
ExitKey=Escape   ; Key to use to quit script - change to whatever you need.

Hotkey, %ExitKey% , EndRoutine,


IfWinExist Google - Mozilla Firefox
{
   WinActivate
}
else
{
   Run C:\Program Files\Mozilla Firefox\firefox.exe
   WinWait Google - Mozilla Firefox
   WinActivate
}

loop
{
Send, {F6}
Sleep, 100
Send, www.google.com
Sleep, 100
Send, {ENTER}
Sleep, 2000

Send, {F6}
Sleep, 100
Send, www.yahoo.com
Sleep, 100
Send, {ENTER}
Sleep, 2000
}

EndRoutine:
ExitApp
return

thats the best i can do w/ my noobish ahk script knowledge Laughing

the codes work, thx for the little tip PhiLho Very Happy
(f6 shortcut)

and thx to enrica too for helping Very Happy
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group