Ah! Grep! now, that's exactly the tool I was thinking I also needed. I too wanted to search every file in the user area enu directory, for that constant, but didn't have the tools/brains to know how. Is there a GUI version of all those old unix commands like get regular expression then is there Andrew?I didn't know they were part of the current ms OS? ----- Original Message ----- From: "Andrew Hart" <ahart@xxxxxxxxxxxxx> To: <jawsscripts@xxxxxxxxxxxxx> Sent: Monday, June 24, 2013 10:46 AM Subject: [jawsscripts] Re: Help with a maximise script > After a quick ferret around with grep, I found cks26 is in default.jsm. > It refers to the space key. > > Hth, > Andrew. > > On 23/06/2013 8:40 PM, Geoff Chapman wrote: >> Jackie. Now I'm confused also. >> even when including all the three basic includes: >> Include "HjGlobal.jsh", >> >> Include "hjconst.jsh", >> >> and >> >> Include "common.jsm" >> >> My version still complains about the presumed constant >> cks26. >> >> I've seen it before where cks is tied directly to a keystroke, like >> cksBackspace etc, but, >> (a) how can one determine what keyCode number, any given keyStroke/key >> combination, will correspond to; and >> (b) if such a table is already in place somewhere, why does compiler >> baulk >> at it? >> I've discovered a wide range of these Cks constant thinggys in >> common.jsm, >> but none seem to relate to integers? >> (c) why would one choose to assign a number rather than just the actual >> name >> of the key one desired to type? >> >> Thanks much for further clarifications. >> >> >> ----- Original Message ----- >> From: "Rishi D Mack" <minimack_19@xxxxxxxxxxx> >> To: <jawsscripts@xxxxxxxxxxxxx> >> Sent: Monday, June 24, 2013 6:16 AM >> Subject: [jawsscripts] Re: Help with a maximise script >> >> >>> Tried that. It work. Figured that out before you correct it. But I >>> looked >>> at the script. And that hole peace seams to look just rite but it tells >>> me >>> this >>> Unknown variable OT_Message >>> But when I check it, it looks fine maby I'm overlooking something rong. >>> >>> >>> >>> -----Original Message----- >>> From: jawsscripts-bounce@xxxxxxxxxxxxx >>> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Soronel Haetir >>> Sent: Sunday, June 23, 2013 10:46 AM >>> To: jawsscripts@xxxxxxxxxxxxx >>> Subject: [jawsscripts] Re: Help with a maximise script >>> >>> You are using the name of a function as a variable yet have not >>> declared any such variable (nor do I think you should). Instead, with >>> what you have shown, I would replace: >>> >>> GetWord () >>> >>> If GetWord == "Restore Symbol" >>> >>> SayFormattedMessage (OT_Message, "Window is already Maximised", "Window >>> Maximised") >>> >>> Return >>> >>> EndIf >>> >>> with: >>> >>> >>> >>> If GetWord () == "Restore Symbol" >>> >>> SayFormattedMessage (OT_Message, "Window is already Maximised", "Window >>> Maximised") >>> >>> Return >>> >>> EndIf >>> >>> On 6/23/13, Rishi D Mack <minimack_19@xxxxxxxxxxx> wrote: >>>> Hi. I've been working on some training tutorials from the basic >>>> scripting >>>> helpfile, and this is the script. >>>> It keeps telling me >>>> >>>> "Unknown variable GetWord" >>>> >>>> Here's the script. >>>> >>>> >>>> >>>> Script MaximiseWindow () >>>> >>>> Var >>>> >>>> string sKeystroke >>>> >>>> let sKeystroke = "x" >>>> >>>> InvisibleCursor () >>>> >>>> JAWSPageUp () >>>> >>>> JAWSEnd () >>>> >>>> PriorWord () >>>> >>>> GetWord () >>>> >>>> >>>> >>>> If GetWord == "Restore Symbol" >>>> >>>> SayFormattedMessage (OT_Message, "Window is already Maximised", "Window >>>> Maximised") >>>> >>>> Return >>>> >>>> EndIf >>>> >>>> >>>> >>>> SpeechOff () >>>> >>>> ActivateMenuBar () >>>> >>>> Delay (3) >>>> >>>> If MenuesActive () >>>> >>>> TypeKey (cKS26) >>>> >>>> Delay (2) >>>> >>>> TypeKey (sKeystroke) >>>> >>>> SaveCursor () >>>> >>>> SpeechOn () >>>> >>>> SayMessage ("Window Maximised") >>>> >>>> EndScript >>>> >>>> >>>> >>>> >>>> >>>> __________� >>>> >>>> View the list's information and change your settings at >>>> //www.freelists.org/list/jawsscripts >>>> >>>> >>> >>> >>> -- >>> Soronel Haetir >>> soronel.haetir@xxxxxxxxx >>> __________� >>> >>> View the list's information and change your settings at >>> //www.freelists.org/list/jawsscripts >>> >>> >>> __________� >>> >>> View the list's information and change your settings at >>> //www.freelists.org/list/jawsscripts >>> >>> >> >> __________� >> >> View the list's information and change your settings at >> //www.freelists.org/list/jawsscripts >> >> >> > > > __________� > > View the list's information and change your settings at > //www.freelists.org/list/jawsscripts > > __________� View the list's information and change your settings at //www.freelists.org/list/jawsscripts