AutoHotkey Community

It is currently May 27th, 2012, 11:18 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: April 15th, 2006, 6:27 am 
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 :D

thx :D


Report this post
Top
  
Reply with quote  
PostPosted: April 15th, 2006, 12:23 pm 
Offline

Joined: March 21st, 2005, 6:37 pm
Posts: 117
Location: Bahia, Brasil
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)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 15th, 2006, 12:53 pm 
Offline

Joined: December 27th, 2005, 1:46 pm
Posts: 6837
Location: France (near Paris)
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.

_________________
Image vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 15th, 2006, 3:33 pm 
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 :lol:

the codes work, thx for the little tip PhiLho :D
(f6 shortcut)

and thx to enrica too for helping :D


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 15 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group