AutoHotkey Community

It is currently May 27th, 2012, 6:31 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: September 12th, 2009, 1:26 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Joy2DWorld wrote:
glanced at code but did not see, is there a reason is placing only lo-res version of icons ?

You can check Appbar sample to see how I put hi-res icons in the toolbar using custom IL module. This sample is not intended to demonstrate how to show hi res icons, but how to extract icon information and send click to icons. Thats why you get different sort of icons in the GUI.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
PostPosted: March 19th, 2011, 9:59 am 
Hi majkinetor and all.

I am trying to work out a nice way for the user to get a text list of all trey icon items, select one from a list view, and then go to a button for left click (or for right click)

I found the tray module - which seems to offer some hope of being able to do this reliably... I wondered if you might give some advice or suggest a way to do what I am wanting to do...

Basically, it would be:
* User presses a given hotkey shortcut and a standard list view would open on the screen
* The list view would have each tray icon (the text could be whatever meaningful label was available - either the tooltip or a label provided by the app, or untitled if none available).
* the user can scroll through the list to whichever item they want.
* the user can tab to a button for left click (which would be the default action on pressing enter) or to a right click button.
* There would be a cancel button also (esc would do this as well)
* If the user selects to left click or right click, the list view disappears and keyboard focus is moved to the tray where the given left or right click action is taken and the user can proceed from there
* Cancel (esc) would also end the script with no action taken and the list view would disappear.

Any advice and help on this would be appreciated.

Mat.


Report this post
Top
  
Reply with quote  
 Post subject: is this thread dead?
PostPosted: April 27th, 2011, 3:43 am 
Hey guys... its been a while since something was posted here... wondered if the thread is dead and we need to look elsewhere now to discuss tray stuff as it relates to autohotkey?stuff


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 27th, 2011, 2:34 pm 
Offline

Joined: June 7th, 2008, 6:00 am
Posts: 389
majkinetor, just allow me to, once again, thank you for the many modules, scripts, and examples you continually provide for this forum. Your scripts are a fantastic help and your excellent documentation and support are also great!

_________________
Image
[Functions] Wicked's Collection Of Functions - Check it out!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 27th, 2011, 4:30 pm 
I noticed majkinetor has been MIA (Missing In Action) for quite a while? Am I mistaken?

Image :lol:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 17th, 2011, 9:17 am 
Reading this script I've noticed several problems:

1. It uses the dll function PrivateExtractIcons which "is not intended for general use. It may be altered or unavailable in subsequent versions of Windows"
see msdn

2. It doesn't take into account character codification and so tooltips dont display anything or just the first character or else display gibberish

3. It uses double derefs incorreclty in the function "Tray" and so all variables end up being globals (which is not the intended behavior) see this topic


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 29th, 2012, 12:27 pm 
Offline

Joined: October 11th, 2010, 12:30 pm
Posts: 406
Hi majkinetor, it's a great script, thanks a lot for your contributions. I want to extract tray icons by grabbing their handles, though I looked for it I couldn't find a way on AHK or I missed it. Is this possible for your script? How can I get handle of an icon and exract it to desktop? It turns out to be an obsession for me:) I hope you post a solution. Thanks.
Edit: Somehow I found a solution I think. Solved


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: Apollo and 24 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