Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
GuiAmbros
5 discussion posts
Hello folks,

I'm trying to create a hotkey to automatically position the window on a specific location (top-left, bottom-right, etc) and resize to a specific size in pixels. It works fine with all windows - except command line windows like Putty and Command Prompt.

I found this archived discussion http://www.displayfusion.com/Discussions/View/positioning-of-putty-window-in-bottom-right-corner-doesn-t-work/?ID=6c61a935-678e-4602-ae32-37d1b7908486 and the Changelog indicates it was fixed on 3.1.5 released in 2009, yet it still doesn't work for me (I'm on 3.4.1). Not sure if it was working on earlier versions; that's my next test if everything else fails.

Any ideas how to fix it? Hotkey config screenshot below. It is running on a dual-mon Win7 64bits.
http://imgur.com/riX6Z

thanks in advance!
Jan 16, 2012  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
I believe it was just the positioning that was fixed in the previous thread. However, I can confirm that the resizing does not work with putty. We'll see if we can get that fixed up :)

As for the regular command prompt, I don't believe it's possible to resize that window, as it has to be done through the command prompt window's system menu.
Jan 17, 2012  • #2
User Image
GuiAmbros
5 discussion posts
Yeah, I was able to position the window too, the problem was just with the resize. I'm only interested in resizing Putty (the Command Prompt was just a test) so if there's a way to fix Putty it'd be perfect.

Putty allows the user to drag the window to resize, so I imagine you can simulate sending events to the window (SetWindowPos?) to have it change its dimensions? Just a guess.. Putty has to also resize the remote terminal, so I imagine that's what it makes it unique.

Anyway, I'd be more than happy to help in any way - testing a beta version or sending debug info or anything. Thanks a lot!
Jan 17, 2012  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Just wanted to follow-up on this. We've looked into it and unfortunately we can't resize putty or command prompt windows. They just do some weird stuff that we can't bypass automatically.

Sorry!
Feb 16, 2012  • #4
Keith Lammers (BFS)'s profile on WallpaperFusion.com
I guess we didn't look hard enough :)

Thanks deanis, we'll check that out.
Feb 16, 2012  • #6
User Image
deanis
256 discussion posts
Might need to AttachConsole() first, if it's possible.
Feb 17, 2012  • #7
User Image
cH40z-Lord
85 discussion posts
Command prompts can be easily resized and modified, even without any injection.

Just click on the small process icon next to the window title ( the black "C:\_" icon ), click on "default values" and feel free to modify the layout and color scheme. I modified it to let me command prompt look like this:

http://www.abload.de/img/cmd5wyge.png


I'm also using PuTTy, but not the default PuTTy - instead I'm using PuTTy tray, which also allows some minor modifications to the UI and also supports minimizing to tray by CTRL-Click on the minimize button.

It may be not the optimal solution until DF implements some new logics for console windows, but it may be a temporary workaround for you.
Feb 21, 2012  • #8
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Just a quick update, DisplayFusion can now (4.0.1 Beta 3 and higher) resize the Windows Command Prompt windows vertically, but unfortunately it won't work horizontally.

Thanks!
May 10, 2012  • #9
User Image
GuiAmbros
5 discussion posts
Worked for me on Command Prompt (vertically as you said; not horizontally). But sadly it still doesn't work with Putty windows..
May 13, 2012  • #10
Mustang's profile on WallpaperFusion.com
Another confirmation of non-workingness and request for workingness of PuTTY resize when using "Size and Move Window to Right/Left Side of Monitor" with 4.0.1b3
May 16, 2012 (modified May 16, 2012)  • #11
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, thanks! I'm not sure if the fix we added was only for the Windows command prompt, or if it's supposed to also work for PuTTY. I'll look into it and keep you posted.

Thanks!
May 16, 2012  • #12
Keith Lammers (BFS)'s profile on WallpaperFusion.com
We've just released DisplayFusion 4.0.1 Beta 6, and PuTTY windows should now be resizeable via HotKeys :)

Thanks!
May 25, 2012  • #13
User Image
GuiAmbros
5 discussion posts
Hmm, interesting. It works fine with Putty, both setposition as well as resize. But on ExtraPutty (a fork of Putty) just the setposition works, but it doesn't resize the window.

Not sure what is different; seems they changed something that is not allowing DisplayFusion to change the window dimensions...
Jun 4, 2012  • #14
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Just tested and confirmed this, but I'm not sure it there's much we can do, as even the Windows Aero Snap (WIN+Left or Right arrow key) won't resize it. We'll check it out, and I'll post an update as soon as we have one.

Thanks!
Jun 14, 2012  • #15
Mustang's profile on WallpaperFusion.com
4.1.0 beta 4
Updated from PuTTy 0.60 to 0.62 today and it seems to working now, however CMD has stopped working with the latest DF beta.
Jun 18, 2012  • #16
Keith Lammers (BFS)'s profile on WallpaperFusion.com
@Mustang: Indeed! We'll check it out.
Jun 18, 2012  • #17
Keith Lammers (BFS)'s profile on WallpaperFusion.com
@Mustang: the cmd vertical resizing should now work correctly again in the latest beta version :)
Jun 27, 2012  • #18
Keith Lammers (BFS)'s profile on WallpaperFusion.com
We've just released 4.1 Beta 9, and ExtraPutty should now be resizable as well :)
Jun 29, 2012  • #19
User Image
GuiAmbros
5 discussion posts
yay, ExtraPutty now resizing and moving windows perfectly. Thank you so much guys!
Jul 6, 2012  • #20
Keith Lammers (BFS)'s profile on WallpaperFusion.com
No problem, glad to hear it!
Jul 6, 2012  • #21
User Image
Shai Ben-Naphtali
3 discussion posts
Hi,

I'm glad to see that you've worked out several software for resizing issues, and I wanted to update you that with the latest v5.0 release, on http://sourceforge.net/projects/console, I can't Resize nor Move from screen to screen using the keyboard shortcuts I use..

Can you perhaps look at this as well?
Feb 12, 2013  • #22
Keith Lammers (BFS)'s profile on WallpaperFusion.com
@Shai: The resizing ones seem to work ok if it stays on the same monitor, but if it tries to move to the next monitor it seems to get stuck. We'll add this to our list and we'll post an update as soon as we're able to fix it up.

Thanks!
Feb 13, 2013  • #23
User Image
Savdi Jabroo
1 discussion post
FireCMD shell makes re-sizing any command line apps like cmd.exe, powershell, telnet, putty, bash shell etc. so simple like any other GUI application. It also provides a full-screen mode.
http://www.brainasoft.com/firecmd/doc/img/console_emulator.png
Apr 25, 2013 (modified Apr 25, 2013)  • #24
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Thanks for posting that Savdi, that looks handy!
Apr 25, 2013  • #25
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Quick update on the Console2 resizing. The only way to make it work is to disable the following option in Console2: "Snap to desktop edges." After disabling that, the DisplayFusion Functions seem to work fine :)
May 1, 2013  • #26
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)