Ed Bronson wrote:

> 
> 1. The script runs my program but I get an error message that says:
> "Bad expression: check parentheses or for extra chars at end
> (file.runwait(ms,s,run_args,folder,mode)"
> 
> The last line in the script (as I have saved it) is:
> quit(file.runwait(ms,s,run_args,folder,mode)

my cut&paste error. should be 
quit(file.runwait(ms,s,run_args,folder,mode))

> 
> 2. The use of the caption to avoid multiple instances isn't working
> for me. I know I must be doing something wrong. Here is my command line:
> [EMAIL PROTECTED]("",1,"=xplorer*",?"xplorer2.exe","","","normal")

incorrect caption specifier. read the help file for a complete overview of 
ppro captions. specifically in your case, your caption says "the "program 
file (that's the `=' in the caption) whose name is xplorer*.exe - but 
wildcards aren't supported for =. the correct specifier should be 
=xplorer2 that's all. BTW [EMAIL PROTECTED] will generate and substitute 
=xplorer2 
for caption if you pass the null string "".

> 
> The program is xplorer2 and the caption is the correct beginning of
> it's window caption. But, the script will run another instance if I
> have xplorer2 running.

OK, so you do want to match the window title with a wildcard, then just 
remove the initial `=' character. caption should be xplorer*




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