Jump to content
Sign in to follow this  
WolfWorld

How to use autoit control in autoit

Recommended Posts

I have a reason to do this stupid thing.

Here the question can i write some thing like this

$code = 'if $aaa = 5 then'

$code &= @LF &'msgbox(0,'cool','ya')'

$code &= @LF &'endif'

then run the code in autoit without creating a file or anything

Sorry for my english

Share this post


Link to post
Share on other sites

in order to run an AU3 script u need to have AU3 interperator installed.

if so yes, you can run the script from the .AU3 file.

if you want the au3 script to run on another comp without the interperator's nessesity u should compile it.

___________

if you were asking for syntex help:

$a = 5
if $a = 5 then 
    msgbox(0,'cool','ya')
endif

please eleborate u'r explanation !


[u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?!

Share this post


Link to post
Share on other sites

if u want to compile the script just compile it using the 'compile script to .exe' in the programs menu or through scite if u have it installed and it'll work just like any other program.


[u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?!

Share this post


Link to post
Share on other sites

like runing vb in compiled-autoit using

Local $vbs = ObjCreate("ScriptControl")

$vbs.language = "vbscript"

$vbs.Timeout = -1

$vbs.addcode ($code)

$vbs.Run()

i want to run autoit in compiled-autoit like

Local $vbs = ObjCreate("ScriptControl")

$vbs.language = "autoitscript"

$vbs.Timeout = -1

$vbs.addcode ($code)

$vbs.Run()

BUT IT DOESNOT WORK

How ??

This does make it clear

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...