I have been also taking a look at the code and sorry about forgetting exactly who it was that posted it in the first place but it is so simple and eligant that I am going to start including it in my personal bag of tricks.
1. Use SendMessage function. Insert this line in the AutoStart event: SendMessage(GetAppMainWindow(GetFocus()), 274, 61488, 0) ;It will maximize the active window. I took a look at the other part of the first message before trying the above code which was my error. I don't follow it completely but the fact is it works which is good enough for this guy. I mean 1 line of code, now that's my kind of programming. David Ferrin Always be yourself because the people that matter don't mind, and the ones that mind don't matter. -----Original Message----- From: JAWS-Users-List [mailto:jaws-users-list-boun...@jaws-users.com] On Behalf Of David Ferrin Sent: Tuesday, June 11, 2013 9:29 AM To: jaws-users-list@jaws-users.com Subject: Re: [JAWS-Users] Auto Sizer Nothing out of the ordinary on there so far as I can tell at least. Possibly the script that simply maximizes your window by accessing the system menu will work just fine for you. I am going to tinker with my auto maximize function this morning as it for now at least looks like it is going to be quiet around here for a bit. David Ferrin A complex system that does not work is invariably found to have evolved from a simpler system that worked perfectly. -----Original Message----- From: JAWS-Users-List [mailto:jaws-users-list-boun...@jaws-users.com] On Behalf Of Donnie Parrett Sent: Saturday, June 08, 2013 10:52 AM To: jaws-users-list@jaws-users.com Subject: Re: [JAWS-Users] Auto Sizer David, one of the sites that I frequently use is: www.biblegateway.com -----Original Message----- From: JAWS-Users-List [mailto:jaws-users-list-boun...@jaws-users.com] On Behalf Of David Ferrin Sent: Saturday, June 08, 2013 6:58 AM To: jaws-users-list@jaws-users.com Subject: Re: [JAWS-Users] Auto Sizer Since you mentioned the first script line go in the auto start event function for maximizing a message window it seemed reasonable to figure you are referring to an email client. Since at this time the only client I have at my disposal is outlook 2007 I checked and mine at least does not have an auto start event. Obviously I can create such an animal but before I do please clarify the program you meant. Actually my inbox and messages always come up maximized so there is no problem here with that kind of stuff at all so far anyway. If memory serves Donnie's original question was directed at IE specifically at a certain web page which I have not had a chance to look at as of yet. Unfortunately I do not have the original message that started this thread so Donnie if you would be so kind as to send the address again. I am going to test your code out, of that you can rest assured as it looks interesting to me at least. It reminds me of my mainframe days on the old IBM 3090 but that is another story. David Ferrin A complex system that does not work is invariably found to have evolved from a simpler system that worked perfectly. -----Original Message----- From: JAWS-Users-List [mailto:jaws-users-list-boun...@jaws-users.com] On Behalf Of David Ferrin Sent: Saturday, June 08, 2013 6:36 AM To: jaws-users-list@jaws-users.com Subject: Re: [JAWS-Users] Auto Sizer I will have to test this code out and see if it works for me or not. It does seem a bit complicated but manageable. I do always appreciate any contributions to my collection of scripts either to the web site or for my personal stockpile so to speak. Donnie you might need further help so something will get worked out if that is the case. David Ferrin A complex system that does not work is invariably found to have evolved from a simpler system that worked perfectly. -----Original Message----- From: JAWS-Users-List [mailto:jaws-users-list-boun...@jaws-users.com] On Behalf Of Csaba Godo Sent: Friday, June 07, 2013 11:12 PM To: jaws-users-list@jaws-users.com Subject: Re: [JAWS-Users] Auto Sizer Hi David & Don, I think I could suggest you two other methods to maximize a window. 1. Use SendMessage function. Insert this line in the AutoStart event: SendMessage(GetAppMainWindow(GetFocus()), 274, 61488, 0). It will maximize the active window. 2. Use some workaround. It is a simpler method. It needs some refining, because I write it down from memory. This script toggles window state between maximized and normal. But you can extend it so, that it supports only maximized and minimized state. This script works in all windows having system menu. The menu you can call with Alt+Space. Script ToggleRestoreWindow () ;This script make notepad maximize or restore Var String sName, String sShortname ;Get the name of currently open file SpeechOff () TypeKey {Alt+space} If GetControlAttributes (false)==4 then ;the Restore option is unavailable TypeKey {x} ;send letter x to current application Let sName=FormatString (Maximize_l, GetAppTitle ()) Let sShortname=FormatString (Maximize_s, GetAppTitle ()) Else ;windows is currently maximize EnterKey () Let sName=FormatString (restore_l, GetAppTitle ()) Let sShortname=FormatString (restore_s, GetAppTitle ()) EndIf Pause () SpeechOn () SayFormattedMessage (ot_message, sName, sShortName) EndScript HTH Csaba For answers to frequently asked questions about this list visit: http://www.jaws-users.com/help/ For answers to frequently asked questions about this list visit: http://www.jaws-users.com/help/ For answers to frequently asked questions about this list visit: http://www.jaws-users.com/help/ For answers to frequently asked questions about this list visit: http://www.jaws-users.com/help/ For answers to frequently asked questions about this list visit: http://www.jaws-users.com/help/ For answers to frequently asked questions about this list visit: http://www.jaws-users.com/help/