Esempio n. 1
0
 public override string ToString()
 {
     return(Macro.GetKeyString(vk, modifiers) + (type == InputEventType.KeyPress ? "" :  " " + type.ToString().Replace("Key", "").ToLower()));
     //just display 'B press' as 'B', for example.
 }
Esempio n. 2
0
 private void copyToolStripMenuItem_Click(object sender, EventArgs e)
 {
     _clipboard          = _macroList[_selectedIdx];
     txtCurrentPage.Text = "\"" + _clipboard.Name + "\"" + " copied.";
 }
Esempio n. 3
0
 bool IsKeyDepressed(int vk)
 {
     return(Macro.IsKeyPushedDown((Keys)vk));
     //return _keyDepressedSet.Contains(vk);
 }
Esempio n. 4
0
 private void AddMacro(Macro obj)
 {
     _macroList.Add(obj);
 }