Re: Win32lib shellExecute ??

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi, Timmy

 shellExecute("open","notepad",5) will run notepad.exe for you.

Some notes:
if the program is not in c:\windows you will need the path e.g.
 shellExecute("open","C:\\my folder\\mypgm.ext",5)
Also the last parm can do different things for you such as
if 2 will execute pgm only after your exw program ends,
if 3 will execute pgm maximized and return to your exw program,
if 4 will load pgm but return focus to your exw program immediately,
if 1 of 5 will execute pgm (not maximized) and returns to your exw
program but I don't know what the difference between 1 and 5 are.

Hope this helps,
Judith Evans

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu