Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Integer value returns an ANSI key code (default code 187, the character = NOT) for the New Note hotkey. Figure 1 shows the Note tool on the Main Menu ribbon bar. Figure 2 shows how a Note is created: click on Note (or the hotkey for Note), then click and drag in the area of the plan where you want the note to be inserted. ANSI #187 (shown in U-T-H) isn't the equals sign. If I hit = sign, then New Note activates. But if I put = in for the hotkey ANSI #61, then New Note doesn't work. Why??? Cannot get New Note with any other character assignment???

API Call:


Code Block
languagec#
themeRDark
firstline1
titleC#
linenumberstrue
collapsetrue
private void Main()
{
	PlanSwift planswift = new PlanSwift();
	IItem settings = planswift.GetItem(@"\Settings");
	IPropertyObject property = settings.GetProperty("NewNoteHotKey");
	console.WriteLn(property.ResultAsInteger())
}

//or

private void Main()
{
	PlanSwift planswift = new PlanSwift();
	IPropertyObject property = planswift.GetProperty(@"\Settings","NewNoteHotKey")
	console.WriteLn(property.ResultAsInteger)
}

...