Jump to content
Damein

ShellExecute won't run this Localhost file

Recommended Posts

Damein

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

Share this post


Link to post
Share on other sites
VIP
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,
 

Share this post


Link to post
Share on other sites
Damein

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

Share this post


Link to post
Share on other sites
AutoBert

you don't try to run a file, you have only parameters. I think puting them in a file and trying to (Shell)executing this file will work.

Share this post


Link to post
Share on other sites
Jos

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


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
VIP

I think "+" and space is different on URL!

http://localhost:54657/?action=[Speak(%22Hello%20World%22)]&key=ABC1234

 


Regards,
 

Share this post


Link to post
Share on other sites
VIP

(: I try and no difference! 
Apologize for think of my ignorance!  :'(


Regards,
 

Share this post


Link to post
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

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.