Addon ID

  • mydatacontainer

Info

Statistics

  • Download count56 total downloads
  • Latest download count 56 downloads of latest version
  • Average download count1 downloads per day average

Owners

A list of all Actions, Conditions and Expressions supported in this addon.

Container

  • Actions

    Add file {0}

    Adds a file with the given name if it does not exist.

    Add property {0}

    Adds a property with the given name to all files if it does not exist.

    Set file {0} property {1} to {2}

    Sets the property value for the given file. If the property does not exist, creates it in all files (with null), then sets it in the named file.

    Set all files' {0} to {1}

    Sets the given property to the value in all files. Creates if it does not exist.

    Delete file {0}

    Deletes the file with the given name.

    Delete property {0}

    Deletes the property from all files.

    Clear all

    Deletes all files and properties.

    Load from JSON {0}

    Loads the container data from the given JSON string. Replaces existing data.

    Download to JSON file {0}

    Downloads the container data as a JSON file.

  • Conditions

    File {0} exists

    True if the file with the given name exists.

    Pick file {0}

    Picks the file with the given name if it exists, setting it as the current file.

    Pick file with highest {0}

    Picks the file with the highest value for the given property.

    Pick file with lowest {0}

    Picks the file with the lowest value for the given property.

    Pick random file

    Picks a random file.

    Pick weighted random file with highest {0}

    Picks a random file weighted by the property value (higher values more likely).

    Pick weighted random file with lowest {0}

    Picks a random file weighted inversely by the property value (lower values more likely).

    Pick last created file

    Picks the most recently added file.

    Pick all files

    Resets picking to all files (breaks out of specific picks).

    Pick files with {0} {1} {2}

    Picks files where the property value satisfies the comparison. Numeric comparisons treat missing/null as -∞; equality uses loose string coercion.

    For each file

    Repeats the event for each file.

    For each file ordered random

    Repeats the event for each file in random order.

    For each file ordered {0} descending

    Repeats the event for each file sorted by the property in descending order.

    For each file ordered {0} ascending

    Repeats the event for each file sorted by the property in ascending order.

    For each file alphabetical ascending

    Repeats the event for each file sorted alphabetically ascending.

    For each file alphabetical descending

    Repeats the event for each file sorted alphabetically descending.

    For each file {0} alphabetical ascending

    Repeats the event for each file sorted by the property alphabetically ascending.

    For each file {0} alphabetical descending

    Repeats the event for each file sorted by the property alphabetically descending.

    For each file weighted random highest {0}

    Repeats the event for each file in weighted random order by the property (higher values first).

    For each file weighted random lowest {0}

    Repeats the event for each file in weighted random order by the property (lower values first).

    On file {0} added

    Triggers when the specified file is added.

    On file {0} deleted

    Triggers when the specified file is deleted.

    On file {0} property {1} changed

    Triggers when the specified file's property changes.

    On any change

    Triggers on any change to files or properties.

  • Expressions

    CountFiles

    Number of files.

    CurFileName

    Current file name (in loops or after pick).

    CurProperty

    Current file's property value.

    FileProperty

    File's property value.

    AsJSON

    The entire container data as a JSON string.