On 27 January 2011 05:59, Hernán Morales Durand <hernan.morales@gmail.com> wrote:
Hi Igor,
It seems to be nice work, just a question: if my image ruins and I want to send Cmd + . at some point (let's say some code which triggers the keystroke combination in myscript.st), if I understood right that would raise an error too... do your changes permit exceptions for actually wanted "popup" behaviors like those necessary for reparing? Cheers,
what should happen in headless image when you pressing cmd+. ? Or what you wanna achieve? Why you need to trigger interrupt by simulating such keystrokes? I think there is many ways how to interrupt a program (throw an exception for instance). And since usual pressing cmd-. leads to opening window, then in non-interactive mode it should raise a ErrorNonInteractive (if not handled by UI manager before).
Hernán
-- Best regards, Igor Stasenko AKA sig.