 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Junyx
Joined: 11 Jul 2005 Posts: 84 Location: Germany
|
Posted: Tue Aug 14, 2007 6:43 pm Post subject: |
|
|
| azure wrote: | | can you please also include the ability to remember settings for specific windows (eg 'on top', etc) and trigger them automaticaly |
have to think about this (how and where to implement it).
i.e.: via StartupMinimize or via minimized icon of the application's window?
any suggestions?
Junyx _________________ C.R.E.A.M. |
|
| Back to top |
|
 |
neXt
Joined: 19 Mar 2007 Posts: 367
|
Posted: Wed Aug 15, 2007 9:23 pm Post subject: |
|
|
| Quote: |
my next release will be an ".exe"- and ".7z"-archive just for you
|
huh, never mind, i'll pass with this program  |
|
| Back to top |
|
 |
azure
Joined: 07 Jun 2007 Posts: 296
|
Posted: Sat Aug 18, 2007 12:36 pm Post subject: |
|
|
in addition can you make it remember window positions and state (on top, etc) and size and autoadjust them whenever a window is created
thanks |
|
| Back to top |
|
 |
Junyx
Joined: 11 Jul 2005 Posts: 84 Location: Germany
|
Posted: Thu Aug 23, 2007 9:12 pm Post subject: |
|
|
| azure wrote: | | in addition can you make it remember window positions and state (on top, etc) and size and autoadjust them whenever a window is created |
well, you will be able to set position, size, on-top, no-buttons etc. manually.
all these settings will be assigned to the window either on startup or when the window is (un-)minimized via TriggerActions.
this should suit your needs almost perfectly - except for that Min2Tray doesn't do all this stuff "automagically" - you as user will have to provide the values for i.e. position and size. but that should be peanuts for smart guys as we all are
expect the new and shiny v1.7.3 to be put out soon - currently only some translation stuff is still in the works.
Junyx _________________ C.R.E.A.M. |
|
| Back to top |
|
 |
Junyx
Joined: 11 Jul 2005 Posts: 84 Location: Germany
|
Posted: Mon Aug 27, 2007 8:58 pm Post subject: Min2Tray v1.7.3 - new version! leech it now! for free! |
|
|
another new release.
took some time since the last one, but alas...
(btw, Min2Tray does exist for over two years now. and i still support it. yeah!)
go to the topmost message for more info and download!
please test it thoroughly and file bug reports.
suggestions/requests for new features are welcome.
if you want to know how to utilize a feature of Min2Tray, don't hesitate to ping me here in the forum.
Junyx _________________ C.R.E.A.M. |
|
| Back to top |
|
 |
yogi
Joined: 02 Sep 2007 Posts: 7 Location: urban india = hell
|
Posted: Tue Sep 04, 2007 6:35 am Post subject: |
|
|
Hi there, this is a nice application.
But I am my own boss, so I wanted to use this in a slightly different way
Is it possible to simply remove & bring back the entire system tray by means of toggling some hotkey?
This would be nice to have because I just want to use that area of the taskbar for more windows!
I tried this -
| Code: | ControlGetPos ,,, Width,, ToolbarWindow321, ahk_class Shell_TrayWnd
ControlMove, ToolbarWindow321,,,1,,ahk_class Shell_TrayWnd
sleep, 5000
ControlMove, ToolbarWindow321,,,Width,,ahk_class Shell_TrayWnd
|
But this only hides all the icons (same as a hide command to the tray), but the width of the tray remains as it is!  |
|
| Back to top |
|
 |
Junyx
Joined: 11 Jul 2005 Posts: 84 Location: Germany
|
Posted: Tue Sep 04, 2007 5:57 pm Post subject: |
|
|
| yogi wrote: | | Hi there, this is a nice application. |
thank you.
| yogi wrote: | But I am my own boss, so I wanted to use this in a slightly different way |
you are a lucky man being your own boss...
| yogi wrote: | | Is it possible to simply remove & bring back the entire system tray by means of toggling some hotkey? |
you can't do this with Min2Tray (yet?).
but M2T can be configured to not show any icons of its own.
this will reduce the space needed by the tray.
i'll investigate in this issue (letting disappear the tray) tomorrow - at work
Junyx _________________ C.R.E.A.M. |
|
| Back to top |
|
 |
