getWindowDroppedFiles

Script::getWindowDroppedFiles

Returns the path to the files dropped on the window.

Declaration

std::vector<std::string> getWindowDroppedFiles(WindowID windowID = NTSHENGN_WINDOW_UNKNOWN);

Parameters

Name

Type

Description

windowID

WindowID

The window the files are dropped on.

Returns

An std::vector of the paths of the files dropped on the window during the current frame.

If no file has been dropped on the window, the returned std::vector is empty.

Notes

The main window will be used if windowID is equal to NTSHENGN_WINDOW_UNKNOWN.