Jump to content

2 questions


Recommended Posts

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?

Link to comment
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Ý÷ Ú«¨µéÚ
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...