TheSeeker Posted May 23, 2012 Share Posted May 23, 2012 I am totally new to AutoIT. It is a great tool indeed. I tried to compile some scripts with custom icons. some worked out, some failed. Can anyone tell me the cause and what specifications are necessary? "Let me win[color=rgb(68,68,68);font-family:arial, sans-serif;font-size:small;], [/color]but if I cannot[color=rgb(68,68,68);font-family:arial, sans-serif;font-size:small;] win, let me be brave in the attempt"[/color] Link to comment Share on other sites More sharing options...
Country73 Posted May 23, 2012 Share Posted May 23, 2012 How are you adding the icons to your script? Are you using the #AutoIt3Wrapper, FileInstall, etc... How are you trying to use/access the icons from your compiled script? Please provide some more details; posting you script probably wouldn't hurt either. If you try to fail and succeed which have you done?AutoIt Forum Search Link to comment Share on other sites More sharing options...
Zedna Posted May 23, 2012 Share Posted May 23, 2012 Another reason of problems can be that your icons may be in fact just renamed bitmaps. Some users had this problem already. So check binary format of your icons not only its extension. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
TheSeeker Posted May 25, 2012 Author Share Posted May 25, 2012 Thanks for your replies I didn't included icon files in the script itself, I tried to complie the script using Aut2exe.exe. There is an option for putting the path of the icon, and that is how i tried it. Some failed and some worked out, as i told previously. The script is very simple and i did not tried to include any icon in the script. It looks like this #NoTrayIcon Global $var $var = InputBox ( "Choice" , "Please input the name of the folder below") While 1=1 WinWaitActive( $var) WinKill($var) MsgBox ( 16, "Warning!", "This is a forbidden folder !!" ) WEnd Can you tell me how to check binary format of the icon or any file please? "Let me win[color=rgb(68,68,68);font-family:arial, sans-serif;font-size:small;], [/color]but if I cannot[color=rgb(68,68,68);font-family:arial, sans-serif;font-size:small;] win, let me be brave in the attempt"[/color] 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