Evil_Has_Survived Posted April 3, 2006 Share Posted April 3, 2006 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 Link to comment Share on other sites More sharing options...
greenmachine Posted April 3, 2006 Share Posted April 3, 2006 Have you tried looking at the forum yet? Link to comment Share on other sites More sharing options...
The Kandie Man Posted April 3, 2006 Share Posted April 3, 2006 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 Link to comment Share on other sites More sharing options...
jpm Posted April 3, 2006 Share Posted April 3, 2006 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 thanksI 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 Link to comment Share on other sites More sharing options...
Evil_Has_Survived Posted April 4, 2006 Author Share Posted April 4, 2006 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 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 expandcollapse popup; 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: Thanks in advance Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted April 4, 2006 Moderators Share Posted April 4, 2006 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 expandcollapse popup; 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: Might want to start with learning one or the other before trying to make a translator 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. Link to comment Share on other sites More sharing options...
flaxcrack Posted April 4, 2006 Share Posted April 4, 2006 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 thanksAutoITX3.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() Link to comment Share on other sites More sharing options...
Evil_Has_Survived Posted April 4, 2006 Author Share Posted April 4, 2006 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 Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted April 4, 2006 Moderators Share Posted April 4, 2006 AutoITX3.DLL 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 sometimeThat's my point... I'd think you'd have to know both languages to even attempt it... 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. Link to comment Share on other sites More sharing options...
Confuzzled Posted April 7, 2006 Share Posted April 7, 2006 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. Link to comment Share on other sites More sharing options...
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