AutoHotkey Community

It is currently May 26th, 2012, 4:57 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 337 posts ]  Go to page Previous  1 ... 8, 9, 10, 11, 12, 13, 14 ... 23  Next
Author Message
 Post subject:
PostPosted: February 4th, 2009, 6:30 am 
Offline

Joined: December 18th, 2008, 6:01 pm
Posts: 2
Location: Germany
It worked. It is easier than I thought.

Thanks a lot for your quick response and help


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Feature Queries/Request
PostPosted: February 18th, 2009, 11:45 pm 
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


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 19th, 2009, 8:54 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7502
Location: Australia
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".


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Thanks V. Much :)
PostPosted: February 23rd, 2009, 12:28 am 
Most appreciated


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 23rd, 2009, 3:31 am 
Offline

Joined: February 23rd, 2009, 3:24 am
Posts: 1
Location: IN
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


Report this post
Top
 Profile  
Reply with quote  
PostPosted: February 25th, 2009, 4:52 pm 
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


Report this post
Top
  
Reply with quote  
PostPosted: February 26th, 2009, 9:59 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7502
Location: Australia
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%.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 26th, 2009, 11:21 am 
Offline

Joined: February 25th, 2009, 4:56 pm
Posts: 6
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!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 7th, 2009, 11:36 pm 
i have also some small wishes :D :

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!


Report this post
Top
  
Reply with quote  
PostPosted: March 12th, 2009, 11:00 am 
Offline

Joined: October 21st, 2008, 6:41 pm
Posts: 2
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 :-)

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 12th, 2009, 12:25 pm 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7502
Location: Australia
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 12th, 2009, 12:48 pm 
Offline

Joined: February 25th, 2009, 4:56 pm
Posts: 6
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 12th, 2009, 2:15 pm 
Offline

Joined: October 21st, 2008, 6:41 pm
Posts: 2
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... :oops:

Thanks for the hint!

Cheers,

Christian


Report this post
Top
 Profile  
Reply with quote  
PostPosted: March 18th, 2009, 5:24 pm 
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


Report this post
Top
  
Reply with quote  
PostPosted: March 19th, 2009, 12:05 pm 
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)?


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 337 posts ]  Go to page Previous  1 ... 8, 9, 10, 11, 12, 13, 14 ... 23  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 11 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