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

    • Earthshine
      By Earthshine
      This baby can do almost any language! I found Gleany on this site and set it up on a fresh win10 install. all i would need to do to make it build an exe of the search files app we discovered is the .NET Target Framework download to build 100 % but the exe works and generates! You also need to add the path the the version of csc.exe that you want to run. MSBuild is part of .NET and can read your .csproj file.
      YOU can develop .NET OR C/C++ on this baby!
      Super lightweight (fit for crappy laptops), and you can use any dev compilers you wish, Ming, MS, etc, whatever.
      To use the build, you need to open the csproj file, else, to check your syntax it can compile individual files as well. The warning are because I do not have the .NET 4.6 Targeting Pack installed... LOL, and I could get rid of the Core warning, yes, I did not want to build a .NET Core.dll I wanted a live x64 exe! Told you MSBUILD could handle .CSPROJ, .VBPROJ, and all others Microsoft. Don't let Visual Code or Visual Studio slow you down, although, this works with Visual Code as well but there is only debugging in CORE.DLL projects

      ListFiles Example.zip
       

    • WoodGrain
      By WoodGrain
      Hi All,
      I'm using UseTraySetIcon("shell32.dll", xx) to set my tray icon to a specific icon while running, is there a way I can specify this icon when I compile my script into an exe so my exe icon is the same?
      Thanks!
    • 9252Survive
      By 9252Survive
      Hello Guys, 
      Is there a way to have Auto it Exe messages/line number when you hover over the tray icon just at it shows when you run Au3.?
      For an example, if I the script has paused due to WinWait or Sleep I could hover over the icon and it shows the line where it's at. Is there a way to achieve the same with the compiled exe? 
      Many thanks for the help! 
       
    • 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 ?