 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
areaman Guest
|
Posted: Sat Oct 02, 2004 10:36 pm Post subject: New feature request |
|
|
Could you please add a command that would allow how the EXE appears in the running processes to be random? I write scripts for games, and they have started scanning the running processes list for known scripts.
Maybe something like this:
| Code: | | RandomTitle, [title], [length of title] |
So when I click fish.exe it appears as W617btr3.exe or something like that. Would this be possible?
Also, I love autohotkey. Extremely well done. |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Sat Oct 02, 2004 11:00 pm Post subject: |
|
|
A work around. Can't see why AHK should become a streamlined cheating tool
| Code: | IniRead, OutputVar, My.ini, LastSession, Filename
FileDelete, %OutputVar%
Random, A , 0, 2147483647
Random, B , 0, 2147483647
Random, C , 0, 2147483647
SetFormat, integer, hex
A += 0
B += 0
C += 0
SessionFilename = %A%%B%%C%.exe
IniWrite, %SessionFilename%, My.ini, LastSession, Filename
FileCopy, C:\MySource\MyTemplate.exe, C:\MyDestination\%SessionFilename%.exe |
Untested!
 |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5107 Location: eth0
|
Posted: Sat Oct 02, 2004 11:09 pm Post subject: |
|
|
On this topic, I see some programs (download agent's to be specific) who's title change. It would be very hard to make a variable and a progress thing for every percentage of a download so I think a changing title would be cool.[/code] _________________
RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2") |
|
| Back to top |
|
 |
areaman Guest
|
Posted: Sat Oct 02, 2004 11:19 pm Post subject: |
|
|
| Why would you post something untested? I don't want it to screw up my comp. Go test it! |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Sat Oct 02, 2004 11:30 pm Post subject: |
|
|
Tested.
OK. Now you feel save ?
There's a reason why to provide code instead of compiled executables:
You can check it. You can change it. If it works for me, why it should work for you? You've to test it anyway.
btw: I'm quite sensitive about time.
You can't buy some of it in a store next street once you've wasted it.
So invest some of your own life time or (in most cases) you've to pay for, cause nothing in life ain't free ...
 |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Sun Oct 03, 2004 12:01 am Post subject: |
|
|
| Quote: | Maybe something like this:
RandomTitle, [title], [length of title] |
Less sophisticated as the previous randomizer, but closer to your proposal.
| Quote: | Title = MyLovelyExecutable
Random, LengthOfTitle, 1, 18
StringMid, RandomTitle, Title, 1, %LengthOfTitle% |
btw: Untested. And no, I won't test it - My first instant DIY-script. |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5107 Location: eth0
|
Posted: Sun Oct 03, 2004 12:30 am Post subject: |
|
|
You must know the 'salt' function in php I think... couldn't there be something like that for AHK? It would be good for password generating... _________________
RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2") |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Sun Oct 03, 2004 6:18 am Post subject: |
|
|
| Quote: | | Could you please add a command that would allow how the EXE appears in the running processes to be random? | I think Bobo's right that it's best that this not be a built-in feature. Hopefully, the examples above will help you script your own solution.
| Titan wrote: | | You must know the 'salt' function in php I think... couldn't there be something like that for AHK? It would be good for password generating... | For now, that falls outside AutoHotkey's scope. However, the Random command generates pretty darn good random numbers: not suitable for encryption, but probably more than adequate for generating random passwords. You could use "Transform, MyChar, chr, %RandomlyGeneratedNumber%" to help with this. |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|