Occurs when a ghost is booted for the first time.
In SSP, if no script is returned for the event (204), OnBoot will occur afterwards.
Occurs when a ghost is booted.
In SSP, if no script is returned for OnGhostChanged, OnGhostCalled, OnFirstBoot, or OnVanished (204), this event will occur afterwards.
Occurs when instructed to close.
In SSP, if no script is returned for OnGhostChanging or OnCloseAll (204), this event will occur afterwards.
Occurs when SSP itself is closed.
Also occurs when "Quit" is selected in the right-click menu, when "Close" is selected if only one ghost is open, or when SSP closes due to the OS shutting down.
Occurs when changed to from another ghost.
In SSP, if no script is returned for the event (204), OnBoot will occur afterwards.
Occurs when instructed to change to another ghost.
In SSP, if no script is returned for the event (204), OnClose will occur afterwards.
Occurs when the ghost is called by another ghost.
In SSP, if no script is returned for the event (204), OnBoot will occur afterwards.
Occurs when instructed to call another ghost.
Occurs after another ghost has been called and finishes the booting script.
Occurs when a separate ghost, called by another, finishes booting.
In other words, this event occurs in an unrelated ghost at the same timing as when OnGhostCallComplete occurs in the ghost that did the calling.
Occurs when a separate ghost changes to another.
Occurs when another ghost is closed while multiple ghosts are open.
Occurs when the shell has been changed.
Occurs when changing to another shell.
Occurs when a dressup has been changed.
When this event is notified multiple times, the very last OnDressupChanged uses [GET], and the others use [NOTIFY].
Refer to OnNotifyDressupInfo, which occurs after this event.
Occurs when the balloon is changed.
Occurs when the ghost is unminimized.
Occurs when instructed to minimize.
※SSP only: Making the ghost talk is possible in the settings.
Occurs when SSP is minimized from an application launching in full-screen display.
Overwritten by OnWindowStateMinimize, which occurs during normal minimization.
Occurs when SSP is unminimized from an application ending full-screen display.
Overwritten by OnWindowStateRestore, which occurs during normal unminimization.
Occurs when the virtual desktop has changed.
Currently only works on Windows 10.
This is an experimental function, and as such there is a strong chance that the functioning will change in future.
Occurs when the ghost cache is suspended.
Occurs when the ghost cache is restored.
Occurs on booting. [NOTIFY]
Occurs when instructed to close. [NOTIFY]
Occurs when the system is resumed from sleep or hibernation.
Occurs when the system enters sleep or hibernation. [NOTIFY]
Occurs when the baseware's file download has finished and before the update installation starts. If there is no reaction to this event, OnCloseAll and then OnClose will occur instead.
Occurs when the ghost boots after the baseware has finished updating. If there is no reaction to this event, OnBoot will occur instead.
Occurs when the TeachBox is opened.
Occurs when the TeachBox is closed.
Occurs when something is input into the TeachBox.
Occurs when a script is received from the CommunicateBox or from another ghost.
Occurs when the CommunicateBox is closed.
Occurs when something is input and confirmed in the InputBox.
Refer to InputBox IDs.
Occurs when the InputBox is closed.
Occurs when the box is opened. If a list of text separated by the 1-byte value is returned to this event, the autocomplete function will active in the InputBox.
(WinMe/2000 onwards)
Occurs when Save/OK buttons are pressed for dialog related to files.
Occurs when the Cancel button is pressed for dialog related to files.
Occurs when a page is clicked from the Preferences dialog's help button.
The dialog ID. The correspondence between the type and the page is as below.
Occurs when the ghost's terms of use are agreed to.
No event occurs if the terms of use are closed using the upper right button.
Occurs when the ghost's terms of use are declined.
No event occurs if the terms of use are closed using the upper right button.
Occurs every second.
When talking is disabled, the event is notified with NOTIFY, and Reference3 is 0. The returned script will be ignored.
Occurs every minute.
When talking is disabled, the event is notified with NOTIFY, and Reference3 is 0. The returned script will be ignored.
The time signal event. Occurs at the start of every hour (around x:00:00).
When talking is disabled, this event waits until it is enabled. Due to that, this event will occasionally be notified at inaccurate times.
Occurs when instructed to uninstall.
Occurs when "YES" is selected for the confirmation dialog.
Occurs when "NO" is selected for the confirmation dialog.
Occurs when the uninstall event is interrupted by double clicking.
Occurs when booted due to the previous ghost being uninstalled.
In SSP, if no script is returned for the event (204), OnBoot will occur afterwards.
Furthermore, in SSP, if another ghost that was open at the same time is uninstalled and no script is returned for OnOtherGhostVanished, this event will occur instead. In this situation, OnBoot is not used as a fallback.
Occurs when another ghost is uninstalled while multiple ghosts are open.
Occurs when a choice is selected.
Occurs when a choice is selected.
Starts before OnChoiceSelect.
Occurs when the cursor is hovered over and when moved away from a choice.
When the cursor is moved away, the event occurs with no References.
Occurs when a choice times out.
Occurs when the cursor stops over a choice.
Occurs the moment an anchor (\_a) is clicked.
Occurs the moment an anchor (\_a) is clicked. Only if SHIORI returns nothing to this event will OnAnchorSelect occur afterwards.
Occurs when the cursor is moved on and off of an anchor (\_a).
Occurs when the cursor is stationary over an anchor (\_a).
Occurs when a surface changes.
[NOTIFY]
Occurs once a set interval of time has passed after talking.
In SSP, this event occurs after the timeout interval set in the baseware settings + 15 seconds (in other words, 15 seconds after the balloon closes).
※Only in the case that the timeout interval is set to 0, the balloon will continue to be displayed until OnSurfaceRestore occurs.
Occurs when another ghost's surface changes.
In order to reduce lag, this event is usually invalid. To use it, \![set,othersurfacechange,true] must be run first.
Occurs when the ghost is left, right, or middle button mouse clicked (the moment after releasing a pressed button) and OnMouseUp does not apply.
Occurs when the ghost is clicked by a mouse button that is not the left or right button (the moment after releasing a pressed button) and OnMouseUpEx does not apply.
Occurs when the ghost is double-clicked with either the left or right button.
Occurs when the ghost is double-clicked with a button that is not the left or right button.
Occurs when the ghost is clicked 3 or more times in a row.
※When there is no SHIORI response to this event, it will default to OnMouseClick or OnMouseDoubleClick instead.
Occurs when the ghost is clicked 3 or more times in a row with a button that is not the left or right button.
※When there is no SHIORI response to this event, it will default to OnMouseClickEx or OnMouseDoubleClickEx instead.
Occurs when either the left or right mouse button is released.
Occurs when a button that is not the left or right button is released.
Occurs when either the left or right mouse button is pressed.
Occurs when a button that is not the left or right button is pressed.
Occurs when the mouse is moved.
Occurs when the mouse wheel is scrolled.
From SSP 2.3.53 onwards, in a touch-panel environment, if SHIORI does not return anything when OnMouseGesture's Reference5 is "up" or "down" (returns 204 No Content), OnMouseWheel will occur as a replacement event. In that situation, the numerical value of Reference2 will be converted from the original scroll amount and up/down direction (positive number if up, negative number if down).
Occurs when the mouse enters a character window.
Occurs when the mouse leaves a character window.
Occurs when the mouse enters a collision area.
Occurs when the mouse leaves a collision area.
Occurs when mouse dragging is started. However, this event is disabled during Passive Mode.
Occurs when mouse dragging is ended. However, this event is disabled during Passive Mode.
Occurs when the mouse is being hovered over the ghost.
Occurs on dragging with the right button or wheel.
Furthermore, from SSP 2.3.53 onwards, in a touch-panel environment, if SHIORI does not return anything when OnMouseGesture's Reference5 is "up" or "down" (returns 204 No Content), OnMouseWheel will occur as a replacement event. Refer to OnMouseWheel's entry for details.
Occurs when a balloon is broken for a reason other than SSTP.
Occurs when a balloon is closed.
Occurs when a balloon without choices times out.
Occurs when the tray icon balloon is closed via clicking.
Occurs when the tray icon balloon is closed via timing out or with the close button.
Occurs when an archive install begins.
Occurs when an install finishes with no problems.
Occurs when an install finishes with no problems.
If this event does not exist, OnInstallComplete will occur instead.
Occurs when installation has failed.
Occurs when the file being installed is specified to be for another ghost.
Occurs when the file being installed is specified to be for another ghost, and that ghost is open at the same time. Install events following this will occur for the intended recipient ghost.
Occurs when the cursor goes over the ghost while dragging a file.
[Old specification] Occurs when a file is drag-and-dropped.
Occurs when the cursor goes over the ghost with something that cannot be treated as a "file". Example: "My Computer" in Windows.
Occurs when something is drag-and-dropped that cannot be treated as a "file". Example: "My Computer" in Windows.
Reference is exactly the same as OnOtherObjectDropping.
Occurs when a directory is drag-and-dropped.
Occurs when the wallpaper is changed by drag-and-dropping an image file.
[Old specification] Occurs when a file is drag-and-dropped.
Occurs when a file is drag-and-dropped.
Occurs when a file is drag-and-dropped.
Occurs when a ghost folder is drag-and-dropped.
Occurs when an updates2.dau has been created.
Occurs when a ghost folder containing an install.txt is drag-and-dropped.
Occurs when a nar file has been created.
Occurs when the mouse cursor is hovered over the ghost while dragging a URL.
This event will occur with every URL that has the potential to be processed.
Occurs when a download starts after a URL is dropped.
This event occurs before the download process. It will not occur with homeurl installing or feed (RSS) installing.
Occurs when the dropped URL has finished being received.
This event occurs before installing a NAR, immediately after the download process has finished. It will not occur with homeurl installing or feed (RSS) installing.
Occurs when the dropped URL could not be received or the operation was canceled.
This event occurs when a NAR installation fails. It will not occur with homeurl installing or feed (RSS) installing.
Notified when a URL is drag-and-dropped onto a character window.
If a script is returned for this event, the regular download process will be canceled.
Only return a script if the URL needs to be processed individually on the ghost side.
Notified by the specified ghost when a web association in the below format is opened or dropped on the ghost.
x-ukagaka-link:type=event&ghost=(the "name" or "sakura.name" in descript.txt)&info=(the string to be stored in Reference0)
The character encoding is fixed to UTF-8 + URL encoded
Ex: x-ukagaka-link:type=event&ghost=Emily&info=sweet-potato-feeding
SecurityLevel is always "external."
Occurs when instructed to execute an update, such as from the menu.
The update process can be customized by returning a script to this event.
The standard update process will be started automatically if there is nothing returned to this event.
Occurs when instructed to begin the network update.
Occurs when update files have been checked.
Occurs when the network update is completed successfully.
Occurs when the network update has failed.
Occurs when the file download begins.
Occurs when the MD5 comparison begins.
Occurs when the MD5 values match.
Occurs when the MD5 values do not match.
Occurs when instructed to begin a network update for something other than the ghost.
Occurs when update files for something other than the ghost have been checked.
Occurs when the network update for something other than the ghost is completed successfully.
Occurs when the network update for something other than the ghost has failed.
Occurs when the file download for something other than the ghost begins.
Occurs when the MD5 comparison for something other than the ghost begins.
Occurs when the MD5 values for something other than the ghost match.
Occurs when the MD5 values for something other than the ghost do not match.
Occurs when the network update check is completed successfully.
Occurs when the network update check has failed.
Occurs when a network update is performed, and notifies all update results at once, including the balloon and shell packaged update functions.
(※1)[\1](※2)[\1](※3)[\1](※4)
or
(※1)[\1](※2)[\1](※3)
Occurs when a network update is performed, and notifies all update results at once, including the balloon and shell packaged update functions.
(※1)[\1](※2)[\1](※3)[\1](※4)[\1](※5)
or
(※1)[\1](※2)[\1](※3)[\1](※4)
Occurs at the end when the check only update option is selected. The explorer version of OnUpdateResult.
Occurs at the end when the check only update option is selected. The explorer version of OnUpdateResultEx.
Occurs when a network update is performed from the Ghost Explorer. The explorer version of OnUpdateResult.
Occurs when instructed to start the clock correction.
Occurs when the connection to the server has been established. A script containing the \6 tag must be returned in order to perform the clock correction.
Occurs when the connection to the server has been established. A script containing the \6 tag must be returned in order to perform the clock correction.
Occurs when the local time is corrected to match the server time using the \6 tag.
Occurs when the local time is corrected to match the server time using the \6 tag.
Occurs when the clock correction failed.
Occurs when instructed to start the mail check.
Occurs when the mail check is completed successfully.
Occurs when the number of spooled emails has increased.
In SSP, only occurs when there was no script returned to OnBIFFComplete.
Occurs when the mail check has failed.
Occurs when instructed to start the headline sensor.
Occurs when a headline to read was found.
Occurs when the headline sensor is completed successfully.
Headline sensor success indicates the start of reading the headline, so this event is only notified when acquiration succeeded but there were no new updates.
Occurs when the headline sensor has failed.
Occurs when instructed to start the RSS sensor. If there is no response to this event, OnHeadlineSenseBegin is called.
Occurs when the RSS sensor is completed successfully. If there is no response to this event, a script appropriate to display is generated and a headline sensor completion event is called.
Occurs when the RSS sensor has failed. If there is no response to this event, OnHeadlineSenseFailure is called.
Occurs five minutes before a scheduled reminder registered in the baseware calendar.
Occurs when the cursor is stopped over the calendar icon, at the timing of the scheduled reminder being read.
Occurs when the schedule sensor begins to connect.
Occurs when the schedule sensor has finished processing.
Occurs when the schedule sensor processing has failed.
Occurs when the schedule sensor begins to connect in post mode.
Occurs when the schedule sensor has finished the posting process.
Occurs when the SSTP is broken.
Occurs when the blacklisting of the final client is instructed.
Occurs when acquisition with execute-http is completed successfully.
Occurs when an acquisition error is caused with execute-http. References are the same as Complete.
Occurs when --progress-notify is specified in execute-http. References are the same as Complete.
Notified despite acquisition failure (outside of HTTP response 200), when a connection is successfully made on the SSL/TLS level.
Occurs when acquisition with \![execute,rss-get/post] is completed successfully.
Occurs when an acquisition error is caused with \![execute,rss-get/post].
Notified despite acquisition failure (outside of HTTP response 200), when a connection is successfully made on the SSL/TLS level.
Occurs when the number of pings specified in \![execute,ping] have been executed.
Occurs while executing pings with \![execute,ping].
Occurs when \![execute,nslookup] is completed successfully.
Occurs when \![execute,nslookup] has failed.
Occurs when \![raiseplugin] has failed.
Occurs when \![notifyplugin] has failed.
Occurs when \![raiseother] has failed.
Occurs when \![notifyother] has failed.
Occurs when the character windows (surfaces) overlap.
Notified every time the overlap status changes, so it can also be used to detect when the ghost stops overlapping with some extra thinking.
Occurs when the character windows (surfaces) overlap, including all other currently open ghosts. The global version of OnOverlap.
Notified every time the overlap status changes, so it can also be used to detect when the ghost stops overlapping with some extra thinking.
The ghost's own information is also included, so some caution should be used.
Occurs when the character windows (surfaces) leave or come back from outside of the screen (display area). Offscreen event.
Notified every time the offscreen status changes, so it can also be used to detect when the ghost comes back onscreen with some extra thinking.
Occurs when the character windows (surfaces) leave or come back from outside of the screen (display area), including all other currently open ghosts. The global version of OnOffscreen.
Notified every time the offscreen status changes, so it can also be used to detect when the ghost comes back onscreen with some extra thinking.
The ghost's own information is also included, so some caution should be used.
Occurs when the server does not respond after a certain amount of time.
Occurs when the network connection status changes.
Notified with NOTIFY only immediately after booting.
Occurs when the screensaver starts. [NOTIFY]
Occurs when the screensaver ends.
Occurs when the computer goes to the lockscreen while still logged in. On Windows, this also applies to fast user switching.
This event does not use NOTIFY, but whatever is being executed is not visible to the user, so some caution should be used.
Occurs when the computer has been returned to the regular screen from the lockscreen. On Windows, this also applies to fast user switching.
Occurs when fast user switching is used to switch to another user's account.
On Windows, this event is notified along with OnSessionLock, and due to being forced to minimize, OnWindowStateMinimize also occurs.
This behavior is specific to Windows, and may not work in the same way on another OS.
Occurs when fast user switching is used to return to the original user's account.
On Windows, this event is notified along with OnSessionUnlock, and due to having been forced to minimize, OnWindowStateRestore also occurs.
This behavior is specific to Windows, and may not work in the same way on another OS.
Occurs when the load on the CPU is high. (Currently activates when the load has stayed around 80% for a while.)
Occurs when the load on the CPU goes down from a high state. (Currently activates when the load has come down to below 60% after being detected as High.)
Occurs when the memory usage is high. (Currently activates when the usage has stayed around 80% for a while.)
Occurs when the memory usage goes down from a high state. (Currently activates when the load has come down to below 60% after being detected as High.)
Occurs when the resolution or color depth of the desktop (primary screen) is changed.[NOTIFY on booting, otherwise GET]
Occurs when a window is moved over screens.[NOTIFY or GET]
Occurs when the resolution or color depth of a screen is changed. Applies to multiple monitors. [NOTIFY on booting, otherwise GET]
Occurs when the monitor is turned on or off. Additionally occurs when a laptop is closed.
Notifies the remaining amount of battery. [NOTIFY on booting, otherwise GET]
On OSes earlier than Windows 7, the standards for high/low may differ.
Occurs when the remaining battery amount has become low (when OnBatteryNotify's Reference3 is "low" or below).
The external application Kinoko has an event with the same name, so caution should be used.
This event has been implemented to be compatible with Kinoko.
Occurs when the remaining battery amount has become critically low (when OnBatteryNotify's Reference3 is "critical" or below).
The external application Kinoko has an event with the same name, so caution should be used.
This event has been implemented to be compatible with Kinoko.
Occurs when battery charging has been started.
A compatibility event for Ukagaka on Android.
Occurs when battery charging has been stopped. Whether the battery is full or not does not change this event.
A compatibility event for Ukagaka on Android.
Occurs when a device has been detected.
Occurs when a device has been removed.
Occurs when the OS is switched to an optimized state for functioning as a tablet.
Notified first immediately after booting using NOTIFY (cannot talk), and then using GET (can talk) when the state is changed.
Occurs when the OS has been switched to the dark theme.
Notified first immediately after booting using NOTIFY (cannot talk), and then using GET (can talk) when the state is changed.
Notifies the OS update check date, update execution date, and update history information.
Notified first immediately after booting using NOTIFY (cannot talk), and then using GET (can talk) a while after updating.
Occurs when the Recycle Bin is emptied with \![execute,emptyrecyclebin].
OnRecycleBinEmptyFromOther is notified to all currently open ghosts, not only the ghost that ran the script.
Sent to ghosts other than the one that emptied the Recycle Bin using \![execute,emptyrecyclebin].
The References are the same as OnRecycleBinEmpty.
Occurs when a file is thrown away into the Recycle Bin, or when the Recycle Bin is emptied manually using the Explorer, and is notified to all currently open ghosts.
Also notified when the ghost is first booted with [NOTIFY].
Occurs when rectangle select mode has been entered after executing \![enter,selectrect].
Occurs when no selection was made or the selection area was empty after executing \![leave,selectrect].
Occurs when rectangle select mode is left by executing \![leave,selectrect].
Occurs when the mouse button is pressed during select mode.
Occurs when the mouse button is released during select mode.
Occurs on booting and when the voice synthesis function is turned on or off.[NOTIFY/GET]
Occurs on booting and when the voice recognition function is turned on or off.[NOTIFY/GET]
Occurs when a word is recognised with the voice recognition function.
Occurs when a key is pressed while the ghost is selected.
Occurs when a link to a site is selected in the menu.
An event made to allow SHIORI to double as a translator function for MAKOTO.
Mainly sent as a response when a script is returned to the baseware as a result of a SHIORI Event using the GET command.
From the SHIORI Event that triggered OnTranslate, the script returned to the baseware through SHIORI internal operations is sent back to SHIORI once more, after baseware processes such as expanding environment variables. SHIORI can process a script a second time before returning it to the baseware again as the final script.
However, OnTranslate itself will not occur twice.
Occurs when random talk is requested, such as with the \a tag.
Occurs when another ghost talks. Needs to be turned on with \![set,otherghosttalk,true].
Occurs when materia.exe was already running when SSP booted.
Occurs when Nekodorif was already running when SSP booted.
Occurs when a sound has stopped playing.
Occurs when a sound process has failed.
Occurs when text data was drag-and-dropped.
Occurs when the shell scaling is changed.
Occurs when the balloon scaling is changed.
Notified when the language setting has been changed, and immediately after booting.
When this event is notified directly after booting, it will always use NOTIFY, and cannot prompt talking in response.
Notifies the baseware information. [NOTIFY]
Notifies the hwnd. [NOTIFY]
Notifies the unique ID. [NOTIFY]
Notifies the state of the SHIORI capability extensions. [NOTIFY]
Depending on the level of implementation, the below information is sent in individual References.
Note that header names are converted to lowercase when notified. Ex: SecurityLevel→securitylevel
Refer to the SHIORI/3.0 specifications.
Notifies the current ghost name. [NOTIFY]
Notifies the main character names of the other currently open ghosts. [NOTIFY]
Notifies the sakura.name of currently installed ghosts. [NOTIFY]
It is always notified before the installedghostname.
It is also guaranteed that the Reference numbers in the installedsakuraname/installedkeroname/installedghostname, indicating the same ghost, will match.
Notifies the kero.name of currently installed ghosts. [NOTIFY]
It is always notified before the installedghostname.
It is also guaranteed that the Reference numbers in the installedsakuraname/installedkeroname/installedghostname, indicating the same ghost, will match.
Notifies the currently installed ghosts. [NOTIFY]
Notifies the currently installed shells. [NOTIFY]
Notifies the currently installed balloons. [NOTIFY]
Notifies the currently installed RSS/headlines. [NOTIFY]
Notifies the currently installed plugins. [NOTIFY]
Notifies a list of the configured email check accounts. Can be used with \![biff,(account name)]. [NOTIFY]
Notifies the path to the ghost storage folder (the Ghost setting in SSP Preferences -> Folder). [NOTIFY]
Notifies the path to the balloon storage folder (the Balloon setting in SSP Preferences -> Folder). [NOTIFY]
Notifies the path to the headline storage folder (the Headline setting in SSP Preferences -> Folder). [NOTIFY]
Notifies the path to the plugin storage folder (the Plugin setting in SSP Preferences -> Folder). [NOTIFY]
Notifies the path to the calendar skin storage folder. [NOTIFY]
Notifies the path to the calendar schedule sensor storage folder. [NOTIFY]
Notifies the information from the rate of use graph. [NOTIFY]
The following delimited by the one-byte value: the Sakura name, Kero name, boot count, boot time (minutes), boot time (percentage), (boot install vanish).
The ON/OFF state of the Dev. Palette's "Enable SHIORI Internal Log" option. [NOTIFY]
Refer to SHIORI Resource : log_path.
The ON/OFF state of the Dev. Palette's "Enable SHIORI Debug Mode" option. [NOTIFY]
Notifies the ghost's own information. [NOTIFY]
Notifies the information on the balloon currently being used. [NOTIFY]
Notifies the information on the shell currently being used. [NOTIFY]
Notifies the dressup information.
[NOTIFY] only on booting, and sent with [GET] upon user or menu operation.
Refer to OnDressupChanged, the event that occurs before this event.
Notifies the user input information. Notified on boot and when the information is updated. [NOTIFY]
Notifies the OS information. [NOTIFY]
Notifies the fonts installed to the system. [NOTIFY]
Notifies the system's time zone, locale (language) name, and other internationalization-related information. [NOTIFY]