osx - Access context menu items by name using AppleScript -


I'm trying to use Apple script to click context menu items in logic pro, just click on menu Item by providing name It seems that this should be possible because I am able to provide keyboard shortcuts for these reference menu items and the name of the command using system preferences. For example, if you right click on the main edit window in the logic, then a menu pops up with an option called "Add audio file" ... "If I create a system priority keyboard shortcut for logic and Let it be the name of this menu item, it is able to execute just fine, I want to recreate it with a script, I can use the hierarchy to reach the normal menu item. I'm familiar with:

  Specify the procedure "Logic Pro" Show the menu bar 1 menu bar item "file" tell menu Click on the "file" menu menu item "save"  < / Pre> 

But as far as I know, there is no way to access the context menu (right click menu), which I want in this way. It seems that after the system preferences are able to do so, Use only a menu menu item based on The way to do it.

The logical pro script is not valid so I would recommend that you Use a system event to set up a keyboard shortcut

For entering the search mode for example (I think there is no logic pro, Because assuming a search mode)

  Application to tell the application "Logic Pro" Say "Logic Pro" keystroke "F" application process by using the "System events" command down end    

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -