WesleyC Posted December 8, 2011 Share Posted December 8, 2011 I'm trying to utilize certain #AutoIt3Wrapper_* comments, and they're seemingly being ignored. Here's a simple example script: (The file is named "bar.au3") #AutoIt3Wrapper_icon=foo.ico #AutoIt3Wrapper_OutFile=foo.exe Opt("GUIOnEventMode", 1) ; Change to OnEvent mode $mainwindow = GUICreate("Foo", 100, 100) GUISetOnEvent($GUI_EVENT_CLOSE, "CLOSEClicked") GUISetState(@SW_SHOW) While 1 sleep(100) WEnd Func CLOSEClicked() Exit EndFunc There is a foo.ico in the folder. When I hit F7 (or ctrl-f7) in SciTE4AutoIt3 it creates a file named bar.exe, with the default autoit icon. From the directives, I would expect the resultant file to be named foo.exe and have the foo.ico as the icon. The output from F7 is below: >"C:\Program Files (x86)\AutoIt3\SciTE\..\aut2exe\aut2exe.exe" /in "D:\autoit\bar.au3" Ultimate Packer for eXecutables Copyright (C) 1996 - 2008 UPX 3.03w Markus Oberhumer, Laszlo Molnar & John Reiser Apr 27th 2008 File size Ratio Format Name -------------------- ------ ----------- ----------- 646144 -> 300544 46.51% win32/pe bar.exe Packed 1 file. >Exit code: 0 Time: 2.118 Any ideas? What am I doing wrong? Link to comment Share on other sites More sharing options...
Zedna Posted December 8, 2011 Share Posted December 8, 2011 You must install FULL Scite4Autoit3 Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
WesleyC Posted December 8, 2011 Author Share Posted December 8, 2011 Thank you! That did it. It never occurred to me that there would be a "non-full" version of the editor. Link to comment Share on other sites More sharing options...
Zedna Posted December 8, 2011 Share Posted December 8, 2011 Thank you! That did it.It never occurred to me that there would be a "non-full" version of the editor.There is no non-full Scite4Autoit3.Installer of Autoit comes with Scite (non-full) with only base edit functionality.You can download full Scite4Autoit3 as separate installer to get more Tools including Autoit3Wrapper. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now