Sign in to follow this  
Followers 0
Evil_Has_Survived

Autoit And Visual C++

10 posts in this topic

can autoit scripts run with C++ thanks im going to my dad's house for the week so ill check out your posts when I get back thanks


Thanks in advance

Share this post


Link to post
Share on other sites



Have you tried looking at the forum yet?

Share this post


Link to post
Share on other sites

Yes, it is possible to convert autoit to C++ but not so much the other way around.

Look here:

http://www.autoitscript.com/forum/index.php?showtopic=22369


"So man has sown the wind and reaped the world. Perhaps in the next few hours there will no remembrance of the past and no hope for the future that might have been." & _"All the works of man will be consumed in the great fire after which he was created." & _"And if there is a future for man, insensitive as he is, proud and defiant in his pursuit of power, let him resolve to live it lovingly, for he knows well how to do so." & _"Then he may say once more, 'Truly the light is sweet, and what a pleasant thing it is for the eyes to see the sun.'" - The Day the Earth Caught Fire

Share this post


Link to post
Share on other sites

can autoit scripts run with C++ thanks im going to my dad's house for the week so ill check out your posts when I get back thanks

I am not sure what you want to achieve.

At least you have the solution to use the DLLCall or the PluginOpen if you want to extend the language :)

Share this post


Link to post
Share on other sites

I am not sure what you want to achieve.

At least you have the solution to use the DLLCall or the PluginOpen if you want to extend the language :mellow:

ok I want to transfer a C++ script into autoit or (vicea versa <--- how ever you spell that lol :) )

so for example

the autoit script says to

; Press Esc to terminate script, Pause/Break to "pause"

Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
HotKeySet("+!d", "ShowMessage") ;Shift-Alt-d

;;;; Body of program would go here;;;;
If WinExists("Diablo II") Then
    HotKeySet("{Space}", "close")
Else
    MsgBox(64, "Info", "The game isn´t running!")
    Exit(0)
EndIf

Func Close()
    Send("!{F4}")
EndFunc

While 1
    Sleep(100)
WEnd
;;;;;;;;

Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
        sleep(100)
        ToolTip('Script is "Paused"',0,0)
    WEnd
    ToolTip("")
EndFunc

Func Terminate()
    Exit 0
EndFunc

Func ShowMessage()
    MsgBox(4096,"","This is a message.")
EndFunc

do something like that

then just say I want to make it into C++

........................
........................
........................
........................

I don't know the codes for C++ but thats why im doing this to learn C++lol: :):o


Thanks in advance

Share this post


Link to post
Share on other sites

ok I want to transfer a C++ script into autoit or (vicea versa <--- how ever you spell that lol :mellow: )

so for example

the autoit script says to

; Press Esc to terminate script, Pause/Break to "pause"

Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
HotKeySet("+!d", "ShowMessage");Shift-Alt-d

;;;; Body of program would go here;;;;
If WinExists("Diablo II") Then
    HotKeySet("{Space}", "close")
Else
    MsgBox(64, "Info", "The game isn´t running!")
    Exit(0)
EndIf

Func Close()
    Send("!{F4}")
EndFunc

While 1
    Sleep(100)
WEnd
;;;;;;;;

Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
        sleep(100)
        ToolTip('Script is "Paused"',0,0)
    WEnd
    ToolTip("")
EndFunc

Func Terminate()
    Exit 0
EndFunc

Func ShowMessage()
    MsgBox(4096,"","This is a message.")
EndFunc

do something like that

then just say I want to make it into C++

........................
........................
........................
........................

I don't know the codes for C++ but thats why im doing this to learn C++lol: :):o

Might want to start with learning one or the other before trying to make a translator :)

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

can autoit scripts run with C++ thanks im going to my dad's house for the week so ill check out your posts when I get back thanks

AutoITX3.DLL :)


[quote] Gilbertson's Law: Nothing is foolproof to a sufficiently talented fool.Sandro Alvares: Flaxcrack is please not noob! i can report you is stop stupid. The Post[/quote]I made this: FWD & MD5PWD()

Share this post


Link to post
Share on other sites

Might want to start with learning one or the other before trying to make a translator :)

oh no I don't want to make a transferer I just have a friend who sends me scripts that are wriiten in C++ and I want to convert them to autoit, although I would like to learn it sometime


Thanks in advance

Share this post


Link to post
Share on other sites

AutoITX3.DLL :mellow:

He's trying to convert to AutoIt... wish it were that simple :)

oh no I don't want to make a transferer I just have a friend who sends me scripts that are wriiten in C++ and I want to convert them to autoit, although I would like to learn it sometime

That's my point... I'd think you'd have to know both languages to even attempt it...

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

Ask your friend to include the documentation - you know, the design stage documentation and specifications with their code. If the code is well documented, it often doesn't matter what language it is written in - well expressing programming paradigms work well in most languages.

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  
Followers 0