LORDwali Posted January 16, 2010 Posted January 16, 2010 (edited) I want my script to run when i launch a certain filehow can i do this? is it possible to link it somehow? Edited January 16, 2010 by LORDwali
wolf9228 Posted January 16, 2010 Posted January 16, 2010 (edited) Or Study the following functions and String functions Reference Example $a=1 $v=Execute("$a+1") ; $v is set to 2 Example Global $variable If Assign("variable", "Hello") Then MsgBox(4096, "", $variable) ; Will print "Hello" Example Dim $a_b = 12 $s = Eval("a" & "_" & "b") ; $s is set to 12 $s =Eval("c") ; $s = "" and @error Example If Not IsDeclared ("a") then MsgBox(0,"", "$a is NOT declared") ; $a has never been assigned EndIf $a=1 If IsDeclared ("a") then MsgBox(0,"", "$a IS declared" ) ; due to previous $a=1 assignment EndIf Edited January 16, 2010 by wolf9228 صرح السماء كان هنا
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