Sign in to follow this  
Followers 0
Micoman

Aut2exe.exe problem

14 posts in this topic

:)

Anybody experience script has been deleted when you got an error when compiling the script to exe?

Is there anyway I can retrieve the deleted script its a 3 day work and I should have a backup copy but I only got the old one :)

Share this post


Link to post
Share on other sites



:)

Anybody experience script has been deleted when you got an error when compiling the script to exe?

Is there anyway I can retrieve the deleted script its a 3 day work and I should have a backup copy but I only got the old one :party:

I'm not aware of any circumstances where Aut2Exe even makes any changes to the source .au3 file, let alone deletes it.

What version of Aut2Exe was it, and what exactly was the error? Exactly how did you run it?

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

:)

Anybody experience script has been deleted when you got an error when compiling the script to exe?

Is there anyway I can retrieve the deleted script its a 3 day work and I should have a backup copy but I only got the old one :party:

is it in the recycle bin? :)

Share this post


Link to post
Share on other sites

I'm not aware of any circumstances where Aut2Exe even makes any changes to the source .au3 file, let alone deletes it.

What version of Aut2Exe was it, and what exactly was the error? Exactly how did you run it?

:)

I can't remember the error but it is something to do with unclosed function and it shows a garbage character (random ascii character) I thought it just an ordinary error but when I click ok my script is gone.

Anyway I'm using Autoit3 the compiler is Aut2exe V3

I already tried checking recycle bin and I also tried file recovery program but no luck.

Oh well guess I have to do the coding again :)

Share this post


Link to post
Share on other sites

heh.

i'm assuming one of the lines was

filedelete("your script folder and name")

or something XD

Share this post


Link to post
Share on other sites

Did your error look like?:

---------------------------
Aut2Exe Error
---------------------------
Line 12  (File "C:\Scriptfile.au3"):

Áðáÿ'

Error: Unterminated string.
---------------------------
OK   
---------------------------

If so it means you specified Scriptfile.au3 as Target file in stead of scriptfile.exe.

This will indeed delete your sourcefile.


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

If so it means you specified Scriptfile.au3 as Target file in stead of scriptfile.exe.

This will indeed delete your sourcefile.

:)

<Cue theme music from 'The Outer Limits'>

:party:

Is there a feature request in yet that it should just pop an error and fail if source = destination?

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

:)

<Cue theme music from 'The Outer Limits'>

:party:

Is there a feature request in yet that it should just pop an error and fail if source = destination?

:)

Nope, not yet. Just thought of this one when I saw the post and had to try it ... and yes it "worked" as described.

I can add a test in AutoIt3Wrapper too, but it really should (also) be checked in AUT2EXE.


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

heh.

i'm assuming one of the lines was

filedelete("your script folder and name")

or something XD

There is no filedelete or other related functions except for IniWrite and filewrite commands in the script since its just a program that will switch Power Schemes when a certain application was launch.

Share this post


Link to post
Share on other sites

@Jos

:) Similar error to that, I'll try to do what you did and see if I'll see the same error that I have last night. Anyway if you where right then theres no way I can recover the script since it was overwritten not deleted.

Share this post


Link to post
Share on other sites

@Jos

:) Similar error to that, I'll try to do what you did and see if I'll see the same error that I have last night. Anyway if you where right then theres no way I can recover the script since it was overwritten not deleted.

If you were using SciTE for the editor, then every time you ran Tidy (Alt-t) it should have saved a backup copy.

If you are not using SciTE, then... when did you go off your meds?

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

If you were using SciTE for the editor, then every time you ran Tidy (Alt-t) it should have saved a backup copy.

If you are not using SciTE, then... when did you go off your meds?

:)

I'm using SciTe but didn't know about Tidy (Thats what I get for not visiting the forum) thanks for the advice, I'll just have to increase my dosage from now on :)

Share this post


Link to post
Share on other sites

I'm using SciTe but didn't know about Tidy (Thats what I get for not visiting the forum) thanks for the advice, I'll just have to increase my dosage from now on :)

You will only have Tidy (and other utilities) when you downloaded and installed the separate SciTE4AutoIt3 installer. :)

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

You will only have Tidy (and other utilities) when you downloaded and installed the separate SciTE4AutoIt3 installer. :)

...and, if your meds are right, you will!

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
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
Sign in to follow this  
Followers 0