Jump to content

exe to AHK


hacked_13

Recommended Posts

hey,

i was hoping to get a few ideas or suggestions on the matter.

With ahk files when you compile them you can make them with a password. But when they are executed as an exe, they are of course loaded into memory, and are then executed. As with all exe processes.

My one question is does anyone know of a program or memory scanner where i could use it to get the data from memory.

Ta. Or if anyone has other ideas, feel free to contribute.

Link to comment
Share on other sites

  • 3 weeks later...

interesting ? you got the exe I cna poke with ?? I need help with one of my projects a fully automated mass uninstaller

idea being you run it walk away and everything is uninstalled you put on the list :) not needing to know the options etc it would do things like not reboot and try to select the right stuff to click :P

pm me if you any good at it ..

F12::
; Control Spy - Written by A.N.Suresh Kumar AKA Goyyah / 25-Aug-2006 / Version ??????
AutoTrim, OFF
^#!F12::
FileDelete, %A_Temp%\ControlList.txt
IfWinExist,Control.Spy.Report,WinActivate,Control.Spy.Report
IfWinExist,Control.Spy.Report,Exit
Clis=
ID:=WinExist("A")
WinGet, Clist, ControlList, ahk_id %ID%
WinGetTitle, Title, ahk_id %ID%
WinGetClass, Class, ahk_id %ID%
FileAppend, %Title% [Class:%Class%]`n, %A_Temp%\ControlList.txt
FileAppend,---------------------------------------------------------------------------------------------------`n, %A_Temp%\ControlList.txt
FileAppend,Sl   c_Hwnd       ClassNN                                  Control Text (40 Characters only)       `n, %A_Temp%\ControlList.txt
FileAppend,---------------------------------------------------------------------------------------------------`n, %A_Temp%\ControlList.txt

Loop, Parse, CList, `n
{
ControlGet,cHwnd, Hwnd,, %A_LoopField%, ahk_id %ID%
ControlGetText,cText,, ahk_id %cHwnd%
StringReplace,cText,cText, `n, % Chr(32), All
StringReplace,cText,cText, `r, % Chr(32), All
StringLeft,cText,cText,40
Clis = % Clis "`n"  SetWidth(A_Index,3) ". " SetWidth(cHwnd,12) " " SetWidth(A_LoopField,40) " " Ctext
}

FileAppend, %Clis%`n, %A_Temp%\ControlList.txt
FileAppend,---------------------------------------------------------------------------------------------------`n, %A_Temp%\ControlList.txt
FileAppend,* Control Spy * By Goyyah, %A_Temp%\ControlList.txt
FileRead, Report, %A_Temp%\ControlList.txt
Gui,Font, s9, Courier New
Gui,Add,Edit, w740 h540 , % Report
Gui,Add,Button, x600 gGuiClose w140 , &Copy to Clipboard
Gui,Show,,Control.Spy.Report
Send, {Home} 
Return

GuiEscape:
GuiClose:
Clipboard= % "[code]`n" Report "`n/[code]"
 ReLoad
Return

SetWidth(Str,Width) {
Loop {
If (StrLen(Str)>=Width)
   Break
Else
   Str= % Str Chr(32)
}  Return Str
}





F11::
SoundPlay, %A_WinDir%\Media\ding.wav

;'ControlClick, OK, Some Window Title ; Clicks the OK button
ControlClick, *ext*, BlackBerry Desktop Software 4.6 - InstallShield Wizard




F10::
SoundPlay, %A_WinDir%\Media\ding.wav










SetTitleMatchMode RegEx


;set main window title
WinGetActiveTitle, main1


; check for main window 
;IfWinNotActive %main1% 
;{
;msgbox, startclicking
;}




SoundPlay, %A_WinDir%\Media\ding.wav


SetTitleMatchMode RegEx


;ControlClick, .*move.*,.*
;ControlClick, *[N|n]ext.*,.*
;ControlClick, *[O|o][K|k].Yes,.*
ControlClick, Yes,.*

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...