AutoHotkey Community

It is currently May 27th, 2012, 10:23 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 337 posts ]  Go to page Previous  1 ... 19, 20, 21, 22, 23  Next
Author Message
 Post subject:
PostPosted: January 25th, 2012, 7:38 am 
Offline
User avatar

Joined: January 25th, 2006, 8:08 am
Posts: 225
Location: Froschtümpel
sjkeegs wrote:
I just checked out the version put out by hoppfrosch and noticed that some window transitions/moves don't respect the "restore" position. I don't know if the original from Lexikos has this issue also.


With automatic restoring I concentrated on things, which cannot be restored manually when WindowPadX does not run: for example if "AlwaysOnTop" is set by WindowPadX - and you exit WindowPadX without untoogle it, there's no easy way to remove this feature using standard windows functionality (unless you use some special tool - at least I don't know a standard way ...)

For sure there is some potential for improvements - but restoring is much dependent on personal flavour: I'm not sure if I personally would like it, if my current window arrangement should be automatically be destroyed/restored - just because WindowPad(X) was cancelled....


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 25th, 2012, 2:49 pm 
Offline

Joined: July 14th, 2004, 6:21 am
Posts: 20
hoppfrosch,

While I agree that restoring window positions when the application exits may be a personal preference, what I'm really referring to is the activity while the script is still running.

If I maximize a window, and then send a WPXA command to restore the window to its previous size, the window will not restore. This is because the maximize operation does not flag that operation as an operation that was performed by the script. Thus when a command to restore the position is received, the window checks the position and makes the determination that the script didn't move the window, so the user must have moved it there, causing the script to essentially forget that it moved the window, and not the user.

_________________
SJKeegs


Report this post
Top
 Profile  
Reply with quote  
 Post subject: WindowPadX 1.1.1
PostPosted: January 25th, 2012, 7:45 pm 
Offline
User avatar

Joined: January 25th, 2006, 8:08 am
Posts: 225
Location: Froschtümpel
sjkeegs wrote:
hoppfrosch,

While I agree that restoring window positions when the application exits may be a personal preference, what I'm really referring to is the activity while the script is still running.


I agree. I will have a look at it as soon as I find some time .

Edit:

That was an easy one - as you provided the correct solution already, I just merged it into my codebase and pushed it to github. (BTW: everybody's welcome to contribute directly via github ... ;-))

Latest version now: WindowPadX 1.1.1


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 1st, 2012, 7:17 pm 
Hey guys, I'm not sure if this has been covered or not, but I've run into a bug that's been fairly problematic for me. I attempted to search for it, but didn't see anything in a quick look.

I use this application at work, where it is extremely helpful I might add, where we also use Microsoft Office Communicator 2007 R2. Whenever I use WindowPad on an MOC window, I lose some functionality -- I'm no longer able to cut, copy, paste, delete, or escape. Mouse controls work fine, but keyboard commands like ctrl+v will not work.

Has anybody seen this problem before? I'm using V1.60, by the way.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 1st, 2012, 7:19 pm 
I should add that this only affects Office Communicator windows. As far as I can see from some quick research, there shouldn't be any hotkeys that affect MOC like this.


I'm also using the default settings for WindowPad V1.60.


Report this post
Top
  
Reply with quote  
PostPosted: March 16th, 2012, 5:48 pm 
maybe someone has already done this, I searched briefly, but can not find a post directly addressing this, so just made this.

Purpose: To tile current and last active windows either horizontally or vertically (toggle), by pressing Win+NumpadSub key

function:
tileLast2Windows() ;tile active and last window
{
static tileOrientation=0
if tileOrientation=0
{ tileOrientation=1
WPM(-1,0,0.5,1.0, "A")
WPM(+1,0,0.5,1.0, "P")
}
else
{
tileOrientation=0
WPM(0,-1, 1.0, 0.5, "A")
WPM(0, 1, 1.0, 0.5, "P")
}

} ; End of tileLast2Windows function


Settings in WindowPad.ini

#NumpadSub = tileLast2Windows


Report this post
Top
  
Reply with quote  
PostPosted: March 19th, 2012, 8:08 am 
Offline
User avatar

Joined: January 25th, 2006, 8:08 am
Posts: 225
Location: Froschtümpel
ipstone today wrote:
Purpose: To tile current and last active windows either horizontally or vertically (toggle), by pressing Win+NumpadSub key


Thanks - I've incorporated the functionality into my WindowPadX project as a new action: WPXA_TileLast2Windows ... and therefore released a new version (WindowPadX 1.2.0)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 19th, 2012, 9:07 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7503
Location: Australia
Apparently it's been just over two years since I updated WindowPad, even though I use it most days. I originally labelled it a "multi-monitor window moving tool", but it has proven just as useful since I stopped using my second monitor, so I've renamed the thread. I've also added a link to WindowPadX in the first post.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 19th, 2012, 9:50 am 
Offline
User avatar

Joined: January 25th, 2006, 8:08 am
Posts: 225
Location: Froschtümpel
@Lexikos

Lexikos wrote:
I've also added a link to WindowPadX in the first post.


Thx for this. I'm still not quite sure, whether it is/was correct to "hijack" your thread -or to open a new thread on WindowPadX. I decided for hooking me into your thread, since my WindowPadX is nearly completely based on your work (mostly reengineering), with only a few enhancements of me (and those functionality is mostly stolen from other authors ...) - and I wanted to leave the credits to you ...

I hope you don't mind. I'll try to answer WindowPad questions in this thread as well - as far as I'm able to ...


Report this post
Top
 Profile  
Reply with quote  
PostPosted: March 19th, 2012, 4:22 pm 
Offline

Joined: March 16th, 2012, 5:44 pm
Posts: 6
some further changes, but the 2nd function is not 'very' helpful, I am just posting the 2nd function to see others have some better ideas

1. tweak a little bit, since I am right handed, I change the active window to the right side, or the bottom side

tileLast2Windows() ;tile active and last window
{
static tileOrientation=0
if tileOrientation=0
{ tileOrientation=1
WPM(+1,0,0.5,1.0, "A")
WPM(-1,0,0.5,1.0, "P")
}
else
{
tileOrientation=0
WPM(0,+1, 1.0, 0.5, "A")
WPM(0,-1, 1.0, 0.5, "P")
}

} ; End of tileLast2Windows function



2. worked on cycle (clockwise the recent 2 windows), however, there's a bug here that when 1 cycle completed, it displays a blank screen etc, guess it's an issue with how the 'A', and 'P' were changed during the cycle
tileCycleLast2Windows() ;tile active and last window
{
static tileOrientation:=0
tileOrientation++
if tileOrientation=5
tileOrientation:=0 ; cycle 4 layouts clockwise

tileMode:=mod(tileOrientation,2)
;msgBox, current mode is %tileMode%, tile orientation is %tileOrientation%
if tileMode=1
{
WPM(2- tileOrientation , 0,0.5,1.0, "A")
WPM(tileOrientation-2, 0,0.5,1.0, "P")
}
else
{
WPM(0,3- tileOrientation, 1.0, 0.5, "A")
WPM(0, tileOrientation-3, 1.0, 0.5, "P")
}

} ; End of tileCycleLast2Windows function


Report this post
Top
 Profile  
Reply with quote  
PostPosted: March 19th, 2012, 4:28 pm 
Offline

Joined: March 16th, 2012, 5:44 pm
Posts: 6
I know there's a iswitchw script around to switch windows, is it possible to implement something similar within windowPad?

it's a desperately needed function (though sometimes I am using the iswitchw script for its functionality, but I would love to use it with windowpad by all means ....


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 21st, 2012, 2:17 pm 
Offline

Joined: August 8th, 2005, 4:15 pm
Posts: 19
I'm trying to find out how I can exclude the Remote Desktop session in my second monitor from minimizing with winkey+d.

Best method would be:
- Minimize only windows on screen that has the mouse pointer / active window with winkey+d

But other options would also work:
- Minimize all but "Always on top" windows
- Minimize all but *window class*
- Monitor window and re-maximize it when minimized
Etc...

Is this possible / already done with WindowPadX ? I know it's a much wanted feature but can't find a simple implementation.

_________________
Image
Redhead Technology


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 22nd, 2012, 6:57 am 
Offline
User avatar

Joined: January 25th, 2006, 8:08 am
Posts: 225
Location: Froschtümpel
Joolee wrote:
Is this possible / already done with WindowPadX ? I know it's a much wanted feature but can't find a simple implementation.


None of those are available in the described way with WindowPadX (yet?).
A possible solution might be the action: WPXA_MinimizeWindowsOnMonitor. In the distributed configuration WinPadX.ini you find the following lines:
Code:
#NumpadDiv = WPXA_MinimizeWindowsOnMonitor, 1
#NumpadMult = WPXA_MinimizeWindowsOnMonitor, 2

This mimimizes ALL windows on screen 1 (pressing WIN-Numpad%) or on screen 2 (pressing WIN-Numpad*) .... Does that not fit your needs?

WindowPadX (also WindowPad) does not affect standard behaviour of Winkey-d, unless you override the standard behaviour with a provided WindowPadX-action, by redefining Winkey-D ...


I havn't seen any of your requests until now - so I don't see "much wanted features". Anyway those are nice ideas ...

EDIT: Just implemented an additional option for WPXA_MinimizeWindowsOnMonitor:

If you use 0 as argument, all windows on screen where your mouse currently is are minimized....
Code:
#NumpadDiv = WPXA_MinimizeWindowsOnMonitor, 0


The new version is available on github as WindowPadX 1.2.1

BTW: Just released WindowPadX-documentation on github as well ....


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Error Message
PostPosted: April 6th, 2012, 6:10 pm 
Offline

Joined: July 14th, 2010, 9:50 pm
Posts: 6
I am able to use WindowPad, the original, but when I try to run WindowPadX.ahk, I get the following error message:

Code:
Error in #include file
"C:\...WPXA.ahk":Blank parameter

Specifically: Notify(A_ScriptName,CurrWinTitle "`nRollWindow disabled - " hwnd,2,,"icons/minus.png")


I see similar lines of code through out the script - some have A_ScriptDir in front of the icon directory, some do not.
Sorry I am not very used to the syntax of AHK, but do you know what the problem is?


Report this post
Top
 Profile  
Reply with quote  
PostPosted: April 9th, 2012, 6:37 am 
Wow! Thanks hoppfrosch for the enhancement of Lexikos' amazing WindowPad, which I have been using actively since 5 months ago.

I just stumbled upon the the thread and loved the new features such as mouse locator, roll toggle, top toggle, and minimize windows on a specific monitor. Amazing!

After playing with the new WindowPadX, here are some my features I would love to see in the future updates

1. Mouse locator to the current active window.
=> I have a wierd set up of my center window being the monitor1, and the right one the monitor 2, and the left one the monitor3. I like your new MoveWindowToMonitor, but due to my weird setup, locating the mouse based on the monitor is not as intuitive for me. It would be nice to have a way to locate my mouse to the current active window since most of of time I need my mouse right after using my window.
I use the following code in my hotkey script, but it would be nice to have that in windowpadX
Code:
CoordMode, Mouse, Relative
MouseMove A_ScreenWidth//2,A_ScreenHeight//2


2. animation parameter in window roll?
I really liked the windowroll feature added to the windowPad!
It would be nice to have some animation so that I know it's getting rolled up and looks nice.
I was using Rajat's window shading with the touch of Watcher's animation hack.
http://www.autohotkey.com/community/viewtopic.php?t=556
but it would be really nice if i can do all that with windowPadX

Thanks again for the enhancement on this amazing tool!


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 ... 19, 20, 21, 22, 23  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: XX0 and 25 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