Search found 124 matches
- 02 Jun 2023, 13:10
- Forum: Ask for Help (v1)
- Topic: Can you make Dragon NaturallySpeaking talk using an autohotkey script?
- Replies: 21
- Views: 7183
Re: Can you make Dragon NaturallySpeaking talk using an autohotkey script?
Tested and works: DGNSpeechEngine := ComObjCreate("Dragon.DgnEngineControl") try { CMDGNSpeechEngine["Engine"].Register(0) } catch { MsgBox, Can´t access Dragon. } v:=DGNSpeechEngine.Option(0x11) // returns 0 if not set, -1 if set; setting the option with 1 seems to work fine though msgbox, % v v:=n...
- 26 May 2023, 13:54
- Forum: Ask for Help (v1)
- Topic: Can you make Dragon NaturallySpeaking talk using an autohotkey script?
- Replies: 21
- Views: 7183
Re: Can you make Dragon NaturallySpeaking talk using an autohotkey script?
I'm nowhere near my gear, so I can't look anything up but at the very least you need to use
:=
instead of
=
Read up on the difference in the AHK help as it's rather crucial
:=
instead of
=
Read up on the difference in the AHK help as it's rather crucial
- 09 Oct 2021, 04:44
- Forum: Ask for Help (v1)
- Topic: Controlling a JAVA Interface?
- Replies: 17
- Views: 5521
Re: Controlling a JAVA Interface?
Hi! Sorry for the late reply. It seems I don't get notified about replies by mail anymore. There might be a number of things (I don't have TOS and have no plan to sign up just for testing either): - TOS comes with its own JRE according to their download website. You need to find that version, check ...
- 29 Jan 2021, 11:49
- Forum: Ask for Help (v1)
- Topic: AHK & Java Access Bridge
- Replies: 22
- Views: 10353
Re: AHK & Java Access Bridge
Sorry...missed your point when looking at your screenshot. Do you have any form of screen scaling active? This can mess things up and might need workarounds (have a look around the forum as there are several different issues if I remember correctly). Otherwise you should first test if MouseGetPos an...
- 27 Jan 2021, 05:47
- Forum: Ask for Help (v1)
- Topic: AHK & Java Access Bridge
- Replies: 22
- Views: 10353
Re: AHK & Java Access Bridge
The "left click" command puts an actual mouse click in the middle of the control, so if the control is not visible (off-screen or covered by something) this cannot work. There is the "click" command which activates the click action of the control through the access bridge api and could also work if ...
- 26 Jan 2021, 03:58
- Forum: Ask for Help (v1)
- Topic: AHK & Java Access Bridge
- Replies: 22
- Views: 10353
Re: AHK & Java Access Bridge
Hi pythonker, I just tried it and for me this code works: F11:: if !InitJavaAccessBridge() { msgbox, JAB not loaded! } rval:=JavaControlDoAction(0, "Search Everywhere", "push button", "", "1", "left click") return F12:: if !InitJavaAccessBridge() { msgbox, JAB not loaded! } rval:=JavaControlDoAction...
- 03 Nov 2020, 14:11
- Forum: Ask for Help (v1)
- Topic: Can you make Dragon NaturallySpeaking talk using an autohotkey script?
- Replies: 21
- Views: 7183
Re: Can you make Dragon NaturallySpeaking talk using an autohotkey script?
The script just needs the same folder structure as in Github, so unpacking the zip as is to (almost) anywhere (c:\copy, Documents, or whatever...) should do fine.
Are you forcing AHK to run in that folder instead of the script folder maybe?
Are you forcing AHK to run in that folder instead of the script folder maybe?
- 03 Nov 2020, 11:18
- Forum: Ask for Help (v1)
- Topic: Can you make Dragon NaturallySpeaking talk using an autohotkey script?
- Replies: 21
- Views: 7183
Re: Can you make Dragon NaturallySpeaking talk using an autohotkey script?
You need to download all the files, not just the one ahk file. Best choose download as zip and unpack on your machine.
- 02 Nov 2020, 16:05
- Forum: Ask for Help (v1)
- Topic: Can you make Dragon NaturallySpeaking talk using an autohotkey script?
- Replies: 21
- Views: 7183
Re: Can you make Dragon NaturallySpeaking talk using an autohotkey script?
Sorry, can't say as I don't have access to the Dragon Practice versions. Your first step should be to look at the manuals and help files that come with it (shocking, I know...). The normal Dragon comes with a help file explaining a good part of the API. If that doesn't help and you want to find out ...
- 14 Jun 2020, 02:16
- Forum: Ask for Help (v1)
- Topic: Short voice dictation snippets?
- Replies: 1
- Views: 1331
Re: Short voice dictation snippets?
Hi! Are you looking for completely free dictation as in you can say anything you want and it gets reliably recognized or are you looking for something to dictate pieces of text that have a recurring structure and vocabulary? If you need completely free dictation no script in itself will help you. Th...
- 28 Jan 2020, 05:16
- Forum: Ask for Help (v1)
- Topic: AHK keyboard hook + AHKHID causing buggy behavior
- Replies: 6
- Views: 4056
Re: AHK keyboard hook + AHKHID causing buggy behavior
Nope. Never solved it.
- 17 Dec 2019, 12:45
- Forum: Ask for Help (v1)
- Topic: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
- Replies: 28
- Views: 4046
Re: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
Hi! With blind clicks I mean clicking some position in a window without being able to know or confirm if what you want to click is actually (still) there. For a non-programmer I would honestly not bother with UIA, as there is AFAIK no user friendly package out there for AHK (can't publish my own wra...
- 16 Dec 2019, 12:06
- Forum: Ask for Help (v1)
- Topic: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
- Replies: 28
- Views: 4046
Re: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
Hi there! Out of interest in video editing I just had a quick look around in their trial version with UIA (should be equal to MSAA in almost all cases). Only about one third of the controls seems to be (halfway) correctly registered and can be controlled by UIA, some more show up as empty panes wher...
- 24 Sep 2019, 10:24
- Forum: Ask for Help (v1)
- Topic: AHK & Java Access Bridge
- Replies: 22
- Views: 10353
Re: AHK & Java Access Bridge
Hi netaware,
sorry but your description is a bit too vague to say anything...
Which file exactly did you run and what error did you get? Also helpful would be the AHK version 32/64bit and the installed JRE also 32/64bit.
Regards,
Elgin
sorry but your description is a bit too vague to say anything...
Which file exactly did you run and what error did you get? Also helpful would be the AHK version 32/64bit and the installed JRE also 32/64bit.
Regards,
Elgin
- 06 Jan 2019, 04:41
- Forum: Ask for Help (v1)
- Topic: AHK & Java Access Bridge
- Replies: 22
- Views: 10353
Re: AHK & Java Access Bridge
Would it be possible to check if specific textbox is visible ? See code below. Press F10. Or will it only be possible to check what is the current focused control (as textbox will not be focused when opening) ? Press F12 to get the current focused control. If I got the current focused control of ea...
- 05 Jan 2019, 18:27
- Forum: Ask for Help (v1)
- Topic: AHK & Java Access Bridge
- Replies: 22
- Views: 10353
Re: AHK & Java Access Bridge
The dlls are installed as part of the JRE, not the JDK; looks like someone took a shortcut when preparing that VM ;-) To check which frame is active you have several options depending on how often you need to do it: a) call GetAccessibleContextWithFocus() to get the current focused control at that m...
- 04 Jan 2019, 18:40
- Forum: Ask for Help (v1)
- Topic: AHK & Java Access Bridge
- Replies: 22
- Views: 10353
Re: AHK & Java Access Bridge
Did you try the 32 bit unicode version of AHK since you only have 32bit Java? For me my code starts/stops working in the same situations as the java access bridge explorer. I only did a few tests, though... Otherwise you could try to insert a few Msgbox commands into InitJavaAccessBridge() in the co...
- 04 Jan 2019, 16:09
- Forum: Ask for Help (v1)
- Topic: AHK & Java Access Bridge
- Replies: 22
- Views: 10353
Re: AHK & Java Access Bridge
Hi! The most current code is here: https://github.com/Elgin1/Java-Access-Bridge-for-AHK I just tested it with Win10, Java 1.8.0_191 32 and 64 bit, AHK 1.1.30.01 64 bit and it works here. The error messages you describe could occur if the Java access bridge is not enabled or AHK can't access the dll:...
- 28 Oct 2018, 08:37
- Forum: Ask for Help (v1)
- Topic: Controlclick in Java based program
- Replies: 7
- Views: 2255
Re: Controlclick in Java based program
That would be doing the click action or the focus action of a control, depending on the type of the control. No relative (or other) coordinates involved, though...
- 28 Oct 2018, 07:41
- Forum: Ask for Help (v1)
- Topic: Controlclick in Java based program
- Replies: 7
- Views: 2255
Re: Controlclick in Java based program
You can use it to get the screen coordinates of a Java control an then do a mouse click there, if that's what you're looling for.