I want to open an html file with internet explorer using a tcl command.
I have tried the following command without success
exec d:\toto.html
Does someone knows how to open an html file?
registry get "HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\ProcessorNameString" toto
puts $toto;
I have tried this code, but I got:
invalid command name "registry"invalid command name "registry"
while executing
"registry get...
Hi,
I am trying to collect information about the PC to write it back in my report!!!
Is there a tcl command to collect these information? (information such as CPU, size of memory, size of hard disk, os used....)
I have the following code:
set PIX_ACPPBOX_ERROR_BASE 0x100000;
set PIX_TOO_MANY_OFFSET_REF [expr $PIX_ACPPBOX_ERROR_BASE | 0x108];
while executing the logical or command, the returned result is in decimal format!!!
The problem is that i am using a switch where only hexadecimal values are...
This command is used to open a communication channel with our apparatus!!
My goal is to determine if this command works every time!!!
The latter may fails if the connections are not done properly, the link cable used is not appropriate or the cable is not connected!!!
So when I'm using this...
In fact, I am using a modified interpreter where we have added some special commands which would help us to pilote our apparatus!!!!
In fact I am trying to catch information from returned errors of one of our own command!!! While incorporating these commands, we have brought changes to the...
You are right Bob!!!
However, I am using an interpreter where the catch command doesn't works!!!!
So I am trying to find another command which would allow me to do the same thing as the catch command!!!!
I want to catch the information from returned errors whithout aborting my script!!! Is...
I want to catch the error code returned by a command whenever it fails without using the catch command!!!!!!
My code is as follows:
set resp [open .....]
When the open command fails, I cannot read the error information returned by this command.
I don't want to use the catch command!!! I found...
Thanks for the tips bong!!
However, I am getting a problem when ther is no *.txt files in the folder!!!
The problem is that I have to do this in several folders and sometimes there are *.fxd files only and sometimes both!!!
So, I need something which works in all cases!!!
Can you help me to...
I have a folder container several files, let say:
toto.txt
titi.fxd
fim.txt
yot.fxd
and fifi.log
I want to do delete all files with the .txt and .fxd extension!!!
how can i do this automatically?
#I have variable containing :
#array set toto [list {0} {} {1} {tom tim tam} {2} {fom fim fam}]
#I am using a function where I would like to use toto as an #input parameter!!!
proc essai {toto}{
...........
}
essai $toto
#When executing this command, I got an error message telling #me that it...
I have the following code:
#I have variable containing :
#array set toto [list {0} {} {1} {tom tim tam} {2} {fom fim fam}]
set var [lindex toto {2 1}]
puts $var
I expected to get "fom" but i got a bug!!!
Can someone tell me how I can extract information from my list "toto"?
I have the following script!!! I expected that the getproc function returns "coucou" but it returns "et non".
/***************************************************/
set toto 156
proc getproc {chiffre} {
switch $chiffre {
$toto {set phrase "coucou"}
default {set phrase "et...
Thanks!!!
However, i don't want to take the time to execute a script but the time to execute one of the commands in the script!!!!
is there another solution apart from taking the time before and after the command!!!
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.