I forgot to mention in my previous post that if you're going to bind a hotkey
to the JAWS maximize window script, you might be duplicating processes since
Windows already has a built-in hotkey for this process as well as many other
methods of modifying the size of a window. To maximize press Windows+up arrow.
Don't forget you can also press Alt+spacebar and down arrow thorough options.
JR
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Steve Spamer
Sent: Sunday, December 3, 2017 3:04 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Maximizing a window
Thanks Csaba, this works great! Steve.
-----Original Message-----
From: Csaba Godo
Sent: Saturday, December 2, 2017 10:51 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Maximizing a window
Hi Steve,
there is my working code to minimize/maximize windows in JAWS Script:
Script WindowMinimize ()
; Minimizes the window to the Taskbar
SendMessage(GetAppMainWindow(GetFocus()), 274, 61472, 0) EndScript ;
WindowMinimize
Script WindowMaximize ()
; Maximizes the window to the full screen.
SendMessage(GetAppMainWindow(GetFocus()), 274, 61488, 0) EndScript ;
WindowMaximize
HTH
Csaba
2017. 12. 02. 14:47 keltezéssel, Steve Spamer írta:
Hi folks. I currently have:__________
PostMessage (hwnd, WM_SYSCOMMAND, SC_MAXIMIZE, 0) to maximize a
window, but it definitely isn’t working. Could anyone let me know
what I need to include in order to get a window maximized when opening
it? THX Steve.
Follow me on Twitter: @stevesax123
Visit the samplitude Access website. Jaws scripts for pro recording
with Samplitude in Windows: www.samplitudeaccess.org.uk __________
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts