protonmail
This directory contains Talon scripts for interacting with the ProtonMail web application.
The file protonmail.talon
defines a variety of commands for navigating and managing emails, as well as interacting with the composer, contacts, and general application functions.
The script is triggered when the active window title contains "ProtonMail". It provides commands for:
- General application actions: Opening help, focusing on the search bar, confirming active elements, closing active elements, and opening the command palette.
- Composer actions: Creating a new message, sending, and saving messages.
- Mail navigation: Jumping to different inboxes (inbox, drafts, sent, starred, archive, spam, trash). It also includes commands for navigating between messages (previous, next, newer, older) and exiting or entering a message.
- Threadlist actions: Selecting and deselecting messages, marking messages as read or unread, starring messages, and moving messages to various folders (inbox, trash, archive, spam).
- Mail actions: Replying, replying all, and forwarding.
- Contact list actions: Navigating contacts, entering a contact, and deleting a contact.
- Contact detail actions: Exiting and saving contact details.
The script uses common Talon commands, such as key()
to send keystrokes to the application. Many commands use a sequence of keys to accomplish an action; for example, the command to "jump to inbox" sends key(g)
followed by key(i)
.