HardHackz Posted February 27, 2007 Share Posted February 27, 2007 Hey, I sent a .exe (scripted from AutoIT) to a friend and when they opened it, nothing happened. Do I need to either: A. Make a directory called includes and put all the files I include to it or B. The same as A but add the directory name in the #include <whatever.au3> [center]My BlogOldSock Programs (AutoIT Apps)A Message to Hackers! (NOT SKIDDIES!)OldSock Programs is my little "company."[/center] Link to comment Share on other sites More sharing options...
Developers Jos Posted February 27, 2007 Developers Share Posted February 27, 2007 Hey, I sent a .exe (scripted from AutoIT) to a friend and when they opened it, nothing happened. Do I need to either:A. Make a directory called includes and put all the files I include to it or B. The same as A but add the directory name in the #include <whatever.au3>Don't understand what you mean ....Included files are ...emmm ... included at compilation time ... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
HardHackz Posted February 27, 2007 Author Share Posted February 27, 2007 Don't understand what you mean ....Included files are ...emmm ... included at compilation time ...The .exe did not run on the persons computer. Do they need AutoIT? [center]My BlogOldSock Programs (AutoIT Apps)A Message to Hackers! (NOT SKIDDIES!)OldSock Programs is my little "company."[/center] Link to comment Share on other sites More sharing options...
Developers Jos Posted February 27, 2007 Developers Share Posted February 27, 2007 (edited) The .exe did not run on the persons computer. Do they need AutoIT?nope ...The idea of compiling is to make an exe that will run independently .....You will have to look at you script to see why it doesn't work on the other PC .. . Edited February 27, 2007 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
improbability_paradox Posted February 27, 2007 Share Posted February 27, 2007 It would probably be a good idea to have your script write to a log file in such a way that you can trace what actually is or isn't happening. That will help you identify where your problem is. Link to comment Share on other sites More sharing options...
James Posted February 27, 2007 Share Posted February 27, 2007 Like a debug which when things happen it will write error or success. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
improbability_paradox Posted February 27, 2007 Share Posted February 27, 2007 Now that I am home I checked the help file and found that _FileWriteLog() is the command you will probably want to use to do this. Look it up for details. Link to comment Share on other sites More sharing options...
HardHackz Posted February 27, 2007 Author Share Posted February 27, 2007 Now that I am home I checked the help file and found that _FileWriteLog() is the command you will probably want to use to do this. Look it up for details.I looked it up for a keylogger, but yea, that should work, I just don't know how to make it log. I mean, what to log. [center]My BlogOldSock Programs (AutoIT Apps)A Message to Hackers! (NOT SKIDDIES!)OldSock Programs is my little "company."[/center] Link to comment Share on other sites More sharing options...
/dev/null Posted February 28, 2007 Share Posted February 28, 2007 I looked it up for a keylogger, but yea, that should work, I just don't know how to make it log. I mean, what to log.O.K. why don't you post your script here, so we don't have to guess what you are talking about? __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
HardHackz Posted February 28, 2007 Author Share Posted February 28, 2007 I don't have it anymore but it was something like this: #include <constants.au3> Run("notepad.exe") WinActivate("Untitled - Notepad") Send("Hey, let's have some fun!") It worked on my PC. [center]My BlogOldSock Programs (AutoIT Apps)A Message to Hackers! (NOT SKIDDIES!)OldSock Programs is my little "company."[/center] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 28, 2007 Moderators Share Posted February 28, 2007 Run("notepad.exe") WinWait('Untitled - Notepad') WinActivate("Untitled - Notepad") Send("Hey, let's have some fun!") 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...
HardHackz Posted February 28, 2007 Author Share Posted February 28, 2007 Run("notepad.exe") WinWait('Untitled - Notepad') WinActivate("Untitled - Notepad") Send("Hey, let's have some fun!")No, it didn't even open notepad. [center]My BlogOldSock Programs (AutoIT Apps)A Message to Hackers! (NOT SKIDDIES!)OldSock Programs is my little "company."[/center] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 28, 2007 Moderators Share Posted February 28, 2007 No, it didn't even open notepad.Are you sure "Notepad.exe" is installed on his computer and he's not using some other editor? If FileExists(@SystemDir & '\Notepad.exe') Then Run(@SystemDir & '\Notepad.exe') WinWait('Untitled - Notepad') WinActivate("Untitled - Notepad") Send("Hey, let's have some fun!") Else MsgBox(16, 'Error', 'You do not have Notepad installed in the System Directory') EndIf 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...
HardHackz Posted February 28, 2007 Author Share Posted February 28, 2007 Are you sure "Notepad.exe" is installed on his computer and he's not using some other editor? If FileExists(@SystemDir & '\Notepad.exe') Then Run(@SystemDir & '\Notepad.exe') WinWait('Untitled - Notepad') WinActivate("Untitled - Notepad") Send("Hey, let's have some fun!") Else MsgBox(16, 'Error', 'You do not have Notepad installed in the System Directory') EndIfYes, it's a she by the way, but yes. She has notepad, the file didn't even execute. [center]My BlogOldSock Programs (AutoIT Apps)A Message to Hackers! (NOT SKIDDIES!)OldSock Programs is my little "company."[/center] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 28, 2007 Moderators Share Posted February 28, 2007 (edited) Yes, it's a she by the way, but yes. She has notepad, the file didn't even execute.Ok... I'm done with the cat and mouse... you don't have the script and are not recreating the actual script, shows you don't care much... so I no longer care... hope it doesn't happen in the future.Edit:P.S.It almost sounds like you installed your script in the same directory and named it the same name as you were trying to call. Edited February 28, 2007 by SmOke_N 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...
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