Jump to content
Sign in to follow this  
LORDwali

How can I make AutoIT run itself?

Recommended Posts

LORDwali

I want my script to run when i launch a certain file

how can i do this? is it possible to link it somehow?

Edited by LORDwali

Share this post


Link to post
Share on other sites
wolf9228
Posted Image

صرح السماء كان هنا

 

Share this post


Link to post
Share on other sites
LORDwali

THanks^^

Share this post


Link to post
Share on other sites
wolf9228

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 by wolf9228

صرح السماء كان هنا

 

Share this post


Link to post
Share on other sites
wolf9228

THanks^^

Welcome


صرح السماء كان هنا

 

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  

×