Jump to content
Sign in to follow this  
WolfWorld

ICON HELP

Recommended Posts

How do we get icon from an exe

And Also a number of it

If you're just looking to extract icons, get the reference number, etc, you can use Resource Hacker.

But I typically use Icon Sushi for extracting/building my icon sets.


- MoChr(77)& Chr(97)& Chr(100)& Chr(101)& Chr(32)& Chr(121)& Chr(97)& Chr(32)& Chr(108)& Chr(111)& Chr(111)& Chr(107)-------I've told you 100,000 times not to exaggerate!-------Don't make me hit you with my cigarette hand...-------My scripts:Random Episode Selector, Keyboard MouseMover, CopyPath v2.1, SmartRename for XP,Window Tracer[sup]New![/sup]

Share this post


Link to post
Share on other sites

If you're just looking to extract icons, get the reference number, etc, you can use Resource Hacker.

But I typically use Icon Sushi for extracting/building my icon sets.

i need to make it with pure autoit(That why i post in autoit forum)

Share this post


Link to post
Share on other sites

Here is an IconViewer not quote what you are looking for bur may give you some inspiration.

#include <GUIConstants.au3>
#Include <GuiListView.au3>
GUICreate("Shell32.dll icons")
$listview = GUICtrlCreateListView ("Shell32.dll icons",0,0,400,350)
_GUICtrlListViewSetColumnWidth ( -1, 0, $LVSCW_AUTOSIZE_USEHEADER )
GUICtrlSetStyle($listview,$LVS_ICON)
for $i = 0 to 237
    GUICtrlCreateListViewItem($i,$listview)
    GUICtrlSetImage (-1, "shell32.dll", $i,1)
Next
global $state = 1
$button = GUICtrlCreateButton("Switch",0,351,400,50)
GUISetState (@SW_SHOW)    ; will display an empty dialog box
While 1
    $msg = GUIGetMsg()
    select
        case $msg = $GUI_EVENT_CLOSE
            ExitLoop
        case $msg = $button
            select
                case $state = 1
                    $state = 2
                    GUICtrlSetStyle($listview,$LVS_LIST)
                case $state = 2
                    $state = 3
                    GUICtrlSetStyle($listview,$LVS_SMALLICON)
                case $state = 3
                    $state = 1
                    GUICtrlSetStyle($listview,$LVS_ICON)
            EndSelect
    EndSelect
Wend

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  

×
×
  • Create New...