The software I use store its toolbars in one XML file.
<?xml version="1.0"?>
<toolbars version="1">
<toolbar id="1" name="my toolbar1">
<command_button command="EDIT SELECT MOVES" bitmap="RTOOL" tooltip="select all moves"/>
..
</toolbar>
<toolbar id="2" name="my toolbar2">
<command_button...
hi.
could anyone give a link with the default C functions?
(like this page:
http://aspn.activestate.com/ASPN/docs/ActiveTcl/tcl/tcl_2_contents.htm
for TCL)
thanks in advance
...RDWR]; #read file containing used project numbers
set origi [read $fid]
close $fid
#check if the new project number exist
if [string match "*$munkaszam*" $origi] \
{
file mkdir $dirname
cd $dirname
#create directory structure
file mkdir ajanlat
file mkdir ajanlat\\in_out
file...
hi.
i wrote a script, what a lot of user should use on our intranet. how can they do that, if i don't want to install wish?
can i define in the tcl script the dll-s, and other resource files?
or can i compile my tcl script?
I want to set user rights on directories (in windows).
for example:
admin have full access,
general users have rights for listing the directory
some users also have full access to the directory
The user info come from the Active directory of the domain controller...
hi!
i need a program, which creates a directory structure, in a folder.
the user tells a number and a string, and the script creates a folder, for example 1234.abcdef.
then the script make some folders into this, for example creates From, and in_out etc directories.
the different subfolders have...
hi again
how can i send " character to the output?
puts ""600"" ? it doesnt work..
it needed for html code:
puts "<H1 ALIGN=LEFT><img src='$imagename' width="900" height="600"></IMG></H1>"
or how can i bypass it?
thanx in advance
great.
but.
if a line contains whitespaces, when i write out the list item, it uses brackets, what looks awful in the output html file... how can i remove them?
...set data [read $fid]
close $fid
set lines [split $data \n]
set posts [lrange $lines 0 0]
puts $posts
or it is easier to replace...
thank You Bong
you solved half my job...
but i have a problem again:
i want to get an item of a list, but i dont know which element, only with a variable:
set proc_run_num 2
set position $proc_run_num+2
#here is a problem, the $position will be 2+2 instead of 4
puts "lrange $list $position...
ah, i did not think...or did not understand what is the difference between the -value and the .textvariable
i dont know whats wrong.
if i use a list as the textvariable of the combo,
the list appears as a simple item in the list.
the script you wrote not works, but i dont know why..
set...
thanks..
i found the way in the meantime,
but.
(im not a programmer, but a lamer..)
i try to insert the elements of the
set postlistvar [split [gets $post_fid]]
$postlistvar list to the combobox,
but i can make only 2 items in the combobox:
the complete $postlistvar list, and an empty item.
if...
i thought.. :)
i have problem with the combobox,
the wish prompt me: invalid command :-?
set post_fid [open H:\\CADCAM\\NX_Settings\\shop_doc\\tempvars\\posts r]
set postlistvar [split [gets $post_fid]]
close $post_fid
ComboBox -value $postlistvar
or whats wrong?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.