This is probably because of the launcher changes that Mark made. When
I start Chromium from a terminal, it opens in the background too.
`osascript -e 'tell app "Chromium" to activate'` works, though (it
opens chromium and makes it frontmost), so perhaps you can use that
from Java somehow?

I don't know what you're trying to do, but you might want to look into
Launch Services (and potentially a language that's not java).

Nico

On Tue, Sep 1, 2009 at 11:34 AM, Daniel Wagner-Hall<[email protected]> wrote:
>
> Launching Chrome on Vista from Java using
> Runtime.getRuntime().exec(new String[] {path_to_chrome, some_flags,
> some_more_flags}) up until 4.0.202 seemed to work fine.  In 4.0.203,
> the window opens, but is not given focus, and accordingly a background
> page doesn't believe Chrome has a Window.  This is an absolute
> showstopper for any kind of browser automation.  And seems to be an
> extension of problems I was having on Mac (see an email I sent on the
> 25th)...
>
> Any ideas for a fix or workaround?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to