Garp99HasSpoken Posted February 28, 2013 Share Posted February 28, 2013 In the process of creating an installer for an au3 compiled program, and adding registry entries for right-click context menu, I find the need to have a program icon associated to it for the context menu. I simply don't have the previous knowledge with icons to understand what syntax is required. The registry entry will be setting the icon as Create_NFO.EXE,0 I used #AutoIt3Wrapper_Res_Icon_Add=C:\bin\Create_NFO.ico in my program when compiled. Looking at the exe file with a program available here (see image) I get 5 images and the last one is the one I want to show on the context menu (-5) So is that what I need to use? Create_NFO.EXE,-5 or am I going about this the wrong way. Link to comment Share on other sites More sharing options...
Garp99HasSpoken Posted February 28, 2013 Author Share Posted February 28, 2013 (edited) Before someone comments on this, I now have these 2 lines in my program #AutoIt3Wrapper_Icon=C:\bin\Create_NFO.ico #AutoIt3Wrapper_Res_Icon_Add=C:\bin\Create_NFO.ico And I can see the correct icon in the taskbar as it's running. I still need context menu to show up. Edited February 28, 2013 by Garp99HasSpoken Link to comment Share on other sites More sharing options...
Nessie Posted February 28, 2013 Share Posted February 28, 2013 You have to know only the icon index number of the exe that you want display in your context menu. In your case is -5, so setting the registry key value with: "C:\WORKINGDIR\Create_NFO.EXE",-5 should do the trick. Hi! My UDF: NetInfo UDF Play with your network, check your download/upload speed and much more! YTAPI Easy to use YouTube API, now you can easy retrive all needed info from a video. NavInfo Check if a specific browser is installed and retrive other usefull information. YWeather Easy to use Yahoo Weather API, now you can easily retrive details about the weather in a specific region. No-IP UDF Easily update your no-ip hostname(s). My Script: Wallpaper Changer Change you wallpaper dinamically, you can also download your wallpaper from your website and share it with all! My Snippet: _ImageSaveToBMPConvert an image to bmp format. _SciteGOTO Open a file in SciTE at specific fileline. _FileToHex Show the hex code of a specified file Link to comment Share on other sites More sharing options...
Garp99HasSpoken Posted March 1, 2013 Author Share Posted March 1, 2013 That's what I thought but it doesn't seem to work. I've also tried -1 since it's now the same as -5. I have uninstalled and re-installed but no difference either way. Link to comment Share on other sites More sharing options...
Nessie Posted March 1, 2013 Share Posted March 1, 2013 (edited) Have you tried to reboot your system after the registry write? Hi! Edited March 1, 2013 by Nessie My UDF: NetInfo UDF Play with your network, check your download/upload speed and much more! YTAPI Easy to use YouTube API, now you can easy retrive all needed info from a video. NavInfo Check if a specific browser is installed and retrive other usefull information. YWeather Easy to use Yahoo Weather API, now you can easily retrive details about the weather in a specific region. No-IP UDF Easily update your no-ip hostname(s). My Script: Wallpaper Changer Change you wallpaper dinamically, you can also download your wallpaper from your website and share it with all! My Snippet: _ImageSaveToBMPConvert an image to bmp format. _SciteGOTO Open a file in SciTE at specific fileline. _FileToHex Show the hex code of a specified file Link to comment Share on other sites More sharing options...
Garp99HasSpoken Posted March 1, 2013 Author Share Posted March 1, 2013 Tried a reboot without success. Oh well, I guess it was just a 'nice to have' feature. 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