Jump to content

ShellExecute won't run this Localhost file


Recommended Posts

Not sure why this would be or how to get around it.

ShellExecuteWait('http://localhost:54657/?action=[Speak("Hello World")]&key=ABC1234')

Any ideas? I can do an _IECreate() but would rather not. I can run it manually in Firefox and IE and it works just fine then.

 

Thanks!

Edited by Damein

MCR.jpg?t=1286371579

Most recent sig. I made

Quick Launcher W/ Profiles Topic Movie Database Topic & Website | LiveStreamer Pro Website | YouTube Stand-Alone Playlist Manager: Topic | Weather Desktop Widget: Topic | Flash Memory Game: Topic | Volume Control With Mouse / iTunes Hotkeys: Topic | Weather program: Topic | Paws & Tales radio drama podcast mini-player: Topic | Quick Math Calculations: Topic

Link to comment
Share on other sites

2 hours ago, Damein said:

Not sure why this would be or how to get around it.

ShellExecuteWait('http://localhost:54657/?action=[Speak("Hello World")]&key=ABC1234')

Any ideas? I can do an _IECreate() but would rather not. I can run it manually in Firefox and IE and it works just fine then.

 

Thanks!

 

;~ ShellExecuteWait('http://localhost:54657/?action=[Speak("Hello World")]&key=ABC1234', "", "", "open")
ShellExecuteWait('http://localhost:54657/?action=[Speak("Hello World")]&key=ABC1234', Null, Null, "open")

 

Regards,
 

Link to comment
Share on other sites

Neither the commented code nor the non seemed to of worked. Although if I attempt it a couple times in a row j get an error from Firefox.

 

MCR.jpg?t=1286371579

Most recent sig. I made

Quick Launcher W/ Profiles Topic Movie Database Topic & Website | LiveStreamer Pro Website | YouTube Stand-Alone Playlist Manager: Topic | Weather Desktop Widget: Topic | Flash Memory Game: Topic | Volume Control With Mouse / iTunes Hotkeys: Topic | Weather program: Topic | Paws & Tales radio drama podcast mini-player: Topic | Quick Math Calculations: Topic

Link to comment
Share on other sites

  • Developers

The OP actually is trying to run an URL, which works when used like: ShellExecuteWait("Http://google.com")

You can't have spaces in a URL so try:

ShellExecuteWait('http://localhost:54657/?action=[Speak("Hello+World")]&key=ABC1234')

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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...