Jump to content

compileau3.exe Updated


Recommended Posts

  • Replies 94
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Developers

I hope you fix it soon because it pisses me off that compiling a file takes me 15 seconds, instead of 5 seconds.

<{POST_SNAPBACK}>

Could you give me one good reason why i even would feel the urge to respond to posts like this?

I do like to receive input/idea's to make the stuff better that i have developed for myself, but put out there for others to use as well.

I assume/guess I pissed you off somewhere, but if you would like anything done, it would be appreciated if its asked with a different tone in the post.

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
Share on other sites

I'm not angry with you.

I'm angry at the application, that it doesn't work as expected.

When I'm working on a script that's almost finished, I don't want to see such an error box. In this case when compiling.

The same thing when Windows freezes completely or I get a BSOD.

I mean, I put so much work in it and some application (or Windows) starts complaining. That pisses me off.

Especially when it happens frequently.

I'm cooled down now.

I'm sorry if I sounded rude. I didn't mean to.

Edited by SlimShady
Link to post
Share on other sites

Ico files do not have multiple resources. It would be something like .dll,0 or .icl,0 but not .ico,0. That is how windows works. You just weren't doing it right in the first place.

<{POST_SNAPBACK}>

I know that. But I never selected an icon.

For every new file I compile, I get this message unless I choose an icon manually.

Link to post
Share on other sites
  • Developers

I'm not angry with you.

I'm angry at the application, that it doesn't work as expected.

When I'm working on a script that's almost finished, I don't want to see such an error box. In this case when compiling.

The same thing when Windows freezes completely or I get a BSOD.

I mean, I put so much work in it and some application (or Windows) starts complaining. That pisses me off.

Especially when it happens frequently.

I'm cooled down now.

I'm sorry if I sounded rude. I didn't mean to.

<{POST_SNAPBACK}>

Ok...lets forget about it...

Back to your question on .ICO,0.

:) Are you sure the AUT2EXE supports these kind of ICO files or is that only in the GUI Stuff ?

EDIT: Just saw your other post... probably the registry got screwed up... just start AUT2EXE manually and set the default ICO there and see if that fixes it...

Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
Share on other sites

Here's what I did just now:

- I started Auto2Exe

There's no path that points to an icon in the custom icon input box.

- I click on "Default"

- I compile

Result:

Auto2Exe compiles allright.

Then:

- I deleted Test.au3.ini

- Rightclicked on Test.au3 on my desktop

- Chose "Compile with Options"

Here's what's in the Icon input box:

C:\Program Files\AutoIt3\Icons\filetype2.ico,0

I don't want any custom icon, just the default AutoIt icon.

- I press "enter"

Result:

*pop* Message box shows up.

Edited by SlimShady
Link to post
Share on other sites
  • Developers
:) And you don't have a #Compiler directive statement in the script or Commandline option /ICO when you start Compileau3.EXE ?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
Share on other sites
  • Developers

1. No

2. No. At least I didn't add that argument.

Here is what it says in HKEY_CLASSES_ROOT\AutoIt3Script\Shell\Compile with Options\Command

<{POST_SNAPBACK}>

i am lost where it gets that info from...

Heres how CompileAU3 get the ICON info:

1. When specified on the commandline : /icon ....

2. When not there check the PROGRAM.AU3.INI for it

3. A #Compiler_Icon= ... will override both

4. when none is specified it will use the value in the registry for:

RegRead($Registry & "\Aut2exe", "LastIcon")

where $Registry = "HKCU\Software\Autoit v3\AutoIt3" or in not there :

$Registry = "HKCU\Software\Hiddensoft\AutoIT3"

So any of these will need to have this ".ico,0" value.....

(you are using the latest compileAU3 version that can cope with the new REG values ?)

I hope the above makes sense......

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
Share on other sites
  • Developers

I'm using the version you released on november the 2nd.

I don't know if you released a newer version.

Well I assume you would post it here if you did.

<{POST_SNAPBACK}>

Found a problem in the registry testing bit which should take care of the registry change... its now updated here; http://www.autoitscript.com/fileman/users/jdeb/compileau3.exe

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
Share on other sites

I'm browsing through your source code and I found something strange.

In my editor I see this:

;MsgBox(4096,'$DebugIcon' , $DebugIcon & @lf & '** use icon:' & $INP_Icon);### Debug MSGBOX 
;
If $INP_Compression = "" Then $INP_Compression = RegRead($Registry & "\Aut2Exe", "LastCompression")
If $INP_Allow_Decompile = "" Then $INP_Allow_Decompile = RegRead(ETX & "\Aut2Exe", "AllowDecompile")
; determine if the release is higher than 101..  if so then add this to the possible parameter list

That ETX character is found on line 267.

I don't how that character got there but I think you need $Registry instead.

Just wanted to let you know.

BTW I checked the help file and read that ETX is a character which represents end of text.

Edit:

Some small suggestions.

Replace

RunWait(@ComSpec & ' /C explorer.exe http://www.users.on.net/johnson/resourcehacker/', '', @SW_HIDE)

with

Run('explorer http://www.users.on.net/johnson/resourcehacker', '')

Replace

ConsoleWrite (StringReplace(FileRead($TempFile, FileGetSize($TempFile)), @CR, ""))

with

ConsoleWrite (StringStripCR(FileRead($TempFile, FileGetSize($TempFile))))

Replace

Show_Warnings("Au3Check errors", StringReplace(FileRead($TempFile, FileGetSize($TempFile)), @CR, ""))

with

Show_Warnings("Au3Check errors", StringStripCR(FileRead($TempFile, FileGetSize($TempFile))))
Edited by SlimShady
Link to post
Share on other sites
  • Developers

@Slimshady, just had a look at the latest posted source and the source on my pc and that doesn't contain this character.

Could you check and see if you also see it when you look at this file : http://www.autoitscript.com/fileman/users/jdeb/compileau3.au3 ?

tnx

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
Share on other sites

After I cleared my IE cache and redownloaded the file, line 267 contains this:

If $INP_Allow_Decompile = "" Then $INP_Allow_Decompile = RegRead($Registry & "\Aut2Exe", "AllowDecompile")

I think IE did strange things with the file. I'm sure I wasn't downloading any other files when I downloaded your source.

Windows is full of surprises.

Link to post
Share on other sites
  • Developers

After I cleared my IE cache and redownloaded the file, line 267 contains this:

If $INP_Allow_Decompile = "" Then $INP_Allow_Decompile = RegRead($Registry & "\Aut2Exe", "AllowDecompile")

I think IE did strange things with the file. I'm sure I wasn't downloading any other files when I downloaded your source.

Windows is full of surprises.

<{POST_SNAPBACK}>

:) Thanks anyway for letting me know that you found something....

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...