AutoHotkey Community

It is currently May 27th, 2012, 6:51 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: September 15th, 2011, 10:12 am 
Offline

Joined: March 23rd, 2005, 7:53 am
Posts: 321
Location: Germany
Code:
IfWinExist, Mozilla  Firefox  ;<-- two spaces
    WinActivate ; use the window found above
return

Why did you put two spaces between Mozilla and Firefox in your Code?
This should work:
Code:
IfWinExist, Mozilla Firefox
    WinActivate ; use the window found above
return

_________________
Hasso

Programmers don't die, they GOSUB without RETURN


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 15th, 2011, 11:28 am 
I'm using Firefox with tabs, I'm mostly on Google and Yahoo. I noticed this code doesn't force Google open when I'm on Yahoo. Is there a workaround for this?

Code:
IfWinExist Google - Mozilla Firefox
WinActivate
Return


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 15th, 2011, 1:31 pm 
Offline

Joined: July 10th, 2008, 8:49 am
Posts: 1865
Location: Brussels, Belgium
As you notice, FX use tabs, so you can't put tabs in front of an other like any other real window.

I can't test FX here, sorry.

I tried with Chrome to see if it's possible, and it's not. \o/
In fact the tab which is not active doesn't exist as a window, so you can't activate it...

If fact, in most cases if the window is not visible in the Task Manager of Windows you can't activate it (excepte if you know the title of a hidden window, but it's not the case here).

FX and Chrome use a sort of container to display the tabs, and the thing which is active is the container of the active tabs, so you understand you can't activate something which doesn't exist. ;-)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 15th, 2011, 2:16 pm 
bummer, oh well.

By the way, this is not ahk question, but how do I go to the search box in IE, cos I know in Firefox, it can be ctrl k, and I can search via Google. But my IE has no tab, and I want to go to the search box in google using hotkey.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 16th, 2011, 11:25 pm 
Anyone has IE with no tabs? If you're on google.com page, how do you get to the search box with hotkey? I know this is not AHK question but I have no luck in my search in google. I cannot use tab for this cos my cursor is at many different locations each time, and don't have fixed point to start tabbing my way through Google search box.


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google Feedfetcher, migz99, sjc1000, Yahoo [Bot] and 65 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