satyaprakash wrote:
> How could I invoke a TCL Script from WinCVS
> with a few input parameters. I have already written a
> script that is being invoked as a Macro from Wincvs,
> but I need to know how to customize it to accept
> inputs...
Writing macros in TCL is not really supported anymore. The
fact that it
is still possible is more a side-effect of Python including
a TCL
interpreter than it is a sign of actual active support on
behald of the
developers. That said, if you want a TCL macro to receive
input you
will have to build a dialog from the ground up in Tk and
furthermore
disable Tk-support in Python (so the two do not interfere
inside of
WinCvs).
If you rewrite your macro in Python however you could simply
call the
CvsAlert/CvsPrompt API methods (in module cvsgui.App) which
should be a
significantly easier approach compared to creating your own
Tk dialog.
whichever approach you choose, looking at the existing
macros should
give you a fairly good idea I think.
Note that I'm not sure whether the TCL/Tk approach would
still work at
all. I no longer have any of the TCL macros installed to
test.
Hope this helps.
--
Oliver Giesen
------
Now offering professional (Win)CVS(NT) consulting services!
Look at
http://lucatec.net/wincvs
nt for details. In everybody's best interest,
please do not post or CC technical questions to me in
private unless
you are interested in commercial support (please clearly
indicate this
if you are). I will generally forward my replies to such
posts to the
CVSGUI list without further notice.
---- ------------------
ICQ: 18777742 (http://wwp.icq.com/187777
42)
MSN: ogiesen hotmail.com
Y! : ogiesen
------------------------ Yahoo! Groups Sponsor
--------------------~-->
Get to your groups with one click. Know instantly when new
email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/z3wwlB/TM
------------------------------------------------------------
--------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.y
ahoo.com/group/cvsgui/
<*> To unsubscribe from this group, send an email to:
cvsgui-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.c
om/info/terms/
|