GithubHelp home page GithubHelp logo

Comments (5)

haata avatar haata commented on May 28, 2024

So, a range like U["Q"-"Y"] is usually for a trigger part of the macro rather than the result.

So I'd think U["Q"-"Y'], U["Enter"] : U["Q"]; to be any key from Q till Y then Enter to result in Q.

For the output, a range makes less sense, it would be up to the compiler which key in the range to output from that trigger.

Perhaps give me an explicit example and then I can let you know how to build it (or whether it's actually possible using the USB spec).

from controller.

kaansoral avatar kaansoral commented on May 28, 2024

What I want is: (this is on a function layer)

U"I" -> F13 keydown + F13 keyup + I keydown + I keyup + F13 keydown + F13 keyup

F13 switches the language, I becomes the local version, second F13 restores the language to english

I tried
U"I" : U"F13",U"I",U"F13"
U"I" : U"F13"+U"I"+U"F13"

none worked, one of these half works

from controller.

haata avatar haata commented on May 28, 2024

So
U"I" : U"F13",U"I",U"F13";
is what you want (that's a sequence).

Now, depending on the program, this may actually be sending the key commands too quickly. This works great for typing sentences, but sometimes programs can't handle it. I am working on a time delay mechanism as well that may help out.

(I'm not discounting bugs, because that may be the case as well).

from controller.

kaansoral avatar kaansoral commented on May 28, 2024

The osx system handles the F13, so one would expect it to act fast

U"I" : U"A",U"B",U"C",U"D";
U"U" : U"F13",U"I",U"F13";
U"Y" : U"F13";
U"T" : U"X",U"O",U"X";

Everything except the U"U" works, so it's most probably speed like you suspected

from controller.

unphased avatar unphased commented on May 28, 2024

I agree it would be great if we can specify a milliseconds delay as something that can be used in output sequences. Seems like a pretty necessary part of any macro system.

I bet you can find out what is causing the problem by using a key scripting program to fire off those F13 keypresses and see if it stops functioning at a particular speed.

from controller.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.