Navigation
Usage Information
Developer Information
Addon and Plugin Documentation
Addons
Plugins
Navigation
Usage Information
Developer Information
Addon and Plugin Documentation
Addons
Plugins
The misc namespace contains various functions that do not qualify to be in another namespace or warrant their own namespace at this time.
You can access these functions via:
ashita.misc.
Opens an url using the systems default browser.
void ashita.misc.open_url(url);
Plays a sound file.
void ashita.misc.play_sound(file);
Obtains the clipboard text of the system.
string ashita.misc.get_clipboard();
Sets the clipboard text.
bool ashita.misc.set_clipboard(text);
Executes an application via ShellExecute.
void ashita.misc.execute(path, args, mode);
Hides the console window of the process, if present. (Useful for hiding private server boot loaders.)
void ashita.misc.hide_console();
Shows the console window of the process, if present. (Useful for showing private server boot loaders.)
void ashita.misc.hide_console();
If a console window has not been created for the process yet, a new one will be created by calling this function.