[jawsscripts] Re: Passing keystrokes from one script to another script

  • From: "Paul Magill" <magills@xxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Thu, 19 May 2016 22:20:09 +1000

Hi Jonathon,

Not clear here what you are trying to achieve?

If you just want to call the JumpToRelativeTime()  script, then in your own 
script, just use:
PerformScript JumpToRelativeTime()

If you want to pass a value to that input box, and press enter, then the 
easiest way might be, just to copy the relevant parts of the JumpToRelativeTime 
  script into your script, and assign the value directly to the variable, 
sRelative.

I e. use the basic code from JumpToRelativeTime, instead of calling it.

Regards,
Paul from Australia

-----Original Message----- From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Jonathan Milam
Hi All,


Is it not possible to invoke keystrokes in a script from within another script 
in the same file?  Using winamp.jss as the example, I am attempting to call the 
“JumpToRelativeTime” Winamp script from my own script I am developing at 
the bottom of the same file.  I first tried passing the keystroke that invokes 
the script using the curley brackets, typekey, typestring etc, but couldn’t 
pass it through successfully to Winamp.  I then called the script by inserting 
it into my own script and this worked well.  Though I am now able to call the 
script, whenever I try and pass keystrokes to it, nothing happens.  It’s like 
they are somehow being blocked from passing through.  VFO Support tells me that 
you cannot pass keystrokes through to other scripts, but I find this extremely 
difficult to believe.  I have tried putting the keystrokes in curley brackets, 
using TypeKey, TypeString, etc. but I cannot make it work.  Any help would be 
appreciated.



Thanks,
Jonathan


__________�

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

Other related posts: