[jawsscripts] Re: minimizing the window

  • From: Jitendra <jeet.invincible@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Tue, 01 Sep 2009 20:36:05 +0530

Alt space does not activate any menu there.
Thank you.
Jacob Kruger wrote:
> Not sure if relevant, since this is sort of a testing process - I think - but 
> standard keystrokes to minimize a window are alt + space and then the N key, 
> so the following bit of script should actually do it for you:
> {Alt+Space}
> Pause ()
> {n}
>
> Stay well
>
> Jacob Kruger
> jacob.kruger@xxxxxxxxxxxx
>
> -----Original Message-----
> From: jawsscripts-bounce@xxxxxxxxxxxxx 
> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Jitendra
> Sent: Monday, August 31, 2009 11:16 PM
> To: jawsscripts@xxxxxxxxxxxxx
> Subject: [jawsscripts] minimizing the window
>
> Hello friends, I tried the post and send message functions, but unable 
> to minimize the window, so what could be the problem?
> Int Function WindowMinimize(Handle h)
> Var
> Int iMessage, Int iParam
>
> If !h Then
> Let h = GetFocus()
> EndIf
>
> Let iMessage = 0x0112
> Let iParam = 0xF020
> Return PostMessage(h, iMessage, iParam, 0)
> EndFunction
> Then I called it in a script with getfocus as hwnd parameter.
> Thank you, Jitendra.
> __________ 
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at 
> //www.freelists.org/list/jawsscripts
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 8.5.409 / Virus Database: 270.13.72/2337 - Release Date: 08/31/09 
> 05:50:00
> __________ 
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at 
> //www.freelists.org/list/jawsscripts
>
>
>   

__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: