public KeyTask(JKeyTask j) { if (j != null) { OneLineAhkScript = j.OneLineAhkScript; StaticAhkScriptFromFile = j.StaticAhkScriptFromFile; PushKey = j.PushKey; OpenFile = j.OpenFile; OpenFileArgs = j.OpenFileArgs; } }
public JKeyTask SaveTask() { JKeyTask j = new JKeyTask(); j.OneLineAhkScript = OneLineAhkScript; j.OpenFile = OpenFile; j.PushKey = PushKey; j.StaticAhkScriptFromFile = StaticAhkScriptFromFile; j.OpenFileArgs = OpenFileArgs; return(j); }