Wiki

Clone wiki

AppleScript IDEA / Home

How to AppleScript in IDEA

Working with scriptable applications

  • Use predefined Live Templates: “tellap”, “useapp” and create your own: "tellap" live templete installed applications completion

  • Use Intention Action for creating application dictionary if the application was not found: Screen Shot 2016-01-09 at 13.39.25.png

Choose either the application bundle or application dictionary file if the application is not installed but it’s dictionary file is available (xml or sdef extensions): Screen Shot 2016-01-09 at 13.41.28.png The action is also available via File menu (File | Load Dictionary).

For example, you can choose dictionary file to load when working on Windows or Linux. Running scripts will not be possible but intellisense will work: Screen Shot 2016-01-09 at 13.43.55.png

##Use other IntelliJ IDEA features while working with code: - Basic Code Completion - Code navigation - Structure tool window - Find usages - Rename refactoring - Browsing documentation - Code reformat - Customize Colors and Fonts

Screen Shot 2016-01-09 at 16.13.50.png

###There are still some fixes TODO: - parser tuning, including case-insensitivity - resolve for some cases with different visibility scopes in scripts - auto-formatting of generated dictionary file - code generate action for common constructs (user handlers, OS interaction scenarios, other statements) - your reports and suggestions

###Download - IntelliJ plugins repository

Updated