Jump to content

IconFileScanner


Holger
 Share

Recommended Posts

Hi :whistle:

this was originally to test large icons in listview.

It can be used to quick scan exe/dlls/ocx/ico/icl for icons.

Feel free to use and modify it :dance:

Regards

Holger

P.S. icon view mode can be changed by rightlick on the listviews...

Update: 21.07.2007

- now works for Autoit3 V3.2.4.9

- fixed some 'older' Dim entries (thanks to martin)

IconFileScanner.au3

Edited by Holger
Link to comment
Share on other sites

Holger, this is fantastic! I really like the way it scans all files in the specified folder for icons (I was surprised to see a .tmp file appear in the list).

What would be the likelihood of modifying your code so that filenames can be clicked while the list is still being populated? Scanning my System32 folder took 30 seconds but I was hoping I could look at some files before the 30 seconds had expired. :">

Link to comment
Share on other sites

Updated:

- added: "Go"-button (which has the def-button style so you could press directly'Enter' in the input-combo-field)

- changed: Path-input control to combobox control to save the latest used paths

@Lxp: I have an idea to make it but it could/would be a little bit slower

Edited by Holger
Link to comment
Share on other sites

  • 6 months later...

Updated:

- updated to work with current beta

- a small addition to auto 'refresh' the icons-listview

I just downloaded this and got this error.

C:\programming\iconfilescanner.au3(13,92) : ERROR: $LVS_SMALLICON previously declared as a 'Const'

If Not IsDeclared("LVS_SMALLICON") Then Global Const $LVS_SMALLICON = 0x0002 ;WAS Const

anyideas?

EDIT

or is this one that works with the very latest beta?

Edited by nitekram

All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Link to comment
Share on other sites

I just downloaded this and got this error.

C:programmingiconfilescanner.au3(13,92) : ERROR: $LVS_SMALLICON previously declared as a 'Const'

If Not IsDeclared("LVS_SMALLICON") Then Global Const $LVS_SMALLICON = 0x0002 ;WAS Const

anyideas?

EDIT

or is this one that works with the very latest beta?

Here's it is with the corrections to that, also set Global $szCurrentPath = @WindowsDir

Looks good holger, handy little tool

Thanks,

Gary

http://www.autoitscript.com/fileman/users/gafrost/projects/IconFileScanner.au3

Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

I am still getting an error

C:\Program Files\AutoIt3\SciTE\Defs\Unstable\Au3Check\au3check.dat

C:\programming\iconfilescanner.au3(70,41) : ERROR: GUICtrlRegisterListViewSort(): undefined function.

GUICtrlRegisterListViewSort(-1, "LVSort")

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

Any ideas?

All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Link to comment
Share on other sites

I am still getting an error

C:\Program Files\AutoIt3\SciTE\Defs\Unstable\Au3Check\au3check.dat

C:\programming\iconfilescanner.au3(70,41) : ERROR: GUICtrlRegisterListViewSort(): undefined function.

GUICtrlRegisterListViewSort(-1, "LVSort")

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

Any ideas?

Make sure you have the latest Scite and Au3Check

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

Make sure you have the latest Scite and Au3Check

I will have to do that, as I am sure that I do not have the latest. It is around a month, since I joined this forum. Thanks for your help.

All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Link to comment
Share on other sites

  • 1 month later...

Hello Holger

I'm just about to log off tonight, so haven't tested your prog yet - sounds good!

Thought you may be interested in my update to Lazycat's Icon Browser, an earlier post of mine forgot to mention, the right-click SendTo ability, and I've fixed some bugs.

Autoit Programmer's Aids

http://www.autoitscript.com/forum/index.php?showtopic=25084

I like much of what you've done here & elsewhere, your efforts are really appreciated!

KEEP UP THE GOOD WORK!!

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to comment
Share on other sites

  • 2 months later...
  • 4 weeks later...

I ran across this again and tried to get it installed - got errors using gafrost's code

C:\Program Files\AutoIt3\IconFileScanner.au3(70,41) : ERROR: GUICtrlRegisterListViewSort(): undefined function.

All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Link to comment
Share on other sites

I ran across this again and tried to get it installed - got errors using gafrost's code

C:\Program Files\AutoIt3\IconFileScanner.au3(70,41) : ERROR: GUICtrlRegisterListViewSort(): undefined function.

Runs fine for me with 3.1.1.133, had to comment out a few variables, but it works.

;~ If Not IsDeclared("LVS_SMALLICON")                   Then Global Const $LVS_SMALLICON                = 0x0002
;~ If Not IsDeclared("LVS_LIST")                        Then Global Const $LVS_LIST                     = 0x0003
;~ If Not IsDeclared("LVM_SETEXTENDEDLISTVIEWSTYLE")    Then Global Const $LVM_SETEXTENDEDLISTVIEWSTYLE = 0x1036
;~ If Not IsDeclared("LVM_SETCOLUMNWIDTH")              Then Global Const $LVM_SETCOLUMNWIDTH           = 0x101E
;~ If Not IsDeclared("LVM_GETHEADER")                   Then Global Const $LVM_GETHEADER                = 0x101F
If Not IsDeclared("LVM_SETCOLUMN")                  Then Global Const $LVM_SETCOLUMN                = 0x101A
;~ If Not IsDeclared("LVCF_FMT")                        Then Global Const $LVCF_FMT                     = 0x0001
;~ If Not IsDeclared("LVCFMT_RIGHT")                    Then Global Const $LVCFMT_RIGHT                 = 0x0001
;~ If Not IsDeclared("LVS_EX_GRIDLINES")                Then Global Const $LVS_EX_GRIDLINES             = 0x00000001

;~ Global Const $LVFI_PARAM            = 0x0001
;~ Global Const $LVIF_TEXT             = 0x0001
;~ Global Const $LVM_FIRST             = 0x1000
Global Const $LVM_GETITEM           = $LVM_FIRST + 5
Global Const $LVM_FINDITEM          = $LVM_FIRST + 13
;~ Global Const $LVM_SETSELECTEDCOLUMN = $LVM_FIRST + 140

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

I just realized - I have a different version at work than at home.

Does anyone remember that post about running AutoIT on a USB drive?

All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Link to comment
Share on other sites

I just realized - I have a different version at work than at home.

Does anyone remember that post about running AutoIT on a USB drive?

I have upgraded my work computer

still getting error

C:\Program Files\AutoIt3\beta\Include\IconFileScanner.au3(70,41) : ERROR: GUICtrlRegisterListViewSort(): undefined function.

GUICtrlRegisterListViewSort(-1, "LVSort")

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\Program Files\AutoIt3\beta\Include\IconFileScanner.au3 - 1 error(s), 0 warning(s)

3.1.1.133>AutoIT3.exe ended.

All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Link to comment
Share on other sites

I have upgraded my work computer

still getting error

C:\Program Files\AutoIt3\beta\Include\IconFileScanner.au3(70,41) : ERROR: GUICtrlRegisterListViewSort(): undefined function.

GUICtrlRegisterListViewSort(-1, "LVSort")

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\Program Files\AutoIt3\beta\Include\IconFileScanner.au3 - 1 error(s), 0 warning(s)

3.1.1.133>AutoIT3.exe ended.

You getting that error from Au3Check?

You might need to make sure you have the latest SciTE etc... also

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

  • 2 weeks later...

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...