Kitsune Posted July 5, 2008 Share Posted July 5, 2008 Well it's possible to make bits of autoit run faster if you can handle drivers directly through ASM, am I not right? although it'd require the ASM to be compiled for the system it's being used on. Best thing only if you customized the ASM for your personal drivers. Link to comment Share on other sites More sharing options...
Andreik Posted July 5, 2008 Share Posted July 5, 2008 Well it's possible to make bits of autoit run faster if you can handle drivers directly through ASM, am I not right? although it'd require the ASM to be compiled for the system it's being used on. Best thing only if you customized the ASM for your personal drivers.Can you call ASM code from Autoit script? I`m interesed if is possible? When the words fail... music speaks. Link to comment Share on other sites More sharing options...
Uriziel01 Posted July 5, 2008 Share Posted July 5, 2008 Can you call ASM code from Autoit script? I`m interesed if is possible?Nope. The only possibility is to add an ASM code to C,C+,C# etc. code and compile it as dynamic library (.dll) and use it calling this Dll in AutoIt muttley Link to comment Share on other sites More sharing options...
Andreik Posted July 5, 2008 Share Posted July 5, 2008 (edited) Nope. The only possibility is to add an ASM code to C,C+,C# etc. code and compile it as dynamic library (.dll) and use it calling this Dll in AutoIt muttleyI know that in C/C++ is possible to call other languages function, with CDECL.And ASM with objects. Edited July 5, 2008 by Andreik When the words fail... music speaks. Link to comment Share on other sites More sharing options...
Kitsune Posted July 5, 2008 Share Posted July 5, 2008 (edited) it IS entirely possible for AutoIt to interact with an EXE compiled FROM .asm code. muttley Local $stream_handle = Run("ASM.exe", @SystemDir, @SW_HIDE, $STDIN_CHILD + $STDOUT_CHILD) Local $StdOut = StdoutRead($stream_handle) MsgBox(0,"",$Stdout) StdinWrite($stream_handle, "I can talk to it") At least the theory is good Edited July 6, 2008 by Kitsune Link to comment Share on other sites More sharing options...
Andreik Posted July 5, 2008 Share Posted July 5, 2008 it IS entirely possible for AutoIt to interact with an EXE compiled FROM .asm code. muttley Local $stream_handle = Run("ASM.exe", @SystemDir, @SW_HIDE, $STDIN_CHILD + $STDOUT_CHILD) Local $StdOut = StdoutRead($stream_handle) MsgBox(0,"",$Stdout) StdinWrite($stream_handle, "I can talk to it")Yes, but only if is compiled as EXE, not lines of code in ASM. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
Uriziel01 Posted July 5, 2008 Share Posted July 5, 2008 (edited) I think that some type of "hybrid" is possible to do muttley I mean working in two editors, AutoIt and Assembler, and use some automatic "make" script to connect two programs in one. Im right ? EDIT: I will ,mabye try to make something like that in future Edited July 5, 2008 by Uriziel01 Link to comment Share on other sites More sharing options...
Andreik Posted July 5, 2008 Share Posted July 5, 2008 I think that some type of "hybrid" is possible to do muttley I mean working in two editors, AutoIt and Assembler, and use some automatic "make" script to connect two programs in one. Im right ? EDIT:I will ,mabye try to make something like that in future I`m not very sure, but is a begin for anything. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
Uriziel01 Posted July 5, 2008 Share Posted July 5, 2008 Sorry for offtoping this thread But back to Assembler:For example make an editor with regular expressions detector for ASM commands. next use compilator from some ready ASM editor (for exaple Fasm, I dunno it is legal or not ) compile the ASM part and add to AutoIt part compiled files from ASM part (is simplest way use FileInstall) and compile our entire Project. It is meabye very simple and buggy way but you will be able to write ASM funcs in AutoIt editor, and next use them in your script, using ASM .exe file in TEMP dir muttley What do you think abou that? I now its a super simple idea, meabye even stupid. but it is some idea Link to comment Share on other sites More sharing options...
Andreik Posted July 5, 2008 Share Posted July 5, 2008 (edited) Sorry for offtoping this thread But back to Assembler:For example make an editor with regular expressions detector for ASM commands. next use compilator from some ready ASM editor (for exaple Fasm, I dunno it is legal or not ) compile the ASM part and add to AutoIt part compiled files from ASM part (is simplest way use FileInstall) and compile our entire Project. It is meabye very simple and buggy way but you will be able to write ASM funcs in AutoIt editor, and next use them in your script, using ASM .exe file in TEMP dir muttley What do you think abou that? I now its a super simple idea, meabye even stupid. but it is some idea I thing that is a good start idea, I want to write ASM in AutoIt, maybe this is a begin.I`ll try to make that. Edited July 5, 2008 by Andreik When the words fail... music speaks. Link to comment Share on other sites More sharing options...
MerkurAlex Posted July 5, 2008 Share Posted July 5, 2008 (edited) Hehe not bad but i had 14 once and it when't to 13 and i pressed "my number is higher" and it did nothing so i could keep clicking i had 154 guesses not bad other then that. EDIT:HEHEH i figured out how to re-create it step 1:press lower until the number is 7 step 2:press higher until it is 13 step 3:keep pressing higher forever not sure why this happens. EDIT 2:you can do this with pretty much any number under 10 i think cause i can keep pressing down after it hits one for a few then keep pressing up and its stuck. Edited July 5, 2008 by MerkurAlex [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote] Link to comment Share on other sites More sharing options...
Kitsune Posted July 6, 2008 Share Posted July 6, 2008 Sorry for offtoping this thread But back to Assembler:For example make an editor with regular expressions detector for ASM commands. next use compilator from some ready ASM editor (for exaple Fasm, I dunno it is legal or not ) compile the ASM part and add to AutoIt part compiled files from ASM part (is simplest way use FileInstall) and compile our entire Project. It is meabye very simple and buggy way but you will be able to write ASM funcs in AutoIt editor, and next use them in your script, using ASM .exe file in TEMP dir What do you think abou that? I now its a super simple idea, meabye even stupid. but it is some idea You can always use MASM muttley Link to comment Share on other sites More sharing options...
Mattraks Posted July 6, 2008 Share Posted July 6, 2008 Haha, I can't fool it. Pretty nice code! 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