n objects?|disk( item)?s?|domains?|file( package)?s?|folders?|items?)\b
      scope: support.class.system-events.disk-folder-file.applescript
    - match: \b(delete|open|move)\b
      scope: support.function.system-events.disk-folder-file.applescript
    - match: \b(folder actions?|scripts?)\b
      scope: support.class.system-events.folder-actions.applescript
    - match: \b(attach action to|attached scripts|edit action of|remove action from)\b
      scope: support.function.system-events.folder-actions.applescript
    - match: \b(movie data|movie file)\b
      scope: support.class.system-events.movie-file.applescript
    - match: \b(log out|restart|shut down|sleep)\b
      scope: support.function.system-events.power.applescript
    - match: \b(((application |desk accessory )?process|(check|combo )?box)(es)?|(action|attribute|browser|(busy|progress|relevance) indicator|color well|column|drawer|group|grow area|image|incrementor|list|menu( bar)?( item)?|(menu |pop up |radio )?button|outline|(radio|tab|splitter) group|row|scroll (area|bar)|sheet|slider|splitter|static text|table|text (area|field)|tool bar|UI element|window)s?)\b
      scope: support.class.system-events.processes.applescript
    - match: \b(click|key code|keystroke|perform|select)\b
      scope: support.function.system-events.processes.applescript
    - match: \b(property list (file|item))\b
      scope: support.class.system-events.property-list.applescript
    - match: \b(annotation|QuickTime (data|file)|track)s?\b
      scope: support.class.system-events.quicktime-file.applescript
    - match: \b((abort|begin|end) transaction)\b
      scope: support.function.system-events.system-events.applescript
    - match: \b(XML (attribute|data|element|file)s?)\b
      scope: support.class.system-events.xml.applescript
    - match: \b(print settings|users?|login items?)\b
      scope: support.class.system-events.other.applescript
  textmate:
    - match: \b(print settings)\b
      scope: support.class.textmate.applescript
    - match: \b(get url|insert|reload bundles)\b
      scope: support.function.textmate.applescript
PK