Search found 12 matches

by connorwb93
24 Apr 2017, 01:16
Forum: Ask For Help
Topic: Reverse Behavior Of Shift Key
Replies: 0
Views: 185

Reverse Behavior Of Shift Key

This feels like it should be easy. I want to reverse the behavior of the shift key. While it is pressed down, the system should think it is not engaged. When released, the system should think it is engaged. Here's my attempt. I'm not sure if the * vs the $ prefix matters here? Neither seem to work. ...
by connorwb93
10 Apr 2017, 04:24
Forum: Ask For Help
Topic: Remap brightness shortcut on Surface Book
Replies: 1
Views: 628

Re: Remap brightness shortcut on Surface Book

I don't have a solution for you, but I also have a surface book and stumbled on your post and the fn-del/backspace command is incredibly helpful. Thanks.

I did play around with it for a second and the key history doesn't register the Fn key (or Fn+del). Odd.
by connorwb93
04 Apr 2017, 06:25
Forum: Ask For Help
Topic: AHK-Python Process Communication
Replies: 16
Views: 1375

Re: AHK-Python Process Communication

The percent mark syntax strikes again... thanks
by connorwb93
03 Apr 2017, 00:48
Forum: Ask For Help
Topic: AHK-Python Process Communication
Replies: 16
Views: 1375

Re: AHK-Python Process Communication

I think the backspacing mixing with user keyboard input is the biggest problem, but it also seems like it might be actually modifying what is sent to the server somehow (like rapid keypresses after hitting space are fowling up the word before it is sent), but that is probably an unrelated issue. I c...
by connorwb93
02 Apr 2017, 05:11
Forum: Scripts and Functions
Topic: TypingAid v2.22.0 - Word AutoCompletion Utility
Replies: 177
Views: 46671

Re: TypingAid v2.22.0 - Word AutoCompletion Utility

Just chiming in to say that I am working on a semi-related autocorrect project, and this script is super cool.
by connorwb93
02 Apr 2017, 04:47
Forum: Ask For Help
Topic: AHK-Python Process Communication
Replies: 16
Views: 1375

Re: AHK-Python Process Communication

(thanks again for the answers) This project is much farther along now (!) - I'll post the rest of it at some point if it gets to a semi-useful state. At this point I have: - AHK tracking words I type - AHK submitting words to the python script for evaluation - the python script returns the best dict...
by connorwb93
23 Mar 2017, 19:58
Forum: Ask For Help
Topic: AHK-Python Process Communication
Replies: 16
Views: 1375

Re: AHK-Python Process Communication

That worked! I was assuming that 64-bit Python would make a 64-bit COM server, but it does not. Thanks. I do want the Python program to be the server. Am I misunderstanding the purpose of ObjRegisterActive, or does it not make sense to use it in that case? EDIT: in the off chance someone else needs ...
by connorwb93
21 Mar 2017, 19:18
Forum: Ask For Help
Topic: AHK-Python Process Communication
Replies: 16
Views: 1375

Re: AHK-Python Process Communication

I have been looking at the documentation, but don't know how to debug it with the given info. ComObjActive() throws an "operation unavailable" error. All the examples in this thread https://autohotkey.com/board/topic/56987-com-object-reference-autohotkey-v11/page-1 just use create, so it seems like ...
by connorwb93
21 Mar 2017, 02:57
Forum: Ask For Help
Topic: AHK-Python Process Communication
Replies: 16
Views: 1375

Re: AHK-Python Process Communication

Ok, new question: After a lot of thrashing around, I have a working Python COM server. I tested it with a Python client. Now I'm trying to test it with an AHK client, simply calling ComObjCreate() and pinging it. I ran into this error on running the script: "The specified module could not be found" ...
by connorwb93
21 Mar 2017, 02:41
Forum: Ask For Help
Topic: AHK-Python Process Communication
Replies: 16
Views: 1375

Re: AHK-Python Process Communication

For future reference, so you consistently get the answers your looking for, you should state that other implementations aren't what you're looking for, if applicable. That's usually a go-to thing for those helping, as to not have to re-write code if not necessary. Also, you should be able to run an...
by connorwb93
20 Mar 2017, 02:50
Forum: Ask For Help
Topic: AHK-Python Process Communication
Replies: 16
Views: 1375

Re: AHK-Python Process Communication

Masonjar13 - I'm familiar with that, but got frustrated with it and think that a more thorough version could work a lot better - the idea being to take a string that isn't in a dictionary and return any dictionary strings that are close to it and pick the best one. It requires more complicated data ...
by connorwb93
20 Mar 2017, 01:04
Forum: Ask For Help
Topic: AHK-Python Process Communication
Replies: 16
Views: 1375

AHK-Python Process Communication

My question is about COM, but for some background: I'm trying to write a general autocorrect program for Windows. I want to write the actual engine in a more traditional language (e.g. Python) because it is somewhat complicated and I am also unsure of how efficiently AHK's associative arrays are imp...

Go to advanced search