Pitaschio pode fazer isso e muito mais:
- Snap a window to other windows when moving and resizing
- Restrict a window position to inside of the screen
- Always keep a window above all other windows
- Minimize a window to the system tray
- Use small icons in the desktop
- Disable Windows key, Insert key, Alt key etc.
- Lock the mouse or keyboard while cleaning them
- Take statistics about mouse and keyboard
- Calculate Moon's age
- Control the sound volume using the mouse wheel
- Display the sound volume level on the screen
OPitaschioéfreeware.
Sevocêquiserqueapenasapartesuperiordatelasejaumlimite,useas
Para obter a posição da janela ativa e armazená-la nas variáveis X e Y:
WinGetPos, X, Y, , , A
se a janela que você está movendo sair do limite superior (valor negativo para Y), chame o WinMove:
WinGetTitle, Title, A ; get its title
WinMove, %Title% , , %X%, 0 ; leave X value alone, modify Y