 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
firefox Guest
|
Posted: Sat Apr 15, 2006 5:27 am Post subject: how to go to multiple site in one firefox tab? |
|
|
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
thx  |
|
| Back to top |
|
 |
enrica
Joined: 21 Mar 2005 Posts: 117 Location: Bahia, Brasil
|
Posted: Sat Apr 15, 2006 11:23 am Post subject: Re: how to go to multiple site in one firefox tab? |
|
|
| 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 |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Sat Apr 15, 2006 11:53 am Post subject: |
|
|
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 |
|
 |
firefox Guest
|
Posted: Sat Apr 15, 2006 2:33 pm Post subject: |
|
|
| 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
the codes work, thx for the little tip PhiLho
(f6 shortcut)
and thx to enrica too for helping  |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|