AutoHotkey Community

It is currently May 25th, 2012, 6:53 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 185 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 13  Next
Author Message
 Post subject:
PostPosted: August 14th, 2007, 6:43 pm 
Offline

Joined: July 11th, 2005, 10:13 pm
Posts: 108
Location: Germany
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 15th, 2007, 9:23 pm 
Offline

Joined: March 19th, 2007, 12:43 am
Posts: 532
Quote:
my next release will be an ".exe"- and ".7z"-archive just for you

huh, never mind, i'll pass with this program :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 18th, 2007, 12:36 pm 
Offline

Joined: June 7th, 2007, 1:33 pm
Posts: 1019
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 23rd, 2007, 9:12 pm 
Offline

Joined: July 11th, 2005, 10:13 pm
Posts: 108
Location: Germany
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 :lol:

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.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: August 27th, 2007, 8:58 pm 
Offline

Joined: July 11th, 2005, 10:13 pm
Posts: 108
Location: Germany
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 :arrow: 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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 4th, 2007, 6:35 am 
Offline

Joined: September 2nd, 2007, 1:56 am
Posts: 15
Location: urban india = hell
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! :(


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 4th, 2007, 5:57 pm 
Offline

Joined: July 11th, 2005, 10:13 pm
Posts: 108
Location: Germany
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 :shock:

Junyx

_________________
C.R.E.A.M.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 5th, 2007, 5:44 am 
Offline

Joined: September 2nd, 2007, 1:56 am
Posts: 15
Location: urban india = hell
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 6th, 2007, 6:27 pm 
Offline

Joined: July 11th, 2005, 10:13 pm
Posts: 108
Location: Germany
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 7th, 2007, 9:49 am 
Offline

Joined: September 2nd, 2007, 1:56 am
Posts: 15
Location: urban india = hell
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 7th, 2007, 6:40 pm 
Offline

Joined: July 11th, 2005, 10:13 pm
Posts: 108
Location: Germany
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 :P
today i like scripting languages a lot more (Python, AHK, Bash).

Junyx

_________________
C.R.E.A.M.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 8th, 2007, 2:26 am 
Offline

Joined: September 2nd, 2007, 1:56 am
Posts: 15
Location: urban india = hell
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 8th, 2007, 7:59 pm 
Offline

Joined: July 11th, 2005, 10:13 pm
Posts: 108
Location: Germany
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 9th, 2007, 12:25 pm 
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


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 29th, 2007, 7:22 pm 
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!


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 185 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 13  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], fragman, Google [Bot], Google Feedfetcher, Relayer and 3 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