AutoHotkey Community

It is currently May 27th, 2012, 12:27 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: January 19th, 2009, 9:53 pm 
Offline

Joined: July 22nd, 2008, 2:33 pm
Posts: 7
I created a script and needed to schedule it to run automatically from a scheduler app so I compiled it to an EXE. Of course, being an idiot, instead of renaming it to MyScript.exe, I OVERWROTE MyScript.AHK with the compiled version.

I've now effectively lost the source since and I can't get the compiled code to run. I renamed the MyScript.ahk to Myscript.exe, but it won't actually execute. It's like there's something missing. When I open up the compiled file in textpad, it looks similar to a different, working compiled script, but when I open the "bad" exe in textpad it opens as a normal text file, whereas when I open a different working compiled exe it knows it's a hex file.

Is there some sort of "executable flag/bit" that I need to flip to get it to execute? I'm thinking something like the linux exec permissions bit.

Can anyone help me out here? I've tried using the EXEtoAHK decompiler, but it errors b/c it doesn't think my exe is truly an executable either.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 19th, 2009, 11:05 pm 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
Can you upload it to autohotkey.net and post here, I can try, once I recovered my script when only exe left.

Did you use a password to compile?

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: chaosad, Exabot [Bot], Google Feedfetcher, jrav and 17 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group