Bring your karma
Join the waitlist today
HUMBLECAT.ORG

Blind and Visually Impaired Community

Full History - 2020 - 05 - 01 - ID#gbi1nv
13
Anybody familiar with basic JAWS scripting? (self.Blind)
submitted by Broken_Peepers
I'm trying to create a simple run script to open a URL with a keyboard command. Any tips on the proper formatting and script syntax are greatly appreciated.
CloudyBeep 1 points 3y ago
So you want to open the Run dialog, simulate typing the URL and pressing the Enter key?
Broken_Peepers [OP] 2 points 3y ago
No. I want to be able to launch a webpage in Internet Explorer just by using a keyboard shortcut. In the script manager, I keep getting an error to the effect of "unknown word run", when I try to write the script.
CloudyBeep 1 points 3y ago
What's your whole script, and what file are you adding it to?
Broken_Peepers [OP] 2 points 3y ago
That may not be exactly right, because I am trying to write it on my work PC, and I'm currently at home. So I can't reference how it is currently written.
Broken_Peepers [OP] 2 points 3y ago
I'm adding it to the default file.

ScriptOpenDSG ()
run ("iexplore http://www.websitename.com")
EndScript
CloudyBeep 1 points 3y ago
I'm not very good at scripting, but I just made this script:

Script OpenWebpage()
Run("www.reddit.com")
EndScript

Unfortunately, the webpage doesn't open.


I don't think you need to specify the application because it will use your default web browser.

I suggest asking on one of the scripting email lists—I think there's one on Freelists. If you do, tell me what they say.
This nonprofit website is run by volunteers.
Please contribute if you can. Thank you!
Our mission is to provide everyone with access to large-
scale community websites for the good of humanity.
Without ads, without tracking, without greed.
©2023 HumbleCat Inc   •   HumbleCat is a 501(c)3 nonprofit based in Michigan, USA.