Floorplan Scripts3

From XAP Automation
Jump to: navigation, search

Using Raw Devices to get Floorplan to announce e-mails

In Floorplan ( other apps are similar) you would create two raw xAP devices with the following details

------------ --------- --------- ----
Alias=New Mail Subject
Source=kcsoft.pop3.server
Class=mail.incoming.new
Section=message
Item=subject
------------ --------- --------- -----
Alias=New Mail From
Source=kcsoft.pop3.server
Class=mail.incoming.new
Section=message
Item=from
------------ --------- --------- ------

Now create a new auto script called 'NewEmail' Select Text to Speech from the list in the Phrase to say box enter 'New email from %%New Mail From%% about %%New Mail Subject%%'

Click Update

Now you have the components you just need to link them. Go back to the New Mail Subject raw device and in the drop down list 'Script to run on update' select '.newemail'.


Now new email will be converted and spoken. This is just a simple example. You can get more complicated and use a normal script(VBScript) rather than the auto script and could then program more rules to follow, like only speak before 10pm or with a bit more work, only speak before 10pm and only if the phone is on the hook.