AutoHotkey Community

It is currently May 26th, 2012, 1:33 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: [module] IconEx v2.0
PostPosted: March 7th, 2007, 8:47 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade



    Image
    Image


_________________
Image


Last edited by majkinetor on July 11th, 2009, 10:00 pm, edited 18 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 20th, 2007, 9:32 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
New version. Polished and with new options. See docs.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 20th, 2007, 10:00 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
I'm curious, how different is this to toralfs Icon Viewer Lite? Also isn't there a real common dialog for viewing icons like the one below?

Image

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 20th, 2007, 10:03 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Quote:
I'm curious, how different is this to toralfs Icon Viewer Lite?
That is script, this is closed function that you can use (see "module" above ?). I used it as a bases for this work. They function quite differently now.

Quote:
Also isn't there a real common dialog for viewing icons like the one below?

That is system dialog, CmnDlg_ChooseIcon which is so basic that you may want replacement, like ChooseIconEx, for more control and better UI.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 20th, 2007, 10:25 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5347
Location: UK
majkinetor wrote:
...I used it as a bases for this work.
Yet you chose an attribution license for this script, don't you think that's a little bit selfish?

majkinetor wrote:
you may want replacement, like ChooseIconEx, for more control and better UI.
Actually I think your one is simpler as it has a less cluttered UI, which is always better. Thanks.

_________________
GitHubScriptsIronAHK Contact by email not private message.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 20th, 2007, 10:32 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Quote:
Yet you chose an attribution license for this script, don't you think that's a little bit selfish?

Ofcourse, this has nothing to do with toralfs work anymore. Almost every line is my work and entire structure is my own.
Fell free to compare scripts any time.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 21st, 2007, 10:57 am 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
In v1.01 one bug is fixed and as a side-effect, folder scanning is a bit faster and icons look really good now (previously, many icons did look awful)

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 21st, 2007, 9:27 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
v1.5

- Now u can specify icon size. Any size.
- 100% increse in speed.
- Icons look much better
- Some bugs fixed.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 22nd, 2007, 7:08 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
v 1.53
- Artificial parameter pParent removed. Now dialog automaticaly detects default GUi and returns it back afterwards.
- Some other small changes and fixes.
- Code 100% self contained and it can't affect parent script in any way. You can use it like any OS dialog.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 11th, 2009, 9:59 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
v 2.0
- All globals removed.
- Code optimisation, bug fixes and small additions.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 2nd, 2010, 10:58 pm 
Offline

Joined: November 20th, 2008, 6:00 pm
Posts: 72
Location: Thionville, France
Thank you, I needed something like this.

I noticed your code contains labels, this means that the script can be included only after auto-execute section. Wouldn't it be a good idea to embed these in a function so that the script can be included anywhere in a script (I usually include everything at the beginning of my scripts :) ) ?

I also thought maybe you could add SHAutocomplete functionality to the path field.

Other than that, I have been trying for a while to write a function that extracts an icon from a container when given the path of the container and the index of the icon (basically its position among other icons in the container). I somewhat managed to do that, using some code from SKAN's IconEx v1.0 but it doesn't work with named icon resources. I know ResHack does this, but I find it quite slow compared with a function, among other disadvantages.
Would you know how to do it?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 3rd, 2010, 12:16 am 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Quote:
Wouldn't it be a good idea to embed these in a function so that the script can be included anywhere in a script

Its a good idea, however, it didn't cross my mind back then since I always include at the end.

Quote:
I also thought maybe you could add SHAutocomplete functionality to the path field.

I don't plan to further improve this function at this moment. However, anybody is free to do so. More important thing should be done first IMO to improve usability with folders containing large number of icons - always showing the icons from the visible screen section as priority and loading the rest of them in the background.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 16th, 2010, 11:13 am 
Offline

Joined: September 10th, 2009, 5:54 pm
Posts: 203
Hello majkinetor,

This doesn't seem to work on Ahk_L, and when I tried it on the older version of Ahk, it works, but it doesn't index the right number, its like its always -1 of the right index number.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 17th, 2010, 4:26 pm 
I'll check it out when I find time. I never used this since AHK_L was out.


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Stigg and 20 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