AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

WindowPad - multi-monitor window-moving tool
Goto page Previous  1, 2, 3 ... 10, 11, 12 ... 15, 16, 17  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Hubauer



Joined: 18 Dec 2008
Posts: 2
Location: Germany

PostPosted: Wed Feb 04, 2009 6:30 am    Post subject: Reply with quote

It worked. It is easier than I thought.

Thanks a lot for your quick response and help
Back to top
View user's profile Send private message
JaseF_Is_Guesting
Guest





PostPosted: Wed Feb 18, 2009 11:45 pm    Post subject: Feature Queries/Request Reply with quote

Hi All!

Yay for Lexicos, WindowPad & AHK!!! Thanks as always.

I'm wondering if it is possible to move windows to the next/previous monitor without resizing them? (ie: the default behavior of say Caps/Space changes the monitor from Max'ed mode to windowed, swaps monitor and then max's again)

I ask because I've been using Ultramon which (has been crashing hence why I'm here; but also) seems to nail the speed hard! And now I've been spoilt!

Secondly, is there also any way to setup a keycomobo to a 'large' window; Ie: Res of monitor -2 pixels per edge? I hate it when my browser puts itself (or I put it) in Window mode and its all squished. EEEeeep nyark tasting :shakes tongue:

Thanks fer readin
Back to top
Lexikos



Joined: 17 Oct 2006
Posts: 4465
Location: Qld, Australia

PostPosted: Thu Feb 19, 2009 8:54 am    Post subject: Reply with quote

Quote:
I'm wondering if it is possible to move windows to the next/previous monitor without resizing them?
WindowPad does not provide that, but it should be easy to add. The following code from WindowScreenMove() determines whether the window will be resized, then calculates its new size:
Code:
    if (IsResizable()) {
        w := Round(w*(mdw/msw))
        h := Round(h*(mdh/msh))
    }
If you want windows to always be moved between screens without resizing, simply remove that section. To selectively disable resizing, add a condition to the if().
Quote:
Secondly, is there also any way to setup a keycomobo to a 'large' window;

Merge something like (one or more of) the following with your WindowPad.ini:
Code:
[Hotkeys]
#NumpadSub = WindowPadMove, 0, 0, 1.0, 1.0

[Hotkeys: Active Window (WADS)]
f = WindowPadMove, 0, 0, 1.0, 1.0

[Hotkeys: Active Window (Numpad)]
*NumpadSub = WindowPadMove, 0, 0, 1.0, 1.0
The parameters "0, 0, 1.0, 1.0" mean "centre horizontally, centre vertically, 100% screen width, 100% screen height".
Back to top
View user's profile Send private message Visit poster's website
JaseF_Is_Guesting
Guest





PostPosted: Mon Feb 23, 2009 12:28 am    Post subject: Thanks V. Much :) Reply with quote

Most appreciated
Back to top
DentalTI_KJH



Joined: 23 Feb 2009
Posts: 1
Location: IN

PostPosted: Mon Feb 23, 2009 3:31 am    Post subject: Reply with quote

Just wanted to send out a brief Thank You! Normally, when we set up our Dual Monitors in dental offices, we use an extended desktop via the ATI control panel. Also, we are typically using monitors that are able to handle normal resolutions to move windows back and forth across the screens. We were just doing a setup this evening where the doctor's monitor displays 1280x1024 just fine, but the patient's monitor would not handle this resolution.

The Doctor wishes to move the window with xrays to the patient's monitor to show them areas of concern. Previously, they were using the Nvidia Nview which handles this action with an icon next to the minimize button, but ATI lacks this option. I was using a hot-key to swap display mapping before I increased the resolution to 1280x1024 and this was working just fine because the patient monitor could view the 102x768.

I checked out this script and it works wonderfully! I am even going a step further and using the Gyration mouse with programmable buttons that simulates the hot-key being pressed so they don't even have to interact with the keyboard to send the window to the other screen!
_________________
K. Henseler
Dental Technology Integrators
http://www.dentalti.com
Back to top
View user's profile Send private message
mana
Guest





PostPosted: Wed Feb 25, 2009 4:52 pm    Post subject: Integrate into generic AHK script Reply with quote

Hi all, pls forgive the beginner question. I am trying to integrate this great script into my default AutoHotkey.ahk but I haven't found how to do it.

I copied all files in a folder, then copy/pasted the code in my AutoHotkey.ahk file, then replaced all instances of %A_ScriptDir% with the actual folder location on my drive, but it does not seem to be enough

thanks
Mana
Back to top
Lexikos



Joined: 17 Oct 2006
Posts: 4465
Location: Qld, Australia

PostPosted: Thu Feb 26, 2009 9:59 am    Post subject: Re: Integrate into generic AHK script Reply with quote

Get a fresh copy of WindowPad and copy it into the same directory as your main script. Include this in the auto-execute section of your script:
Code:
WindowPad_Init()
; You may optionally specify the path of the ini file:
; WindowPad_Init("myconfigdir\WindowPad.ini")
...and include the following not in the auto-execute section of your script:
Code:
#Include WindowPad.ahk


WindowPad_Init() must be called for WindowPad to loads its configuration to activate any hotkeys. It should not be necessary to replace %A_ScriptDir%.
Back to top
View user's profile Send private message Visit poster's website
mana



Joined: 25 Feb 2009
Posts: 6

PostPosted: Thu Feb 26, 2009 11:21 am    Post subject: Reply with quote

Fantastic, works now!

Now that you told me, I also moved another script that I had in my AutoHotkey.ahk to an external file

Thanks!
Back to top
View user's profile Send private message
ReflexNPG
Guest





PostPosted: Sat Mar 07, 2009 11:36 pm    Post subject: Reply with quote

i have also some small wishes Very Happy :

Mouse support:
- additional title buttons (for example: max left / right to "maximize" on the half of the screen)
- docking mode while moving the window with middle mouse
- small always on top layout selector window


Great work, thanks!
Back to top
7enderhead



Joined: 21 Oct 2008
Posts: 2

PostPosted: Thu Mar 12, 2009 11:00 am    Post subject: Sizing of Remote Desktop Windows Reply with quote

Dear Lexikos,
Hi forum,

WindowPad is one of my all-time favourite helper applications. I use it constantly.

Now, I can think of a WindowPad feature which would make my life even easier Smile

I constantly use Remote Desktop to connect to other machines. What I do with the RD window is the following:

- I do _not_ maximize the window (for most of the time), because I want my local Autohotkey scripts to work within the RD window. Also, Alt-Tabbing then works with my local and the RD window.

- The remote screen resolution is the same as on my local screen.

To maximize screen estate, I do the following:
- I move the (not full size) RD window to the lower right corner.
- I resize the window at the upper left corner to its maximum possible size.
- Now the window is _bigger_ than my local screen, because (in non-maximized mode) it also has the title bar and a bit of frame around it.
- I then position the window so that its title bar is hidden by my local screen's upper border.
- Effect: I have full resolution on the RD window (so, no scrollbars there), and it fits my local screen. I don't care about the title bar.

- Bad thing: Windows sometimes 'forgets' this state, so that the RD window's title bar is positioned 'correctly' (i.e., visibly) upon my local screen. That's of course not what I want.

So... after all this rambling: I thought WindowPad could automate the window-resizing and positioning process as outlined above.

Would that be possible?

Thanks for your consideration,

Christian
Back to top
View user's profile Send private message
Lexikos



Joined: 17 Oct 2006
Posts: 4465
Location: Qld, Australia

PostPosted: Thu Mar 12, 2009 12:25 pm    Post subject: Reply with quote

I don't see what this has to do with WindowPad. I suggest starting with WinMove; if you have further questions, start a thread in Ask for Help.

On the other hand, Windows' Remote Desktop client has an option "Apply Windows key combinations"; the default is "Only when using the full screen", but there is also "On this computer". Unless I've misunderstood what you're asking for, you can probably achieve it by setting this option and entering full-screen mode.
Back to top
View user's profile Send private message Visit poster's website
mana



Joined: 25 Feb 2009
Posts: 6

PostPosted: Thu Mar 12, 2009 12:48 pm    Post subject: Reply with quote

Not sure it will help you, but what you can easily do is assign a custom position/size to one of the shortcuts in the ini file. I changed for example #5. The sequence is:
position of left border, position of center, position of right border, height


; Win+Numpad for Active Window:
#Numpad1 = WindowPadMove, -1, +1, 0.5, 0.5
#Numpad2 = WindowPadMove, 0, +1, 1.0, 0.5
#Numpad3 = WindowPadMove, +1, +1, 0.5, 0.5
#Numpad4 = WindowPadMove, -1, 0, 0.5, 1.0
#Numpad5 = WindowPadMove, -0.2, 0, 0.6, 0.6
#Numpad6 = WindowPadMove, +1, 0, 0.5, 1.0
#Numpad7 = WindowPadMove, -1, -1, 0.5, 0.5
#Numpad8 = WindowPadMove, 0, -1, 1.0, 0.5
#Numpad9 = WindowPadMove, +1, -1, 0.5, 0.5
Back to top
View user's profile Send private message
7enderhead



Joined: 21 Oct 2008
Posts: 2

PostPosted: Thu Mar 12, 2009 2:15 pm    Post subject: Reply with quote

Lexikos wrote:
I don't see what this has to do with WindowPad. I suggest starting with WinMove; if you have further questions, start a thread in Ask for Help.

On the other hand, Windows' Remote Desktop client has an option "Apply Windows key combinations"; the default is "Only when using the full screen", but there is also "On this computer". Unless I've misunderstood what you're asking for, you can probably achieve it by setting this option and entering full-screen mode.


Damn! That works! I do feel rather, ehm, stupid now, but in fact I was searching for a very complicated solution, so the obvious evaded me... Embarassed

Thanks for the hint!

Cheers,

Christian
Back to top
View user's profile Send private message
Gius
Guest





PostPosted: Wed Mar 18, 2009 5:24 pm    Post subject: windows move from laptop to monitor and vice versa Reply with quote

Hi all,

I'm using the windows keys + left/right to move the active screen back and forth:

Code:
#Left::
 WinRestore, A
 WinWait, A
 WinMove, -101,1
 WinMaximize, A
return

#Right::
 WinRestore, A
 WinWait, A
 WinMove, 2280,0
 WinMaximize, A
return


You might want to tune the pixels of WinMove that it matches your resolution.

Regards,

Remi
Back to top
korosif
Guest





PostPosted: Thu Mar 19, 2009 12:05 pm    Post subject: maximize using both screens Reply with quote

Hi,
I am in love with Window Pad, thank you so much!

Just on question/request:
Can I make an hotkey to maximize a window using both of my screens (as if they were one giant screen)?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3 ... 10, 11, 12 ... 15, 16, 17  Next
Page 11 of 17

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group