Skip to content

Screenshot event

Tkael edited this page Jun 20, 2021 · 10 revisions

Triggered when you take a screenshot.

When using this event in the Speech responder the information about this event is available under the event object. The available variables are as follows:

  • {event.body} - The name of the nearest body to where the screenshot was taken

  • {event.filename} - The name of the file where the screenshot has been saved

  • {event.height} - The height in pixels of the screenshot

  • {event.latitude} - The latitude where the screenshot was taken (if applicable)

  • {event.longitude} - The longitude where the screenshot was taken (if applicable)

  • {event.system} - The name of the system where the screenshot was taken

  • {event.width} - The width in pixels of the screenshot

To respond to this event in VoiceAttack, create a command entitled ((EDDI screenshot)). VoiceAttack variables will be generated to allow you to access the event information.

The following VoiceAttack variables are available for this event:

  • {TXT:EDDI screenshot body} - The name of the nearest body to where the screenshot was taken

  • {TXT:EDDI screenshot filename} - The name of the file where the screenshot has been saved

  • {INT:EDDI screenshot height} - The height in pixels of the screenshot

  • {DEC:EDDI screenshot latitude} - The latitude where the screenshot was taken (if applicable)

  • {DEC:EDDI screenshot longitude} - The longitude where the screenshot was taken (if applicable)

  • {TXT:EDDI screenshot system} - The name of the system where the screenshot was taken

  • {INT:EDDI screenshot width} - The width in pixels of the screenshot

For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.

Clone this wiki locally