[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] prevent Document.keyDownAction from posting a char



Hello,

is there a way to prevent to put the last Char to a document when it was caught by a Document.keyDownAction?

Document.current.keyDownAction = {|...args   |
	// alt-space
	(args[2] == 524576 and: {args[3] == 160}).if{
		"gotcha".postln;
		// now remove that char that caused the posting of this message. how?
	};
}


thanx for clarification and have a nice day :-)

	Till

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/