AutoHotkey Community

It is currently May 26th, 2012, 4:23 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 50 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
PostPosted: May 11th, 2008, 3:18 am 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8775
    * Newer version *

    Download :

    IconEx-v1.4b 15.33 KiB

    IconEx-v1.00 13.21 KiB


    Image

    Auto complete Address Bar
    Credit : Sean
    Type a folder path ( or ) the full path to a resource file

    What you see is What you Extract
    Left Click on an item to Select
    and then Right Click on it to Extract

    Keyboard user friendly

      Go - Default button / Enter would suffice
      Browse - Select a folder
      File - Sets Control focus to Report view
      Icon - Sets Control focus to Icon view
      Address Bar - Sets Control focus to Address Bar, like Windows Explorer
      Reload - Reloads the script with last viewed Icon

:):):)



    Previous version : Download : IconEx 9Kb ( 200 Lines )

    Image

    Intro: IconEx is a Icon explorer / extractor that will help in extracting icons from resources files ( like EXE, DLL, CPL etc ). An ICON is different from a BITMAP file, in the sense that a BMP will contain only one image whereas an ICON can contain several instances of the image in various resolutions.

      With IconEx, you can

    • Extract all the Icons resources from a resource file in one go
    • Extract a single Icon ( Icon Group ) from a resource
    • or just a single Frame/Image from an Icon Group

    How to Install ?
    No procedures.., IconEx is a single file script with no dependency. Just make sure you create a new folder ( like D:\IconEx ) and place the script in it. The script would create sub folders when you extract icons.


    How to explore ?
    By default IconEx starts in Windows folder and loads resources with icons in a Report-View. To change it to a different folder, click on the text control that shows the folder path - select your folder - and allow enough time for the Report-View to load.
    Double-click on a file name and the Icon-View pane will be refreshed with the Icon groups present in that resource file.
    Double-click on an Icon Group and the 12 squares at the bottom of the GUI will show you the different icons present in the group.

    How to extract ?

    ( Refer the screen shot )

    To extract all Icon resources from SHELL32.DLL
    Keep the Left-Control button down and double-click on SHELL32.DLL on the Report-View pane

    You will be prompted with a Message Box:

      Image

    A sub-folder named SHELL32.DLL will be created on the scripts folder and all icons would be extracted into it.

    To extract ICON GROUP 16 from SHELL32.DLL
    Keep the Left-Control button down and double-click on Icon Group 16 on the Icon-View pane

    You will be prompted with a Message Box:

      Image

    To extract a single ICON from ICON GROUP 16 of SHELL32.DLL

    Just click on any of the 12 squares placed the bottom of the GUI.

      Image

    The single icons extracted will all be placed in the subfolder named ~Icons
    To avoid the Message Box, keep the Left-Control button down while clicking.

    Find Target: After extraction, the status bar would be pointing to the Folder or File. Clicking the status bar will open an instance of Windows Explorer with the Folder or File auto-selected.

    Limitations ?

    SHDOCVW.DLL behaves funny.. I have to check on that.
    Generally speaking, if you do not see an icon in any one of the 12 squares, you cannot extract that icon.

    End note:

    This project evolved with many simple procedures that I had posted earlier in this topic. I have removed them to reduce the clutter and provide here the links instead:



    :):):)


Last edited by SKAN on June 30th, 2010, 10:05 pm, edited 5 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 11th, 2008, 3:50 am 
Offline

Joined: June 26th, 2006, 6:14 pm
Posts: 1379
Location: USA
Cool! Good Job :D

_________________
Image
ʞɔпɟ əɥʇ ʇɐɥʍ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 12th, 2008, 12:44 am 
Offline

Joined: April 22nd, 2007, 6:33 pm
Posts: 1833
Good job little guy! :P


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 12th, 2008, 2:06 am 
very cool,
and all this, just because someone asked if it is possible.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 12th, 2008, 1:17 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8775
ahklerner wrote:
Cool! Good Job :D


Thanks :)

tic wrote:
Good job little guy! :P


Thanks. I do not want to grow up. :D

Z Gecko wrote:
very cool,
and all this, just because someone asked if it is possible.


Thanks. :) The best is yet to come.. ;)


Last edited by SKAN on May 13th, 2008, 1:15 am, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 12th, 2008, 2:44 pm 
Offline

Joined: May 8th, 2008, 2:58 pm
Posts: 39
Location: C:\ESTONIA\adavere\RIST.rar
hoho :shock: its very cool :D

_________________
Keegi Siin ka Eestlane? :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 13th, 2008, 1:10 am 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8775
Thanks RIST. :)

@Everybody:

I have combined my previous code into a GUI based utility.

:)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 13th, 2008, 1:43 am 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
It beats all the similar scripts posted before. Nice job!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 13th, 2008, 2:23 am 
Quote:
The best is yet to come..

you didn´t promise to much!
HOT !
:mrgreen:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 13th, 2008, 2:31 am 
Offline

Joined: March 11th, 2008, 11:36 pm
Posts: 291
very impressive !
you rule SKAN
my suggestion is make to react on single click rather than double click
Thanks for sharing

_________________
Easy WinAPI - Dive into Windows API World
Benchmark your AutoHotkey skills at PlayAHK.com


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 13th, 2008, 8:17 am 
Offline

Joined: February 18th, 2008, 8:26 pm
Posts: 442
The loading takes forever to get to shell32.dll when searching through \Windows\System32 on my core 2 duo 2ghz 2gb rams so can you make a way to select an icon file directly? As heresy said it would be a lot easier to be able to single click in many places. Finally I would like a file browse dialog when saving icons or at least a context menu in the list view that gives me extended export options.

I understand you want to keep this script short as possible, so if you're reluctant to add these features I'll just fork a version for private use :P Up until now I've been using toralfs Icon Viewer Lite but this one seems promising.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 13th, 2008, 3:39 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8775
Laszlo wrote:
It beats all the similar scripts posted before. Nice job!


Thank you Sir!. You made it my day :)

Z Gecko wrote:
Quote:
The best is yet to come..

you didn´t promise to much!
HOT !
:mrgreen:


Thanks ! :)

heresy wrote:
very impressive !
you rule SKAN
my suggestion is make to react on single click rather than double click
Thanks for sharing


Thanks ! :)

I did try with AltSubmit in LV Options. It triggers the subroutine too many times effecting unbearable flicker. I will try to workaround it.


@Oberon:

Quote:
The loading takes forever to get to shell32.dll when searching through \Windows\System32 on my core 2 duo 2ghz 2gb rams so can you make a way to select an icon file directly?


Sure! I am working on it. The newer version will have Windows explorer's address bar so the user will be benefitted with its Auto-complete facility.


Quote:
I would like a file browse dialog when saving icons or at least a context menu in the list view that gives me extended export options.


Yes! A GUI script should be that way.. I will try to implement it.
The present way was very convenient during development / testing.

Quote:
I understand you want to keep this script short as possible


Not for this script. A GUI script needs to be intuitive and mine is short of that.

Quote:
so if you're reluctant to add these features I'll just fork a version for private use Up until now I've been using toralfs Icon Viewer Lite but this one seems promising.


I will try my best... Icon Viewer Lite has been my favorite too.

Thanks again to everybody!

:)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 14th, 2008, 8:55 am 
Very impressive indeed! 8)

Almost a fullblown Resource Hacker (hint, hint) :wink:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 14th, 2008, 5:23 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8775
n-l-i-d wrote:
Very impressive indeed! 8)


Thanks :)

n-l-i-d wrote:
Almost a fullblown Resource Hacker (hint, hint) :wink:


I think I still have a long way to go .. :D


Report this post
Top
 Profile  
Reply with quote  
 Post subject: New Version v1.00
PostPosted: May 14th, 2008, 5:46 pm 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8775
Download : IconEx-v1.00 13.21Kb ( 325 Lines )

Details and screen shot on the Title post.

:):):)


Last edited by SKAN on May 14th, 2008, 10:15 pm, edited 2 times in total.

Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 50 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 13 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group