Hi Dennis:
I followed your instructions below, but I still get the same result: When I
hit my assigned hotkey, it says, "unknown script called to copy text from
screen." When I saved the script, I got a Compile error window that said,
"Expected window to be a variable of type int not string."
I am thinking of starting over from scratch for this script. I backed up all
the files in my enu folder before starting on this script project. Should I
restore the backed-up Default.jss, jsd and jkm files to my enu folder or
just delete the CopyTextFromScreen stuff from those files? Or doesn't it
make any difference? Are there other files to be restored or purged if I
start over from scratch?
Thanks for your help. Stan
-----Original Message-----
From: Dennis Brown <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, September 15, 1999 7:43 AM
Subject: Re: script tip #110
>Hello Stan,
>
>Try going into your default script file with Control+Shift+0 and hit
>Control+L to bring up the script list.
>Type the word "copy" and see if it gets you to that script, or use the
>UpArrow and DownArrow to highlight that particular script name and whack
>Enter.
>Hit Control+D and, when in the script's properties, tab down to Assign to
>Hotkey..." field and press your hotkey again. It should tell you that it
is
>already assigned, so hit Tab and whack Enter on Ok.
>Whack Enter on Ok again, and when back in the script editor, whack
Control+S
>for good measure.
>Unload and reload JFW from memory and see if the assignment took this
time.
>
>Thanks,
>Dennis Brown, [EMAIL PROTECTED]
>Visit the Blind Programming site at http://brown99.home.mindspring.com/
>
>----- Original Message -----
>From: Stan Holdeman <[EMAIL PROTECTED]>
>To: JAWS List <[EMAIL PROTECTED]>
>Sent: Tuesday, September 14, 1999 2:40 PM
>Subject: script tip #110
>
>
>> Friends: I am running W95 and JFW 3.2031.
>> Following the instructions in script tip # 110 I now have the
>> CopyTextFromScreen script located in my default.jss file. When I hit the
>> assigned hotkey (alt+ctrl+G) JAWS says: "unknown script called to copy
>text
>> from screen." Nothing else happens. What's wrong?
>> A couple of things I wonder about: 1. Why does the JAWS voice say the
>> unknown script is called (quote) to copy text from screen (unquote) when
>the
>> script name does not have the word to in it? And I have checked this in
>both
>> the jss and jsd files.
>> 2. Below is the applicable lines copied from my jsd file. Is the fact
that
>I
>> may have wrongly called it an application causing me the trouble?
>>
>> :script CopyTextFromScreen
>> :Synopsis Copys specified text from screen.
>> :Description Grabs designated text from screen and writes it to the
>> clipboard.
>> :Category Application
>>
>> Stan
>>
>>
>>
>> -
>> Visit the jfw ml web page: http://jfw.cjb.net
>
>-
>Visit the jfw ml web page: http://jfw.cjb.net
-
Visit the jfw ml web page: http://jfw.cjb.net