[jawsscripts] Re: Maximizing a window

  • From: Csaba Godo <arpadhazi68.jawsul@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Fri, 8 Dec 2017 21:54:01 +0100

Hi,

the mentioned parameters in my code are high-, and low-words of the 
C-type windows size message. Because I did not want to use any JAWS 
Script header file I coded they hardly. You can get them from a C-header 
file which are related to windows sizing if you are interested.

HTH

Csaba




2017. 12. 05. 21:55 keltezéssel, Paul Hunt írta:

Hello. Please explan what the message parameter 274 does and what is the 
61472 parameter?
Thanks so much.


-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Csaba Godo
Sent: Saturday, December 2, 2017 4: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

__________

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts


__________�

View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts

__________�

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: