AntiVirusGuy Posted December 21, 2006 Posted December 21, 2006 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?
Uten Posted December 21, 2006 Posted December 21, 2006 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Ý÷ Ú«¨µéÚ Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now