AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[module] IconEx v2.0

 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
majkinetor



Joined: 24 May 2006
Posts: 4250
Location: Belgrade

PostPosted: Wed Mar 07, 2007 8:47 pm    Post subject: [module] IconEx v2.0 Reply with quote








_________________


Last edited by majkinetor on Sat Jul 11, 2009 10:00 pm; edited 18 times in total
Back to top
View user's profile Send private message
majkinetor



Joined: 24 May 2006
Posts: 4250
Location: Belgrade

PostPosted: Thu Dec 20, 2007 9:32 pm    Post subject: Reply with quote

New version. Polished and with new options. See docs.
_________________
Back to top
View user's profile Send private message
polyethene



Joined: 11 Aug 2004
Posts: 5154
Location: /b/

PostPosted: Thu Dec 20, 2007 10:00 pm    Post subject: Reply with quote

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?


_________________
Chat (IRC)PlusNetScriptsIronAHK Contact by email not private message.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
majkinetor



Joined: 24 May 2006
Posts: 4250
Location: Belgrade

PostPosted: Thu Dec 20, 2007 10:03 pm    Post subject: Reply with quote

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.
_________________
Back to top
View user's profile Send private message
polyethene



Joined: 11 Aug 2004
Posts: 5154
Location: /b/

PostPosted: Thu Dec 20, 2007 10:25 pm    Post subject: Reply with quote

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.
_________________
Chat (IRC)PlusNetScriptsIronAHK Contact by email not private message.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
majkinetor



Joined: 24 May 2006
Posts: 4250
Location: Belgrade

PostPosted: Thu Dec 20, 2007 10:32 pm    Post subject: Reply with quote

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.
_________________
Back to top
View user's profile Send private message
majkinetor



Joined: 24 May 2006
Posts: 4250
Location: Belgrade

PostPosted: Fri Dec 21, 2007 10:57 am    Post subject: Reply with quote

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)
_________________
Back to top
View user's profile Send private message
majkinetor



Joined: 24 May 2006
Posts: 4250
Location: Belgrade

PostPosted: Fri Dec 21, 2007 9:27 pm    Post subject: Reply with quote

v1.5

- Now u can specify icon size. Any size.
- 100% increse in speed.
- Icons look much better
- Some bugs fixed.
_________________
Back to top
View user's profile Send private message
majkinetor



Joined: 24 May 2006
Posts: 4250
Location: Belgrade

PostPosted: Sat Dec 22, 2007 7:08 pm    Post subject: Reply with quote

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.
_________________
Back to top
View user's profile Send private message
majkinetor



Joined: 24 May 2006
Posts: 4250
Location: Belgrade

PostPosted: Sat Jul 11, 2009 9:59 pm    Post subject: Reply with quote

v 2.0
- All globals removed.
- Code optimisation, bug fixes and small additions.
_________________
Back to top
View user's profile Send private message
Yook



Joined: 20 Nov 2008
Posts: 64
Location: Thionville, France

PostPosted: Sun May 02, 2010 10:58 pm    Post subject: Reply with quote

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 Smile ) ?

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?
Back to top
View user's profile Send private message
majkinetor



Joined: 24 May 2006
Posts: 4250
Location: Belgrade

PostPosted: Mon May 03, 2010 12:16 am    Post subject: Reply with quote

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.
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group