FreeBeing Posted December 24, 2013 Share Posted December 24, 2013 Hi, I test new AutoIt 3.3.10.0 : first of all, thank you for that new version and features included inside. It seems when we compile a script, now there is not any default icon : is it the new default setting ? For now, into AutoIt.chm::/html/intro/compiler.htm I see : /icon <iconfile.ico> Specifies the path and file name of the icon to use for the compiled file. The AutoIt icon So, maybe it's an AutoIt bug, or help is not up to date ? In fact, it's not a real problem, because I can change reg keys to include an icon by default when I compile. Also, I discovered your new #pragma features, that includes the ability to include a specific icon for a script, and it works perfectly. Please, can you add precisions about I have said ? Thank you Link to comment Share on other sites More sharing options...
guinness Posted December 24, 2013 Share Posted December 24, 2013 (edited) This is not a bug and I don't know where it says in the help file of v3.3.8.1 that the compiled script would use the default A icon. If you can point me to that topic then I can fix it, otherwise it doesn't need to be added as it was never documented in the first place. You can use the pragma directive #pragma compile(Icon, ICONPATH) to specify the path. Note, there are many icons located in the C:\Program Files\AutoIt3\Aut2Exe\Icons folder. Edited December 24, 2013 by guinness Skysnake 1 UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
FreeBeing Posted December 24, 2013 Author Share Posted December 24, 2013 With 3.3.8.1 there was a default icon used, but with 3.3.10.0 not. And into the help of the new 3.3.10.0 you can see that : AutoIt --> Using AutoIt --> Compiling Scripts Into "Method 3 - The Command Line" I see : /icon <iconfile.ico> Specifies the path and file name of the icon to use for the compiled file. The AutoIt icon And thank you for that #pragma directive, as I said, that new feature works perfectly Link to comment Share on other sites More sharing options...
guinness Posted December 24, 2013 Share Posted December 24, 2013 OK, that will be fixed in the future. UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
jpm Posted December 24, 2013 Share Posted December 24, 2013 To clarify, It was decide during beta that the icon setting is user responsability, no more a default one included during compilation. So it is needed to use the #pragma to have a user defined icon included. Jpm Link to comment Share on other sites More sharing options...
FreeBeing Posted December 24, 2013 Author Share Posted December 24, 2013 OK, now I'm aware of that, thank you for your help Xandy 1 Link to comment Share on other sites More sharing options...
kylomas Posted December 24, 2013 Share Posted December 24, 2013 FreeBeing, What are you using for Anti-Virus? (relates to a different problem) kylomas Forum Rules Procedure for posting code "I like pigs. Dogs look up to us. Cats look down on us. Pigs treat us as equals." - Sir Winston Churchill Link to comment Share on other sites More sharing options...
FreeBeing Posted December 24, 2013 Author Share Posted December 24, 2013 For now, I'm not using an antivirus (it's a personal choice). Maybe do you wish I try many free antivirus (into virtual machine) to detect if there is not any false positive ? Link to comment Share on other sites More sharing options...
jpm Posted December 24, 2013 Share Posted December 24, 2013 you can use also https://www.virustotal.com/ which scan for a lot of antivirus Link to comment Share on other sites More sharing options...
kylomas Posted December 24, 2013 Share Posted December 24, 2013 FreeBeing, jpm, Thanks. Asking because there is a problem compiling for Avast users. Just getting as much info as possible. kylomas Forum Rules Procedure for posting code "I like pigs. Dogs look up to us. Cats look down on us. Pigs treat us as equals." - Sir Winston Churchill Link to comment Share on other sites More sharing options...
FreeBeing Posted December 26, 2013 Author Share Posted December 26, 2013 I have installed Avast 2014 into a VM : - When I choose to compile a script for x64 : no problem - When I choose x86 : the compilation process is stopped and Avast said "it's Win32:Evo-gen" So, I have sent a false positive report for that program (Aut2Exe generator) : C:UsersMaximeAppDataLocalAutoIt v3Aut2Exeaut9BA4.exe Link to comment Share on other sites More sharing options...
FreeBeing Posted December 26, 2013 Author Share Posted December 26, 2013 Also, It seems there is an AutoIt bug : Into "C:UsersMaximeAppDataLocalAutoIt v3Aut2Exe" folder, many .tmp files are not deleted by AutoIt, even with a computer without Antivirus. Each new compilation create another .tmp file ; so now I have a lot of "0 byte" files... Link to comment Share on other sites More sharing options...
Tlem Posted December 26, 2013 Share Posted December 26, 2013 (edited) Hi FreeBeing. To bypass error while compiling with AV installed, do this : Step 1 : Add following exclusion in 'Antivirus' or 'Active Protection' in Avast : *Aut2Exe* <= Allow exclusion of temporary files used while normal compiling.*~AU3* <= Allow exclusion of temporary files used while compiling with options (Scite4AutoIt Wrapper).*Compiling* <= Allow exclusion of this particular directory (a compiling dir that never be scanned by AV). Step 2 : Allays compile scrit in a dir nammed 'Compiling' (directory added before in exclusions). For the temp files in Aut2Exe dir, the problem was already indicated here : '?do=embed' frameborder='0' data-embedContent>> Have a nice day. Edited December 26, 2013 by Tlem Best Regards.Thierry Link to comment Share on other sites More sharing options...
FreeBeing Posted December 26, 2013 Author Share Posted December 26, 2013 Avast is not a problem for me, as I explained, I installed Avast into a VM only for tests. Thank you for your help Link to comment Share on other sites More sharing options...
Zedna Posted December 26, 2013 Share Posted December 26, 2013 To clarify, It was decide during beta that the icon setting is user responsability, no more a default one included during compilation. So it is needed to use the #pragma to have a user defined icon included. Jpm It would be nice to have possibility to set default compile icon by some option/registry setup to mimic previous versions behaviour. Skysnake 1 Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Tlem Posted December 26, 2013 Share Posted December 26, 2013 +1 Best Regards.Thierry Link to comment Share on other sites More sharing options...
iamtheky Posted December 26, 2013 Share Posted December 26, 2013 Why would you get rid of free advertising? The US Army ships roughly 250,000 Golden Masters of Operating Systems to be used in controlled environments. Each one of these discs is littered with Autoit Scripts (installers, configs and ini parsers), some have been switched over to Army "A", but many still bear the default Autoit3 icon. It is how I, and many others in that community learned of Autoit. ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
Administrators Jon Posted December 27, 2013 Administrators Share Posted December 27, 2013 I see your point, but the amount of hate mail I get about some bad/malware scripts that have the default AutoIt icon and website link is significant. James 1 Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Tlem Posted December 30, 2013 Share Posted December 30, 2013 Hi. All seems ok for the temp files with this new 3.3.10.1. Thank you very much Jon. About the Icon, like said Zedna, it will be a nice idea if we can have the possibility to set default compile icon and compiler informations to see in properties but without using script directive. Juste one idea : A config file in Aut2exe directory with options to set (Aut2exe.cfg), and priority to script directives. By default the cfg file will be empty, like this no icon and no compiler information. ^^ For the most part of between us, it will allow the personalization of the default compilation. I know that it is not so difficult that to add some lines of directives, but it would be a very good option for all of us. Have a nice day Best Regards.Thierry Link to comment Share on other sites More sharing options...
awsnap Posted June 6, 2014 Share Posted June 6, 2014 How does #pragma work in comparison to #AutoItWrapper? 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