Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate

WinSize2: Move and Resize windows on Screen


  • Please log in to reply
10 replies to this topic
Magra19
  • Guests
  • Last active:
  • Joined: --
You can download WinSize2 from
https://sourceforge....jects/winsize2/

The capabilities of WinSize2 are: :D

• Learn and store position and size of any window
• Identifying the window according to the title or parts of the title
• Moving to a predefined place
• Changing the size of a window according to learned
• Option: Always on Top
• One hotkey to manage the program
• Insert / Overwrite / Delete store window parameter
(Teach in = learn parameters of actual window)
• Multi language support
• Changing parameters of the stored windows
• Changing parameters of WinSize2
• Handbook in English and German

Your favorite editor always positions its "Search" window over the text. Your program to edit pictures, videos or documents sizes the "Open" dialog optimized to a screen resolution of 800 * 600 pixel - it is so small that you can see only some files in it and of those only half the name: You need a program that moves windows to a place you want to and resizes them. This program is available again (rewritten) after 10 years now: You can download the second edition "WinSize2".

lilalurl.T32
  • Members
  • 391 posts
  • Last active: Jul 05 2011 03:39 PM
  • Joined: 17 May 2007
Nice ideas.

Really useful for those applications whose dialog windows don't remember their sizes/positions.

I was thinking of using it to have all open/save dialogs maximized by default. After all, when I open/save a file I rarely want to look at something else so why not maximize the browser screen estate.
Might need a bit of time to get used to it.


You should edit your post and add one or two screenshots to clearly show what the program can do (as you do in the handbook).

By the way, in the package, there is Handbook Timer EN.pdf. As I don't see that other program among the other files, I guess it is uneeded.

Also, Kopie von inc_WinSizeGui_Param.ahk is probably not needed.
________
Justin Bieber Fan

  • Guests
  • Last active:
  • Joined: --
no sources?

lilalurl.T32
  • Members
  • 391 posts
  • Last active: Jul 05 2011 03:39 PM
  • Joined: 17 May 2007

no sources?


In the source folder of the package at SF.
________
MARIJUANA BUBBLER

tonne
  • Members
  • 1654 posts
  • Last active: May 06 2014 06:22 PM
  • Joined: 06 Jun 2006
It's even possible to 'catch' the window creation without a timer using SKAN's SHELLHOOK example (http://www.autohotke...p=123323#123323):

Only a simple mod of this function:
mActWin_Init( Zeit )
{
	Global

	; msgbox mActWin_Init %Zeit%
	; AWNr_CntEntries := 0
	split_MatchMode := 3	 ; --- Wintitle / 2: contains / 3: exact match
	vTitleTimer =%Zeit%
[color=red]	; Settimer, mActWin_Timer, %Zeit%
[/color]
	
[color=green]    Gui +LastFound
    hWnd := WinExist()

    DllCall( "RegisterShellHookWindow", UInt,hWnd )
    MsgNum := DllCall( "RegisterWindowMessage", Str,"SHELLHOOK" )
    OnMessage( MsgNum, "ShellMessage" )
[/color]

    Return
}
And a new function handling the shellhook:
ShellMessage( wParam,lParam ) {
  If ( wParam = 1 ) ;  HSHELL_WINDOWCREATED := 1
    mActWinFkt()
}


badmojo
  • Members
  • 204 posts
  • Last active: Jul 23 2014 01:39 AM
  • Joined: 11 Nov 2005
quite a good program. is there a way to include Winkey as part of the hot-keys? i'd like to use Win+z instead of Ctrl+Alt+z

Magra19
  • Guests
  • Last active:
  • Joined: --
@badmojo:

i'd like to use Win+z


Change the hotkey on "Special Parameters / Extras"; may be you will have to update to the last version.

@tonne:
Thanks for your hint!!

@lilalurl.T32:
Yes, some files are not needed - thanks.
For screenshots: please have a look at the SourceForge-URL
http://sourceforge.n...group_id=239629

badmojo
  • Members
  • 204 posts
  • Last active: Jul 23 2014 01:39 AM
  • Joined: 11 Nov 2005

@badmojo:

i'd like to use Win+z


Change the hotkey on "Special Parameters / Extras"; may be you will have to update to the last version.


thanks i've made the changes via the INI file but it doesn't show in the GUI settings but the hotkey works though.

here's the screenshot:
Posted Image

WinSize2008
  • Guests
  • Last active:
  • Joined: --
Very useful indeed. This is an excellent app!!! Thanks!!!!!

One question. I have some apps, which do not have visible title bars or are transparent etc. Does Winsize2 support those?

Thanks!

Magra19
  • Members
  • 1 posts
  • Last active: Dec 25 2008 01:36 PM
  • Joined: 25 Dec 2008
Hello,

... apps, which do not have visible title bars or are transparent


Visible, transparent or not visible should be no problem - as long as the property "Title" of the window is set. With some apps like the MS-Win Explorer resizing is a problem because MS changes the title of the explorer with the shown directory.

MRU-windows (like the tables in Excel) cannot be moved at this time.

What does WinSize2 store when you enter 1*Hotkey = insert?
Could you append the INI-file?

MilesAhead
  • Members
  • 578 posts
  • Last active: Feb 29 2016 05:15 PM
  • Joined: 21 Jan 2009
I recently noticed this utility. This is the 2nd day running it on my machines. Looks nicely done. I like the simplicity of use.

Thanks for the program. :)