Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about launcher_mode_v4 approach #1233

Open
acicovic opened this issue Oct 31, 2022 · 0 comments
Open

Question about launcher_mode_v4 approach #1233

acicovic opened this issue Oct 31, 2022 · 0 comments

Comments

@acicovic
Copy link

Hello there,

I see that the launcher_mode_v4 script builds the launcher by using two JSON blocks and a launcher_mode_v4 variable.

However, through my experimentation I've found that this shorter code works for me:

{
    "from": {
        "modifiers": {"mandatory": []},
        "simultaneous": [{"key_code": "o"},{"key_code": "m"}],
        "simultaneous_options": { "key_down_order": "strict", "key_up_order": "strict_inverse"}
    },
    "parameters": {"basic.simultaneous_threshold_milliseconds": 500},
    "to": [{"shell_command": "open -a 'my.app'"}],
    "type": "basic"
},

Does anybody know why the launcher_mode_v4 script uses that more complicated approach? What am I missing?

Thank you! 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant