Jump to content

onigirichan

Member
  • Posts

    2
  • Joined

  • Last visited

Reputation Activity

  1. Like
    onigirichan got a reaction from gregzacola in Key Combo not working   
    @Vero I played with it a bit more and I think that was part of the problem!
     
    I tried doing it with an apple script instead, which then prompted me for permissions to use System Events which I allowed. After I did this, i noticed that the example in this thread of opening the note app with a new note key combo worked. So maybe it needed that permission?

    I still have the issue with it sometimes not working because it wont focus the chrome console but if i start the command focused in chrome it seems to work well now while at least using apple script. This ended up being what worked for me

     
    tell application "Google Chrome" activate end tell tell application "System Events" tell process "Google Chrome" keystroke "j" using {command down, option down} delay 1 keystroke "v" using {command down} delay .5 key code 36 delay 2 keystroke "j" using {command down, option down} end tell end tell  
×
×
  • Create New...