Send Email Component

Post Reply
User avatar
Hopki
Gnome
Posts: 12999
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

To add to Pano2VR download the component and double click.

send_email.ggskc
(7.33 KiB) Downloaded 513 times

You will be asked to select a category, the default is User Defined.
To add the component to a skin, open the components toolbox and double-click the Send Mail component.
Once added to your skin the Skin Configuration button will be active.

Using the Skin Configuration button it is possible to preconfigure the e-mail address, subject and body text if required.

1.png
1.png (23.76 KiB) Viewed 25141 times

The component is made up of a rectangle and an SVG, so using the properties of the rectangle it is possible to change the shape using the Radius and colour using the colour picker.
For the SVG it is possible to use the Skin Editors Colour Tool to change the colour of the button graphic.
If the background rectangle is not required first move the e-mail graphic so it is now a parent element in the skins tree, then you can delete the rectangle.

How it works
The e-mail graphic has a Mouse Click, Go To URL action with a mailto: URL, which opens the local e-mail client.
The URL has preconfigured text using text variable placeholders.
The component uses exposed text variables which then allow customisation of the text through the Skin Configuration button.
To ensure the variables are added to the skin the rectangle element has a scaling logic block with all three variables added.
This does not do anything but for variables to be saved with the component they have to be used in a logic block.
The variables are added as soon as the component is added to the skin so deleting the rectangle if required will not cause any problems.
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply