Sign in to follow this  
Followers 0
AntiVirusGuy

2 questions

2 posts in this topic

question 1 (this is easy but I can not seem to figure it out

I currently have "$MYAPP = "Trend" " how do I make this $MYAPP = "Trend" or "symantec"

I know "or" is not correct but how do I write this?

question 2

I want to tell the following to go to another place in my script, I read the 3.0 FAQ but does not really help me. How do I pick up in a spot further down in my script

if StringInStr( $Dispaly, "0") then ??????????

else

endif

how do I do this?

Share this post


Link to post
Share on other sites



question 1 (this is easy but I can not seem to figure it out

I currently have "$MYAPP = "Trend" " how do I make this $MYAPP = "Trend" or "symantec"

I know "or" is not correct but how do I write this?

Depends on the context your using $MYAPP in? I figure you know hoa to use If .. else.. endif so I suppose your useing $MYAPP in one of the Win* functions then

Opt("HMM", 4) ;Cant remember tyhe word but you can probably figure ut out by searching for RegExp in the help file
$MYAPP = "regexp=Trend|symantec"

WinWaitActive($MYAPP)
oÝ÷ Ú«¨µéÚ

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