Skip to main content

Open Window

Octory PRO
Element type: Dictionary
Availability: 2.1.0+

Open a one-slide window.

Keys

NameTypePossible valuesRequired
TypeStringOpenWindowRequired
SlideDictionary (Slide)-Required
PositionDictionary (Window Position)-
SizeDictionary (Size)-
IsClosableBoolean-
IsMovableBoolean-
ConditionDictionary (Condition)-

Detail

Type Required

Type: String
Explanation: The type of the action has to be OpenWindow.

Slide Required

Type: Dictionary (Slide)
Explanation: The slide that will be displayed in the window.

Position

Type: Dictionary (Window Position)
Explanation: The position of the window. Default is centered.

Size

Type: Dictionary (Size)
Default: 768 x 1280 Explanation: The size of the window, in points.

IsClosable

Type: Boolean
Default: true
Explanation: If true, the window displays the close button.

IsMovable

Type: Boolean
Default: true
Explanation: If true, the window can be moved with its title bar.

Condition

Type: Dictionary (Condition)
Explanation: Allows launch the action only based on a boolean expression.

Example

Open a window in the left center of the current screen.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- ... -->
<key>ActionSets</key>
<array>
<dict>
<key>Type</key>
<string>Parallel</string>
<key>Triggers</key>
<array>
<string>Custom(openInfoWindow)</string>
</array>
<key>Actions</key>
<array>
<dict>
<key>Type</key>
<string>OpenWindow</string>
<key>Position</key>
<dict>
<key>Vertical</key>
<string>Center</string>
<key>Horizontal</key>
<string>Left</string>
</dict>
<key>Size</key>
<dict>
<key>Height</key>
<integer>400</integer>
<key>Width</key>
<integer>300</integer>
</dict>
<key>Slide</key>
<dict>...</dict>
</dict>
</array>
</dict>
</array>
<!-- ... -->
</dict>
</plist>