Sign in to follow this  
Followers 0
cookiemonster

Windows 7 Compile With Options

6 posts in this topic

Hi All,

I had this issue a while ago but cant seem to fix it this time, and the old hard drive died so cant get the registry from it.

Ive done a fully install of the latest version of autoit on my win7 machine, but I cant 'Compile With Options' when right clicking a .au3 file.

At the moment my registry entry for compile with option is: "C:\Program Files (x86)\AutoIt3\Aut2Exe\Aut2Exe.exe" /in "%l"

But this only compiles, it doesnt include the options declared at the start of my .au3 script which are:

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=Ap2.ico
#AutoIt3Wrapper_Outfile=Project.exe
#AutoIt3Wrapper_Res_Comment=Project
#AutoIt3Wrapper_Res_Description=Project 
#AutoIt3Wrapper_Res_Fileversion=1.0.2.1
#AutoIt3Wrapper_Res_LegalCopyright=By Jeffrey
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****

Can someone help?

Share this post


Link to post
Share on other sites



Does it work with the same #pragma (help file) compile options?


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

Does it work with the same #pragma (help file) compile options?

Ive never heard oh this but can see it in the help file, bit of reading to do I guess, has this essentially replaced what I was using?

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

What about using the Compile GUI in the Tools menu? There should be a second tab that you can enter this info in.

Edited by MikahS

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Share this post


Link to post
Share on other sites

ah so the full version of autoit only has a lite version of scITE script editor, installing the full customized editor worked, cheers!!

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

  • Similar Content

    • Daka
      By Daka
      Hello there,
       
      When I compile script and use it out of the map where 
      the source code is. So just moving main.exe to
      other map, then source code is.
      It breaks with error:
      Line10010
      Error: Subscript used on non-accessible variable

      So I wonder what kind of file do I need to 
      include with .exe file? Or should I do something else?

      Because people that are using needs only .exe file
      just start it and use it, with out source code.

       
    • steveeye
      By steveeye
      hey, can anybody enlighten on lesser known Windows hacks or uses ?
    • musicstashall
      By musicstashall
      Excuse me, I did not understand how in the function of Main I can include hundreds of functions of my executable code ?? How to implement this?
    • JohnNash
      By JohnNash
      Weird story. Been using Autoit for more than a year now. But recently moved to a new machine, so did a fresh install, and suddenly I saw menus I never saw before in the editor.
      For example, I Always used to have: Tools>Compile and then it would compile my au3 code. Now, the tools menu has a lot of options but after pressing Compile it goes to a whole new screen specifically for au3 code to select more options, also it debugs my code, which prevents compiling if badly coded.
      Of course this is fine, but I would really like to recompile some old crappy code I wrote, regardless of the mistakes that are still in there, also I am really used to the old setup I had,
      so kind of not done, but how do i get this 'bad'  configuration back? Does it have to do with the au3.properties file? What should I do with it....
      Thanks
       
    • willichan
      By willichan
      This isn't any urgent issue, but more a curiosity on my part.
      Looking at the Pragma Compile Directives page of the help file, FileVersion and ProductVersion both have "last parameter being optional" in the Parameters description.  Is there any documentation on what that last parameter is/does?