Jump to content



Photo

IconFileScanner


  • Please log in to reply
32 replies to this topic

#1 Holger

Holger

    AutoIt Spammer

  • Developers
  • 1,384 posts

Posted 26 August 2005 - 12:03 AM

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)

Attached Files


Edited by Holger, 21 July 2007 - 07:44 PM.






#2 therks

therks

    Witty quote

  • Active Members
  • PipPipPipPipPipPip
  • 2,163 posts

Posted 26 August 2005 - 11:20 PM

Wow! Very very cool. Really nice work Holger. Can I make one teeny suggestion? Place something like a "Go" button between the Path bar and the Folder button, so that you can type in your destination instead of using the file select dialog.

Path: [_____________] [Go] [Folder]

#3 LxP

LxP

    Real satisfaction in every glass.

  • Active Members
  • PipPipPipPipPipPip
  • 1,619 posts

Posted 27 August 2005 - 02:16 AM

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. :">

#4 Holger

Holger

    AutoIt Spammer

  • Developers
  • 1,384 posts

Posted 27 August 2005 - 03:17 AM

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, 27 August 2005 - 03:19 AM.


#5 Holger

Holger

    AutoIt Spammer

  • Developers
  • 1,384 posts

Posted 19 March 2006 - 11:16 PM

Updated:
- updated to work with current beta
- a small addition to auto 'refresh' the icons-listview

#6 nitekram

nitekram

    Ng1-Nf3

  • Active Members
  • PipPipPipPipPipPip
  • 1,625 posts

Posted 20 March 2006 - 12:21 AM

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, 20 March 2006 - 12:22 AM.


#7 GaryFrost

GaryFrost

    I don't need your attitude. I have one of my own

  • Developers
  • 7,854 posts

Posted 20 March 2006 - 01:19 AM

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, 19 September 2006 - 02:19 AM.

SciTE for AutoItDirections for Submitting Standard UDFs

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


#8 slightly_abnormal

slightly_abnormal

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 513 posts

Posted 20 March 2006 - 03:16 AM

this is cool.. i'm sure you thought of this already but any chance well be able to save these icons?

#9 nitekram

nitekram

    Ng1-Nf3

  • Active Members
  • PipPipPipPipPipPip
  • 1,625 posts

Posted 20 March 2006 - 03:33 AM

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?

#10 GaryFrost

GaryFrost

    I don't need your attitude. I have one of my own

  • Developers
  • 7,854 posts

Posted 20 March 2006 - 03:51 AM

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.


#11 nitekram

nitekram

    Ng1-Nf3

  • Active Members
  • PipPipPipPipPipPip
  • 1,625 posts

Posted 20 March 2006 - 03:58 AM

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.

#12 busysignal

busysignal

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 348 posts

Posted 21 March 2006 - 07:25 AM

Nice work! The GUI display is very cool... Kudos!!!

Cheers.. :)

#13 TheSaint

TheSaint

    *** Knight Templar ***

  • MVPs
  • 4,005 posts

Posted 25 April 2006 - 06:30 PM

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!Ignoring those who try to divert conversation with irrelevancies.If I put effort into communication, I expect you to read properly & fully, or just not comment.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

#14 =sinister=

=sinister=

    Whoo Custom Title!

  • Active Members
  • PipPipPipPipPipPip
  • 710 posts

Posted 16 July 2006 - 04:00 AM

Could you get it so it downloads the icons from programs?

#15 nitekram

nitekram

    Ng1-Nf3

  • Active Members
  • PipPipPipPipPipPip
  • 1,625 posts

Posted 10 August 2006 - 07:23 PM

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.

#16 GaryFrost

GaryFrost

    I don't need your attitude. I have one of my own

  • Developers
  • 7,854 posts

Posted 10 August 2006 - 07:36 PM

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.


#17 nitekram

nitekram

    Ng1-Nf3

  • Active Members
  • PipPipPipPipPipPip
  • 1,625 posts

Posted 10 August 2006 - 07:44 PM

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?

#18 nitekram

nitekram

    Ng1-Nf3

  • Active Members
  • PipPipPipPipPipPip
  • 1,625 posts

Posted 11 August 2006 - 03:14 PM

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.

#19 GaryFrost

GaryFrost

    I don't need your attitude. I have one of my own

  • Developers
  • 7,854 posts

Posted 11 August 2006 - 03:15 PM

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.


#20 Fargo

Fargo

    Seeker

  • Active Members
  • 31 posts

Posted 21 August 2006 - 07:29 PM

I got the following error:

C:\autoit\forum\IconScanner.au3 (23) : ==> Can not redeclare a constant.: Global Const $LVFI_PARAM            = 0x0001 Global Const ^ ERROR





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users