Sign in to follow this  
Followers 0
-TS-

ShellExecute problem

3 posts in this topic

When I try to use 'ShellExecute' to run an opensource script remotely, it runs it as 'edit', not as 'run'.

Ive tried making the script as an exe, the .exe process of autoit collides with background programs? also it gets rather annoying having to delete the old exe an recompile the newly edited au3 script when editing something small.

Maybe I am missing something small an need a new set of eyes to point out the error.

Much thanks.

Share this post


Link to post
Share on other sites



When I try to use 'ShellExecute' to run an opensource script remotely, it runs it as 'edit', not as 'run'.

Ive tried making the script as an exe, the .exe process of autoit collides with background programs? also it gets rather annoying having to delete the old exe an recompile the newly edited au3 script when editing something small.

Maybe I am missing something small an need a new set of eyes to point out the error.

Much thanks.

Your default is likely set to "EDIT" for .au3. Did you specify the VERB parameter on ShellExecute() ?

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

Share this post


Link to post
Share on other sites

Knowing that double clicking would edit something, then trying to make it run by editing it would be like... putting a music cd into your comp, then getting into your car to listen to it...

But I tried the VERB commands on the list on the help file ex; open, then I though Id throw RUN in the parameter, an tada >_<

Thank you for re-pointing that section out for me.

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
Sign in to follow this  
Followers 0