Jump to content

can't start google chrome with script.


speedi
 Share

Recommended Posts

The follwing command (I have tried several versions) does not start the browser... the path to chrome.exe is correct (copied from quick launch toolbar). It just does nothing. run in Scite editor gives me no clues... Thanks for any help... Jim

run('C:\Documents and Settings\Jim Mihalski\Local Settings\Application Data\Google\Chrome\Application\chrome.exe "http:\\www.accuweather.com"', "", @SW_MAXIMIZE)

this command with iexplore wokrs fine.

run('C:\Program Files\Internet Explorer\IEXPLORE.EXE "http:\\www.accuweather.com"', "", @SW_MAXIMIZE)

Link to comment
Share on other sites

Hi,

my version of chrome is definitely not installed in "C:\Documents and Settings\Jim Mihalski\Local Settings\Application Data\Google\Chrome\Application\", but in "C:\Program Files\Chrome\". Please re-check that path - only the fact that there exists a "chrom.exe" doesn't mean it's the main executable.

Regards,

Chris

Link to comment
Share on other sites

Chris, I was also suprised at the path.. I did check "program files" not there and I checked the actual path as shown in the script and sure enough chrome.exe is there.... It is the exact Path from more than one goggle chrome shortcuts properties... see attachment...

Hi,

my version of chrome is definitely not installed in "C:\Documents and Settings\Jim Mihalski\Local Settings\Application Data\Google\Chrome\Application\", but in "C:\Program Files\Chrome\". Please re-check that path - only the fact that there exists a "chrom.exe" doesn't mean it's the main executable.

Regards,

Chris

post-97-12568282627015_thumb.jpg

Link to comment
Share on other sites

Juvigy,, Thanks again..

My desired web page:

ShellExecute("chrome.exe", "http://www.accuweather.com/forecast.asp?partner=accuweather&traveler=1&zipChg=1&zipcode=18101&metric=0","","")

Works perfectly.... Danke, Grazie, Merci beaucoup

Link to comment
Share on other sites

Problem 2: You need a command line switch for Chrome, you can't just tack on the url after chrome.exe

You, Sir, are a fraud and an impostor.

Joking aside,

Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\Users\Jos>cd "C:\Users\Jos\AppData\Local\Google\Chrome\Application\"

C:\Users\Jos\AppData\Local\Google\Chrome\Application>chrome.exe http://www.icanh
ascheezburger.com

this works!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...