<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://machomeautomation.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://machomeautomation.com/feed.php">
        <title>XTension dictionary:events</title>
        <description></description>
        <link>http://machomeautomation.com/</link>
        <image rdf:resource="http://machomeautomation.com/lib/images/favicon.ico" />
       <dc:date>2010-09-10T13:21:41-04:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://machomeautomation.com/doku.php/dictionary/events/allevents?rev=1254082263&amp;do=diff"/>
                <rdf:li rdf:resource="http://machomeautomation.com/doku.php/dictionary/events/createevent?rev=1254081021&amp;do=diff"/>
                <rdf:li rdf:resource="http://machomeautomation.com/doku.php/dictionary/events/executescript?rev=1254080504&amp;do=diff"/>
                <rdf:li rdf:resource="http://machomeautomation.com/doku.php/dictionary/events/index?rev=1254080386&amp;do=diff"/>
                <rdf:li rdf:resource="http://machomeautomation.com/doku.php/dictionary/events/remove?rev=1254082027&amp;do=diff"/>
                <rdf:li rdf:resource="http://machomeautomation.com/doku.php/dictionary/events/removeunitevents?rev=1254082128&amp;do=diff"/>
                <rdf:li rdf:resource="http://machomeautomation.com/doku.php/dictionary/events/suspend?rev=1254081793&amp;do=diff"/>
                <rdf:li rdf:resource="http://machomeautomation.com/doku.php/dictionary/events/thisscript?rev=1254172448&amp;do=diff"/>
                <rdf:li rdf:resource="http://machomeautomation.com/doku.php/dictionary/events/unsuspend?rev=1254081948&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://machomeautomation.com/lib/images/favicon.ico">
        <title>XTension</title>
        <link>http://machomeautomation.com/</link>
        <url>http://machomeautomation.com/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://machomeautomation.com/doku.php/dictionary/events/allevents?rev=1254082263&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-27T16:11:03-04:00</dc:date>
        <title>All Events</title>
        <link>http://machomeautomation.com/doku.php/dictionary/events/allevents?rev=1254082263&amp;do=diff</link>
        <description>All Events

This verb returns an AppleScript list of the names of all scheduled events ordered by scheduled date.

Usage:

all events

Examples:


set EventList to all events

repeat with ThisEventName in EventList
   write log &quot;got event named: &quot; &amp; ThisEventName
end repeat</description>
    </item>
    <item rdf:about="http://machomeautomation.com/doku.php/dictionary/events/createevent?rev=1254081021&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-27T15:50:21-04:00</dc:date>
        <title>Create Event</title>
        <link>http://machomeautomation.com/doku.php/dictionary/events/createevent?rev=1254081021&amp;do=diff</link>
        <description>Create Event

This verb creates a new scheduled event with the explicit start time and repeat period. You can turn on/off, dim or toggle a unit, execute a script or speak a phrase. You can even randomize the event and choose the weekdays.

Usage:

create event (event name, or blank and XTension will create one for you)

that (command: turnson/turnsoff/toggles/executes/dims/presets/blocks/unblocks)

unit|script (name of the unit or the script to act upon)</description>
    </item>
    <item rdf:about="http://machomeautomation.com/doku.php/dictionary/events/executescript?rev=1254080504&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-27T15:41:44-04:00</dc:date>
        <title>Execute Script</title>
        <link>http://machomeautomation.com/doku.php/dictionary/events/executescript?rev=1254080504&amp;do=diff</link>
        <description>Execute Script

This verb allows any script to execute any Global Script by name.

Usage:

execute script (name of a global script)

Optional Parameters:

in (integer, creates a scheduled event that executes the script in this many seconds)</description>
    </item>
    <item rdf:about="http://machomeautomation.com/doku.php/dictionary/events/index?rev=1254080386&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-27T15:39:46-04:00</dc:date>
        <title>Scheduled Event Verbs</title>
        <link>http://machomeautomation.com/doku.php/dictionary/events/index?rev=1254080386&amp;do=diff</link>
        <description>Scheduled Event Verbs


Verbs dealing with creating and manipulation scheduled events.</description>
    </item>
    <item rdf:about="http://machomeautomation.com/doku.php/dictionary/events/remove?rev=1254082027&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-27T16:07:07-04:00</dc:date>
        <title>Remove Event</title>
        <link>http://machomeautomation.com/doku.php/dictionary/events/remove?rev=1254082027&amp;do=diff</link>
        <description>Remove Event

Removes a named event.

Usage:

remove event (name of the event)

Notes:

This only works on named events created via the “create event” verb or via the scheduled event window. It does not work for events created automatically in the case of commands like “turnon MyUnit for 10 * minutes”</description>
    </item>
    <item rdf:about="http://machomeautomation.com/doku.php/dictionary/events/removeunitevents?rev=1254082128&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-27T16:08:48-04:00</dc:date>
        <title>Remove Unit Events</title>
        <link>http://machomeautomation.com/doku.php/dictionary/events/removeunitevents?rev=1254082128&amp;do=diff</link>
        <description>Remove Unit Events

Removes all automatically created scheduled events upcoming for a unit or a script.

Usage:

remove unit events (unit name or script name)

Notes:

for cleaning up any hanging events created by doing scripts like “turnon “my light” for 10 * minutes”



also works for scripts schedule via the “execute script “what” in 50 * mintues” command.</description>
    </item>
    <item rdf:about="http://machomeautomation.com/doku.php/dictionary/events/suspend?rev=1254081793&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-27T16:03:13-04:00</dc:date>
        <title>Suspend Event</title>
        <link>http://machomeautomation.com/doku.php/dictionary/events/suspend?rev=1254081793&amp;do=diff</link>
        <description>Suspend Event

This verb suspends or delays the execution of a scheduled event. It is also very useful for motion actions and other things that need to manipulate timed events.

Usage:

suspend event (name of event, or unit or script)

Optional Parameters

for (integer, resets the action time of the named event to this interval from now)

until (date, resets the action time of the named event to this date)</description>
    </item>
    <item rdf:about="http://machomeautomation.com/doku.php/dictionary/events/thisscript?rev=1254172448&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-28T17:14:08-04:00</dc:date>
        <title>This Script</title>
        <link>http://machomeautomation.com/doku.php/dictionary/events/thisscript?rev=1254172448&amp;do=diff</link>
        <description>This Script

while running a global script this verb can be used to get the name of the currently running script. So if you need to reference the script you can do so with this so that if you want to change the name of the script later you wont have to do a lot of script editing. This is only set during the running of a global script.</description>
    </item>
    <item rdf:about="http://machomeautomation.com/doku.php/dictionary/events/unsuspend?rev=1254081948&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-27T16:05:48-04:00</dc:date>
        <title>Unsuspend Event</title>
        <link>http://machomeautomation.com/doku.php/dictionary/events/unsuspend?rev=1254081948&amp;do=diff</link>
        <description>Unsuspend Event

Unsuspends an event suspended indefinitely by the suspend event verb without a time frame or via the suspend event button on the schedule event list window.

Usage:

unsuspend event (name of the event)

Notes:

This command only works for named events, not for automatically created events for units or scripts.</description>
    </item>
</rdf:RDF>
