| View previous topic :: View next topic |
| Author |
Message |
majkinetor
Joined: 24 May 2006 Posts: 4511 Location: Belgrade
|
Posted: Sat Sep 12, 2009 12:26 pm Post subject: |
|
|
| 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. _________________
 |
|
| Back to top |
|
 |
Guest
|
Posted: Sat Mar 19, 2011 8:59 am Post subject: text list view of all tray icons for selection |
|
|
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. |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Apr 27, 2011 2:43 am Post subject: is this thread dead? |
|
|
| 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 |
|
| Back to top |
|
 |
Wicked
Joined: 07 Jun 2008 Posts: 369
|
Posted: Wed Apr 27, 2011 1:34 pm Post subject: |
|
|
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! _________________
[Functions] Wicked's Collection Of Functions - Check it out! |
|
| Back to top |
|
 |
Funny_Monster_Teddy Guest
|
Posted: Wed Apr 27, 2011 3:30 pm Post subject: |
|
|
I noticed majkinetor has been MIA (Missing In Action) for quite a while? Am I mistaken?
 |
|
| Back to top |
|
 |
Guest
|
Posted: Tue May 17, 2011 8:17 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
kenn
Joined: 11 Oct 2010 Posts: 284
|
Posted: Sun Jan 29, 2012 11:27 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
|