Hi Dennis:

I keyed in the script rather than copy it over via clipboard, but I got the
same compile error as before about expecting window type int not string. One
differece is that my assigned hotkey does not say "unknown script called to
copy text from screen" as before. It simply announces the key values when
pressed this time.


Stan

-----Original Message-----
From: Dennis Brown <[EMAIL PROTECTED]>
To: JFW List <[EMAIL PROTECTED]>
Date: Saturday, September 18, 1999 2:03 AM
Subject: Re: script tip #110


>Hello Stan,
>
>No, I can't figure out why you got that error on compiling that script!
>Yes, you can key it all directly into  the script editor.
>Let me know what happens on this compile!
>
>
>
>----- Original Message -----
>From: Stan Holdeman <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Friday, September 17, 1999 3:22 PM
>Subject: Re: script tip #110
>
>
>> Hi Dennis:
>> I did not find any conflict with my hotkey in the running app. After
>> deleting the script 110, I did not get the compile error message when I
>> saved default.jss file. I am ignorantly grasping at straws here, but
since
>> the compile error message is about expecting window type int not string,
I
>> noticed one line of instruction in the script, as copied here:
>>
>> Int index           ; will hold menu item number.
>>
>> Is there anything wrong with that? Also, would it make any difference if
I
>> keyed in the lines of instruction into script manager rather copying them
>> via clipboard?
>>
>> Thanks for all your help. I at least feel a little comfortable whacking
>> around in the script manager now.
>>
>> Stan
>>
>> -----Original Message-----
>> From: Dennis Brown <[EMAIL PROTECTED]>
>> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>> Date: Thursday, September 16, 1999 3:45 PM
>> Subject: Re: script tip #110
>>
>>
>> >Hello Stan,
>> >
>> >Are you in a specific program, such as the Desktop, when you test this
>> >script?  Try it again, and if you get the "unknown script" message, hit
>> >Insert+8 to launch the Keyboard Manager, then immediately hit Tab to
>enter
>> >the Key assignment list for the current application.  Arrow up and down
>> >through this list and see if that key assignment is in this app
anywhere,
>> >and if so, what script it is associated with.  It sounds like the local
>> >application has an assignment to that script, and it is overriding the
>> >global assignment of that same key.
>> >I'm stabbing in the dark here, but when you deleted the script and
>> compiled,
>> >did it still give you that "Window should be int, not string..."
message?
>> >If it did, and if you've tdded no other modifications to that file, then
>> >replace the default.jss, default.jsd, and the default.jkm files with the
>> >backup copies you said you have.
>> >Go into Control+Shift+0 and hit Control+S to compile the new
>replacements.
>> >That should get you back to a clean sheet of paper, so recycle JFW from
>> >memory and hit the key assignment you tried to assign to that script.
If
>> >you still get that message, then the local-over-global situation I
>> mentioned
>> >above seems  the likely situation.
>> >Let me know what happens!
>> >
>> >Thanks,
>> >Dennis Brown, [EMAIL PROTECTED]
>> >Visit the Blind Programming site at http://brown99.home.mindspring.com/
>> >
>> >----- Original Message -----
>> >From: Stan Holdeman <[EMAIL PROTECTED]>
>> >To: <[EMAIL PROTECTED]>
>> >Sent: Thursday, September 16, 1999 12:25 PM
>> >Subject: Re: script tip #110
>> >
>> >
>> >> Dennis: Sorry to say that I got the same result as before. When I
saved
>> >the
>> >> script, I got the Compile Error window saying, "Expected window to be
a
>> >> variable of type int not script." When I hit the assigned hot key,
>voice
>> >> says, "unknown script called to copy text from screen."
>> >>
>> >> Any new suggestions?
>> >>
>> >> Stan
>> >>
>> >> -----Original Message-----
>> >> From: Dennis Brown <[EMAIL PROTECTED]>
>> >> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>> >> Date: Wednesday, September 15, 1999 7:25 PM
>> >> Subject: Re: script tip #110
>> >>
>> >>
>> >> >Hello Stan,
>> >> >
>> >> >Just go to that script and hit Control+Delete to get rid of that
>puppy,
>> >> then
>> >> >recompile and see if you get any errors.
>> >> >
>> >> >----- Original Message -----
>> >> >From: Stan Holdeman <[EMAIL PROTECTED]>
>> >> >To: <[EMAIL PROTECTED]>
>> >> >Sent: Wednesday, September 15, 1999 1:29 PM
>> >> >Subject: Re: script tip #110
>> >> >
>> >> >
>> >> >> 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
>> >> >
>> >> >-
>> >> >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
>>
>>
>>
>> -
>> 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

Reply via email to