Wow, you are fast. Unfortunately, I couldn't get it to run properly.
This is my command line:
[EMAIL PROTECTED]("",1,"","xplorer2.exe","","","activate")
( I put the path in the path statements)

It will launch the program at the first instance but does nothing if
it is already running. At first launch, the win.debug message is:
20050609133246 [EMAIL PROTECTED]: path=<C:\program files\xplorer2\xplorer2.exe>
args=<> folder=<C:\program files\xplorer2> mode=<normal>
caption=<=xplorer2> ms=<1> opts=<activate>

The debug window will not even launch if the program is already running. 

Looking at the script, I don't see how it would get past:
if ( "" == arg(4) )
  quit(-1)

If this is not do-able, no sweat. I appreciate your efforts. I got the
idea from the xplorer2 forums. Somebody there wrote a compiled autoit
script that does this. Discussion is here:
http://tinyurl.com/clgb8

--- In [email protected], sgp acs322000 <[EMAIL PROTECTED]> wrote:
> Ed, see if the version that I just uploaded to the files section
works for 
> you. The issue with more than one instance of the same program already 
> running is unresolved, but maybe you don't need it.
> Example,
> [EMAIL PROTECTED]("Editor",1000, "","notepad.exe","","","activate")
> 
> --sgp




Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to