Jump to content

Inconsistent Display Menu


Darin Franklin

Recommended Posts

The Display menu has three extra items on the top when I set the system language to German, Spanish, Italian, Korean, or Chinese.  The extra items are missing for English, French, Japanese, and Portuguese.
 
Hide Tab Bar
Show All Tabs
-- (separator)
 
This extra feature allows me to put multiple workspaces into tabs in a new tab bar above the regular Accordance tabs. However, when I restart Accordance, the workspaces go back to separate windows, so I think that this feature is unintentional.
 
This causes a problem for UI scripting with Applescript.  I want to reference the menu items by position instead of by name so that the script works for any language. The extra items throw off the numbering.
 

Accordance 13.1.4

macOS 10.14.6

  • Like 1
Link to comment
Share on other sites

I don't know why those items are there in some languages but not others, but we had to code around it as well.  Are you able to tell what selector a menu option is using via applescript?  Those two items should have the same selector whatever language they are in, so you should be able to tell if they are there without dealing with translations.  If not, you may have to release two versions of your script and users will have to figure out which one to run based on whether those items show up.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...