What are the possible events for amp-story? - events

Is there one place to see all of the events for amp-story, events in the pipeline, and events that are never going to go live?
sample topics
clipboard events
drag events
mouse events
keyboard events
window event attributes
form events
media events
miscellaneous events such as ontoggle, which fires in HTML5 when the user opens or closes the element

I don't think such a list exists, but there are not currently any events that publishers can hook into, nor are there any pending.
You can always file a feature request with any specific use cases you might have.

Related

Create readonly calendar event with Microsoft Graph API

We'd like to use Microsoft Graph API to create calendar events in order to sync the calendar events of our own application with the ones in Outlook. However, in our application, we have time periods that are closed for altering. So, the events become read-only on our side. Now we need Outlook to behave accordingly. Is there a way to create a (or alter an existing event to a) read-only calendar event (prevent the user from changing the time frame or deleting an event)?
It is not sufficient for us to only listen to changes made in Outlook because it's forbidden on our side to delete an event that's already "closed" and without deleting it in our application, there would be an inconsistency in the data.

Dismissing Outlook reminders triggers MS Graph API event change notification and ChangeKey change, any way to avoid?

My app keeps track of users' calendar events via Microsoft Graph API. My database records each synced event's ChangeKey, which helps my app determine whether a event has changed and should be processed by business logic.
I also subscribe to the change notification API so that my app doesn't have to poll often.
What I found out lately is that whenever the user dismisses an event's "reminder" via Outlook (via the Outlook reminder popup), which is a very common thing to do as Outlook puts all calendar events on reminders automatically, the Graph API would send out change notification on that event.
That would have been fine – except that the event's ChangeKey actually changes, even though nothing material about the event has changed (date times/subject/body etc). Since my app uses the ChangeKey property to compare events, the business logic triggers unnecessarily.
Is this normal behavior and doesn't that nullify the practical purpose of ChangeKey? Is there any workaround other than giving up the use of this property, and instead manually check for the equality of each meaningful field for event equality?

How to listen an MailItem event in Mail Add-in?

I want to detect an event in Mail Add-in. In Outlook, thick/desktop version, we can detect the mail event, such as MailItem.Send and MailItem.AttachmentAdd.
Is it possible to listen to these events in Outlook online?
Unfortunately there are almost no events of any kind in the Mailbox API, other than asynchronous callbacks that are only fired when you initiate them. There is nothing that I'm aware of that can be used to detect item send or attachment modification events.
The closest option is to use the Outlook Notifications REST API (https://msdn.microsoft.com/office/office365/APi/notify-rest-operations), but these are more suitable to monitoring item/folder level changes. Perhaps you can hook into a notification for the Sent Items folder to approximate a MailItem.Send operation, or watch changes to a draft item to detect a newly added attachment.
nop. you can't do this. Office Apps can't interact with buttons or actions on the client apps such as: Outlook.

prevent outlook from deleting recurring event

I have a plugin which syncs read-only shared calendars in Outlook with our collaboration system. I need to make sure the user cannot delete any appointments in these read-only calendars. It's possible to attach an event handler to any appointment in Outlook (this works) but it won't work for recurring events. Each occurrence in the recurrence pattern is a separate object in Outlook, and the app must attach an event handler to each of such objects. If the recurrence pattern is endless (which is quite popular for such appointments), the app should attach infinite number of event handlers.
Is it possible to attach an event handler to some of kind of a grouping object (if such entity exists) for all occurrences at once, or is there any other method of solving my task?
When an instance of a recurring appointment is deleted, the master appointment will be modified. You can intercept that change by subscribing to the AppointmentItem.Write event, whcih has the Cancel parameter.

How do I hook another applications events?

I'd like to hook the event that is triggered when an application is trying to notify you of something (when its icon background turns orange and starts flashing) so that I can create my own custom notifications (like getting a text message or email)
For example I'd like to have an event triggered when I receive an instant message on my computer that will send a message to my phone so I can respond appropriately.
How would I go about doing this?
Preferably I'd like something that could hook any notification event (then do the filtering inside the application, and something that works on windows XP and up)
Thanks
Duplicate of How can I determine which taskbar application/windows are requesting user attention ? Anyway, use RegisterShellHookWindow and catch HSHELL_FLASH

Resources