/// <summary> /// Loads a file into the running script /// </summary> /// <param name="filePath">The filepath of the script</param> public void Load(string filePath) { AutoHotkeyDll.addFile(filePath, 1, 1); }
/// <summary> /// Loads a file into the running script /// </summary> /// <param name="filePath">The filepath of the script</param> public void Load(string filePath) { using (new CurrentDirectorySaver()) { AutoHotkeyDll.addFile(filePath, 1, 1); } }