[OMC] Re: default value in text input dialog
OMC at abracode.com
OMC at abracode.com
Wed Jul 13 00:43:48 PDT 2005
Let's move it to the mailing list instead of exchanging e-mails
privately. Knut and other people might be interested in this.
I think that what you try to do it complicated and unique enough to
justify usage of custom nib dialog. And I have a feeling that the use
of objects in popup menu or combo box menu is really limited: like
listing available special OMC objects or choosing from several
predefined path variations. But you can easily achieve something like
this by assigning unique numbers or names to popup menu values and
then check in script which action to perform (using objects or not).
Support for objects in default text in input dialog was requested by
other people and I think it is reasonable if you want to use some
combination of selected filename with suffix for a default text in
On Jul 12, 2005, at 2:08 PM, Michael Annino wrote:
> That's GREAT Tom,
> I'll take a closer look, but I was thinking more along these lines,
> where the object is contained within the string.
> <string>-l __OBJ_PARENT_PATH__</string>
> I was thought this would help to combine my commands into single
> dialogs and simplify my menus ... an alternative to a full blown
> nib file.
> Some many GREAT options ... who would even consider using Automator
> when we have OMC :-)
> I look forward to the final release and an updated OMCEdit.
> On Jul 12, 2005, at 11:51 AM, Tomasz Kukielka wrote:
>> It is quite easy to add support for objects in default value edit
>> field for text input dialog so I decided to add this feature
>> before OMC 1.7 is release. But this is definitely the last feature
>> addition. After that there will only be bug fixes. New default
>> value requires a new keyword: "DEFAULT_VALUE". Previously the
>> keyword was "DEFAULT". Notice the difference: DEFAULT_VALUE is
>> array of strings and DEFAULT was just a string. Please see the
>> example command below. You cannot Use OMCEdit for this yet. You
>> have to do it by hand.
>> <string>echo '</string>
>> <string>Default Text</string>
>> <string>Testing array of strings for default
>> <string>Default text test</string>
>> <OMC 1.7 another preview.dmg.gz>
More information about the OMC