Jump to content

Opening already existing .exe


Recommended Posts

Edit your source code and compile again :)

Or use Exe2Aut to decompile, you might need a password and It might not work if the exe is compiled with a beta version. Do a search in the forum to get enlightened.

Link to comment
Share on other sites

Did you search for exe2aut?

You can create a script to start you exe, WinWait for the pop-up and then Send("{ENTER}") to close it.

Bold words are AutoIt functions.

Read the tutorial section of the Help file :)

Link to comment
Share on other sites

  • Moderators

I tried renaming file to .au3 instead of exe and open.

Characters turned out : 9¬ ¤g@¾¡(o²A#Z̼ÜÀÄ24 ¨ìf62ÜàeäÎÞäÞú@ÝÊü×

Anyway to translate this? sorry for the newb questions

If your "friend" sent you the .exe, why not just have them send you the source code that they made the .exe with?

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

Why not jsut create a start script?

$progname ="TODO.exe"
$title="TODO"
$text="Hello"
Run(@ScriptDir & "\" & $progname)
WinWait($title, $text)
Send("{ENTER"}); TODO Add {TAB} to get to OK button

Load your app with the compiled start script and your good to go.

Link to comment
Share on other sites

As an answer to your PM.

Aut2exe can decompile autoit exe files if the author of the exe file did allowe it when he compiled the file. If he did not allowe it you have to hack it (and your on your own).

Normaly you can't "edit" a exe file, can you? You can hack it with a hex editor (but again your on your own).

The simples approach in the case you have described is to download Autoit (and proabably SciTe4AutoIt)create a small script to start your app and then wait for the pop-up window to appear. When it does, let your startup script close the pop-up automatically.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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