Sardith Posted December 12, 2005 Share Posted December 12, 2005 I've little C in the past thats about as deep as I've got with making my own programs. I've been using AutoIt v3 for a week now, I can decipher and do little with AutoIt. Befor a blab on, what would be a good way to learn AutoIt? I've read the documentation. Any advice would be great. Jeff [font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font] Link to comment Share on other sites More sharing options...
kpu Posted December 12, 2005 Share Posted December 12, 2005 I've little C in the past thats about as deep as I've got with making my own programs. I've been using AutoIt v3 for a week now, I can decipher and do little with AutoIt. Befor a blab on, what would be a good way to learn AutoIt? I've read the documentation.Any advice would be great.JeffYou won't learn it unitl you have a reason to use it. http://www.kpunderground.com Link to comment Share on other sites More sharing options...
Sardith Posted December 12, 2005 Author Share Posted December 12, 2005 (edited) I do have a reason(s) to use Autoit, sorta interested in making a macro program, a simple bot, hide a exe(s) and last but not least, maybe most importantly... changing a .exe name in task manger. IE. Tt has a set numbers, and after a given time it changes the name. Program name is 1 let's say, next time you run the program its 21234 or something. Edited December 12, 2005 by Sardith [font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font] Link to comment Share on other sites More sharing options...
JSThePatriot Posted December 12, 2005 Share Posted December 12, 2005 I do have a reason(s) to use Autoit, sorta interested in making a macro program, a simple bot, hide a exe(s) and last but not least, maybe most importantly... changing a .exe name in task manger.IE. Tt has a set numbers, and after a given time it changes the name. Program name is 1 let's say, next time you run the program its 21234 or something.This sounds an aweful lot like a virus type of program feature. Please clarify why this would be useful at all.Just as others have said above. Until you use it reading the documentation is a good way to start.JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008Â Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
Sardith Posted December 12, 2005 Author Share Posted December 12, 2005 (edited) The title changer is for the bot, to help cover it up. It's not for a virus, but for Counter-Strike. Vac 2. VAC 2 does a program name search for known hacks, and if anything I ever make something that goes public Id like the extra step for detection reasons. Edited December 12, 2005 by Sardith [font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font] Link to comment Share on other sites More sharing options...
Sardith Posted December 12, 2005 Author Share Posted December 12, 2005 I was thinking about what I wanted, I can change the title but, how do you change a .exe name? [font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font] Link to comment Share on other sites More sharing options...
seandisanti Posted December 12, 2005 Share Posted December 12, 2005 I was thinking about what I wanted, I can change the title but, how do you change a .exe name?why not have your script write another script, save it with a random string as the name, and then run it? save the name in a variable and delete the file when the script exits. Link to comment Share on other sites More sharing options...
Sardith Posted December 12, 2005 Author Share Posted December 12, 2005 Could you show me a example? [font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font] Link to comment Share on other sites More sharing options...
Sardith Posted December 12, 2005 Author Share Posted December 12, 2005 Interesting thank you. [font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font] Link to comment Share on other sites More sharing options...
seandisanti Posted December 12, 2005 Share Posted December 12, 2005 Interesting thank you.glad to help as long as you're only doing what you say you're doing. i'm going to remove the code from the other post now since it's served it's purpose. Link to comment Share on other sites More sharing options...
Sardith Posted December 12, 2005 Author Share Posted December 12, 2005 (edited) When quitting the script how would you change the title back to "Question" ? The script below doesn't work. Dim $titlerename ,$titleexit Func OnAutoItExit() $titleexit = WinSetTitle ("New name of window", "","Question") EndFunc While 1 $titlerename = WinSetTitle ( "Question", "", "New name of window" ) Sleep(100) WEnd EndFunc While 1 WinSetTitle ( "Question", "", "New name of window" ) Sleep(100) WEnd Edited December 12, 2005 by Sardith [font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font] Link to comment Share on other sites More sharing options...
seandisanti Posted December 12, 2005 Share Posted December 12, 2005 When quitting the script how would you change the title back to "Question" ? The script below doesn't work. Dim $titlerename ,$titleexit Func OnAutoItExit() $titleexit = WinSetTitle ("New name of window", "","Question") EndFunc While 1 $titlerename = WinSetTitle ( "Question", "", "New name of window" ) Sleep(100) WEnd EndFunc While 1 WinSetTitle ( "Question", "", "New name of window" ) Sleep(100) WEndthe code that i gave was just for a loader. it creates an included file, then renames the file, compiles it, then deletes it when you're done, so there is nothing to rename. the code you've included is bad; you have an extra EndFunc, and you have 2 loops setting the name of the window, and no exit condition for either loop. you could do this: $oldname = WinGetTitle($gui) winsetname($gui,"New name of window" Func OnAutoItExit() WinSetTitle ("New name of window", "",$oldname) EndFunc Link to comment Share on other sites More sharing options...
Sardith Posted December 12, 2005 Author Share Posted December 12, 2005 (edited) Sorry to sound like a idiot, but I lost your code. didn't save it in my script folder. Edited December 12, 2005 by Sardith [font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font] Link to comment Share on other sites More sharing options...
seandisanti Posted December 12, 2005 Share Posted December 12, 2005 Sorry to sound like a idiot, but the $gui... is causing a error.right, because it doesn't mean anything in the context that you're applying it if you're just copy and pasting. the GUICreate examples all use $gui as variable to store the handle to the gui being created. Change it to whatever variable name you used with your GUICreate. Link to comment Share on other sites More sharing options...
Sardith Posted December 12, 2005 Author Share Posted December 12, 2005 Ah. [font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font] 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