getsenic / nuimo-app-osx-actions

16 stars 6 forks source link

Add actions for the TIDAL desktop app. #20

Closed melwin closed 8 years ago

melwin commented 8 years ago

Actions for the TIDAL (http://tidal.com/) OSX app.

I use key code in this for the arrows but keystroke for the space. Not sure if that has a stable key code.

ejwill commented 8 years ago

@melwin I believe that keycodes are not the same across different language keyboards; @larsblumberg would have to weight in on this. I thinking selecting the opens from the menu would be better.

melwin commented 8 years ago

@ejwill Thanks for the comments! My understanding was that the key codes for the arrow keys were stable across languages, but I'm no AppleScript expert. Do you think the keystroke (ASCII character 29) is a better way? Or can we select an option from the menu in a language independent way with AppleScript that you think would be a better alternative?

melwin commented 8 years ago

@ejwill I saw you used key codes in the actions to switch space. Have you seen or heard about situations where this does not work? Do we need to change these actions as well you think to support languages/keyboards where the key codes are different? All I can find online seem to indicate that the key codes for the arrows are stable, but I'm not sure! What do you think?

larsblumberg commented 8 years ago

@melwin Arrow keys are the same across different keyboard layouts, they can be safely used.

melwin commented 8 years ago

@larsblumberg Great to know. Thanks!

ejwill commented 8 years ago

@larsblumberg perhaps we need to include a list of the key codes that are the same across keyboards in the readme or in the wiki

melwin commented 8 years ago

@larsblumberg There it is. Let me know if there is anything else you see.

larsblumberg commented 8 years ago

Thanks again @melwin!

larsblumberg commented 8 years ago

@ejwill: I agree that we should set up a wiki for those details