| View previous topic :: View next topic |
| Author |
Message |
SKAN
Joined: 26 Dec 2005 Posts: 8688
|
Posted: Sun May 11, 2008 2:18 am Post subject: Crazy Scripting : IconEx v1.4b - Icon Explorer / Extractor |
|
|
* Newer version *
Download :
IconEx-v1.4b 15.33 KiB
IconEx-v1.00 13.21 KiB
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 )
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:
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:
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.
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 Wed Jun 30, 2010 9:05 pm; edited 5 times in total |
|
| Back to top |
|
 |
ahklerner
Joined: 26 Jun 2006 Posts: 1381 Location: USA
|
Posted: Sun May 11, 2008 2:50 am Post subject: |
|
|
Cool! Good Job  _________________
ʞɔпɟ əɥʇ ʇɐɥʍ |
|
| Back to top |
|
 |
tic
Joined: 22 Apr 2007 Posts: 1786
|
Posted: Sun May 11, 2008 11:44 pm Post subject: |
|
|
Good job little guy!  |
|
| Back to top |
|
 |
Z Gecko Guest
|
Posted: Mon May 12, 2008 1:06 am Post subject: |
|
|
very cool,
and all this, just because someone asked if it is possible. |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 8688
|
Posted: Mon May 12, 2008 12:17 pm Post subject: |
|
|
| ahklerner wrote: | Cool! Good Job  |
Thanks
| tic wrote: | Good job little guy!  |
Thanks. I do not want to grow up.
| 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 Tue May 13, 2008 12:15 am; edited 1 time in total |
|
| Back to top |
|
 |
RIST
Joined: 08 May 2008 Posts: 39 Location: C:\ESTONIA\adavere\RIST.rar
|
Posted: Mon May 12, 2008 1:44 pm Post subject: |
|
|
hoho its very cool  _________________ Keegi Siin ka Eestlane?  |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 8688
|
Posted: Tue May 13, 2008 12:10 am Post subject: |
|
|
Thanks RIST.
@Everybody:
I have combined my previous code into a GUI based utility.
 |
|
| Back to top |
|
 |
Laszlo
Joined: 14 Feb 2005 Posts: 4710 Location: Boulder, CO
|
Posted: Tue May 13, 2008 12:43 am Post subject: |
|
|
| It beats all the similar scripts posted before. Nice job! |
|
| Back to top |
|
 |
Z Gecko Guest
|
Posted: Tue May 13, 2008 1:23 am Post subject: |
|
|
| Quote: | | The best is yet to come.. |
you didnīt promise to much!
HOT !
 |
|
| Back to top |
|
 |
heresy
Joined: 11 Mar 2008 Posts: 291
|
Posted: Tue May 13, 2008 1:31 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Oberon
Joined: 18 Feb 2008 Posts: 442
|
Posted: Tue May 13, 2008 7:17 am Post subject: |
|
|
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 Up until now I've been using toralfs Icon Viewer Lite but this one seems promising. |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 8688
|
Posted: Tue May 13, 2008 2:39 pm Post subject: |
|
|
| 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 !
 |
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!
 |
|
| Back to top |
|
 |
n-l-i-d Guest
|
Posted: Wed May 14, 2008 7:55 am Post subject: |
|
|
Very impressive indeed!
Almost a fullblown Resource Hacker (hint, hint)  |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 8688
|
Posted: Wed May 14, 2008 4:23 pm Post subject: |
|
|
| n-l-i-d wrote: | Very impressive indeed!  |
Thanks
| n-l-i-d wrote: | Almost a fullblown Resource Hacker (hint, hint)  |
I think I still have a long way to go ..  |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 8688
|
Posted: Wed May 14, 2008 4:46 pm Post subject: New Version v1.00 |
|
|
Download : IconEx-v1.00 13.21Kb ( 325 Lines )
Details and screen shot on the Title post.
  
Last edited by SKAN on Wed May 14, 2008 9:15 pm; edited 2 times in total |
|
| Back to top |
|
 |
|