yogi
Joined: 02 Sep 2007 Posts: 7 Location: urban india = hell
|
Posted: Wed Sep 05, 2007 5:44 am Post subject: |
|
|
Hi Junyx, thanks for the quick reply!
I wanted to tell you that this functionality is there in a software called Tray Wizard version 4.02
(in its settings I have to set the hotkeys for hiding every tray icon to a single key...thus I can toggle the entire system tray using 1 key)
This application is no longer developed & it is not online in most places. I found it somehow, but I did not save the url!! So if you want me to send it to you in case you want to see it working, then please tell me!
(It was an exe file but of course I extracted it using universal extractor
About being my own boss, I meant that I no longer feel tempted to use chat, etc as I used to before....I'll be my own boss when I move into organic farming But that is a few years away.
~yogi |
|
| Back to top |
|
 |
Junyx
Joined: 11 Jul 2005 Posts: 84 Location: Germany
|
Posted: Thu Sep 06, 2007 6:27 pm Post subject: |
|
|
Hi yogi!
i spent some time trying different ideas.
this one worked for me on WinXP:
| Code: | ;
; this script hides the tray notification area
; and expands the space for the task bar (running programs)
;
; Shell_TrayWnd aka task bar from left to right (on WinXP):
; Button1, ToolbarWindow323, ReBarWindow321 ( ToolbarWindow322 ),
; TrayNotifyWnd1 ( Button2, ToolbarWindow321, TrayClockWClass1 )
;
ControlGetPos, , , trayWidth, , TrayNotifyWnd1 , ahk_class Shell_TrayWnd
ControlGetPos, , , cWidth, , ReBarWindow321, ahk_class Shell_TrayWnd
ControlMove, ReBarWindow321, , , (cWidth + trayWidth), , ahk_class Shell_TrayWnd
Control, Hide, , TrayNotifyWnd1, ahk_class Shell_TrayWnd
Sleep, 20000
ControlMove, ReBarWindow321, , , cWidth, , ahk_class Shell_TrayWnd
Control, Show, , TrayNotifyWnd1, ahk_class Shell_TrayWnd
|
Junyx _________________ C.R.E.A.M. |
|
| Back to top |
|
 |
yogi
Joined: 02 Sep 2007 Posts: 7 Location: urban india = hell
|
Posted: Fri Sep 07, 2007 9:49 am Post subject: |
|
|
hi junyx, this is interesting!
it worked for the first time and I was very happy -- but when I ran the script again, it hides the tray for just 1 second & the tray comes back, while the script is still running (ie executing the sleep line of code).
I wonder what happened?
Did you run it multiple times on xp to see if it hides every time for the entire 20 seconds ???
I also found this other program - check out a forum post plus the link to it. It seems ok but it says it must be run before logon, which I dont want (I want something portable like your application)
It also has the source code (if you know C++, which I dont :(
Here -
[url]http://www.portablefreeware.com/forums/viewtopic.php?t=1965&highlight=traysaver[/url] _________________ no fate but what we make |
|
| Back to top |
|
 |
Junyx
Joined: 11 Jul 2005 Posts: 84 Location: Germany
|
Posted: Fri Sep 07, 2007 6:40 pm Post subject: |
|
|
i made a quick check with this toggle-script and some programs i started after hiding the tray:
| Code: | #t::
If ( tray_hidden ) {
ControlMove, ReBarWindow321, , , cWidth, , ahk_class Shell_TrayWnd
Control, Show, , TrayNotifyWnd1, ahk_class Shell_TrayWnd
tray_hidden := False
}
Else {
ControlGetPos, , , trayWidth, , TrayNotifyWnd1 , ahk_class Shell_TrayWnd
ControlGetPos, , , cWidth, , ReBarWindow321, ahk_class Shell_TrayWnd
ControlMove, ReBarWindow321, , , (cWidth + trayWidth), , ahk_class Shell_TrayWnd
Control, Hide, , TrayNotifyWnd1, ahk_class Shell_TrayWnd
tray_hidden := True
}
Return
|
once a program starts that will display a tray icon, the tray will be automatically un-hidden by windows. right now, there is not much i could do about it.
you could circumvent this unwanted behaviour by checking (e.g. with a timer) if the tray is visible again and then hide it again.
perhaps there is someone out there with another good approach to this problem?
i am no wiz when it comes to reading C, so the source of "traysaver" doesn't help me... sorry.
back in the days i did some assembler coding on my beloved Amiga, but those times are long gone... sweet memory
today i like scripting languages a lot more (Python, AHK, Bash).
Junyx _________________ C.R.E.A.M. |
|
| Back to top |
|
 |
yogi
Joined: 02 Sep 2007 Posts: 7 Location: urban india = hell
|
Posted: Sat Sep 08, 2007 2:26 am Post subject: |
|
|
It does not work with a timer either, because the tray comes back in less than a second after being hidden. I tried to write a loop which will hide the tray 5 times every 2 seconds. And the same thing happens :(
I think maybe this cannot work in windows 2000? :(:(
Let's hope someone else may read this discussion & have an answer!
Thanks again for all the help!!!
:)
yogi _________________ no fate but what we make |
|
| Back to top |
|
 |
Junyx
Joined: 11 Jul 2005 Posts: 84 Location: Germany
|
Posted: Sat Sep 08, 2007 7:59 pm Post subject: |
|
|
one last idea:
instead of
| Code: | | Control, Show, , TrayNotifyWnd1, ahk_class Shell_TrayWnd |
try to use
| Code: | | ControlMove, TrayNotifyWnd1, , , 0, , ahk_class Shell_TrayWnd |
so even when windows will display the tray it will have a width of zero.
couldn't verify if it will work out as expected, but give it a try.
Junyx _________________ C.R.E.A.M. |
|
| Back to top |
|
 |
Guest
|
Posted: Sun Sep 09, 2007 12:25 pm Post subject: |
|
|
| Junyx wrote: | one last idea:
instead of
| Code: | | Control, Show, , TrayNotifyWnd1, ahk_class Shell_TrayWnd |
try to use
| Code: | | ControlMove, TrayNotifyWnd1, , , 0, , ahk_class Shell_TrayWnd |
so even when windows will display the tray it will have a width of zero.
couldn't verify if it will work out as expected, but give it a try.
Junyx |
I tried....it does not work
But I really appreciate all your help! You were very kind to take the time to try & make it work.
Who knows maybe you'll find a day in the future
Have a good weekend!
~yogi |
|
| Back to top |
|
 |
ccomp Guest
|
Posted: Sat Sep 29, 2007 7:22 pm Post subject: |
|
|
Hi! I love your program but I need some help.
I use your program at home but I would like to use it for work purposes. Your program has alot of nice and useful features. However at work I would not want people to have this many features as the BossKey is not very good for me considering I'm the boss =)
I would like to know if you can point me to the part where you just minimize the window.
thanks! |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|