On 20 juin 2014, at 20:24, Gabriele Battaglia <iz4apu(a)libero.it> wrote:
Il giorno 20/giu/2014, alle ore 19:46, Eduardo Francos <efrancos(a)efrancos.com> ha
When I need this type of user interaction within
a command I use CocoaDialog. It offers many options that should cover most, albeit simple
GB: Hi and thanks for answer.
Could you please post an example? Even privately, if
you think so.
I'm attaching a sample script that uses CocoaDialog to prompt for the user's age,
then it uses again CocoaDialog to display a message-box with the result.
You may try it directly from an editor window (⌘R) or paste it into a new bundle command.
PS: anyway, there is no editor (or IDE) I’ve tried, which are able to manage an input or
raw_input in Python. Every software I’ve tried got this EOF Error.
It could be possible if TM integrated some kiond of "terminal" type of command
output, but I guess that's too much for too little.
In TM version 1.5 I was using HTML output to the command's windows for as
sophisticated an interface as you can make using HTML + JS + CSS. The problem is that to
give feedback to TM that required using TMTOOLS, which unfortunately is incompatible with
the current TM version.
Sent from my iMac27. (Libero)
textmate mailing list