Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Search Forums

Showing results 1 to 25 of 27
Search took 0.00 seconds.
Search: Posts Made By: liufirst
Forum: Scripting 10-04-2005, 07:05 PM
Replies: 9
Views: 12,034
Posted By liufirst
It does not run on Simple Chinese Windows 2000 profession

I have tried to do what you refered in my Simple Chinese Windows 2000 profession version. But It looks the script would not run. When it began, It will say: "Invalid Script Header: '$language' not...
Forum: Scripting 09-29-2005, 03:44 AM
Replies: 9
Views: 12,034
Posted By liufirst
The config file that the script need read.

The file should locate at D:\vb\
and the filename is config.sys
The content of the config file( D:\vb\config.sys)

' 如果为空行,或者以'开头,则此行为注释行
' WillRunAgain是否再次运行此部分,如果运行,下次程序运行时还可以配置
'...
Forum: Scripting 09-28-2005, 10:08 PM
Replies: 9
Views: 12,034
Posted By liufirst
It's Simple Chinese default

I've never pay attention to it, I just know it is windows default.
The windows help tells that it is standard ANSI code.
Forum: Scripting 09-28-2005, 07:21 PM
Replies: 9
Views: 12,034
Posted By liufirst
The code

# $language = "VBScript.Encode"
# $interface = "1.0"
'**Start Encode**

const ForReading = 1
const ForWriting = 2
const ForAppending = 8
' when use this program , change IpInfo to 60000...
Forum: Scripting 09-27-2005, 06:43 PM
Replies: 9
Views: 12,034
Posted By liufirst
Anyone have any suggessions ? thanks

Anyone have any suggessions ?
thanks
Forum: Scripting 09-22-2005, 08:31 AM
Replies: 4
Views: 10,536
Posted By liufirst
try to use CRT.SCREEN.SEND

In your script,
crt.Session.Connect("/s " & JumpBox1 & " /SCRIPT " & scriptName1)
crt.Session.Disconnect
crt.Session.Connect("/s " & JumpBox2 & " /SCRIPT " & scriptName2)

I have a question, it...
Forum: Scripting 09-22-2005, 08:22 AM
Replies: 8
Views: 9,711
Posted By liufirst
I think It would be useless.

Thanks for your answer.
I think that I can not get the information by CRT.SCREEN.GET Function if the router does not stop. because We have no a function in SecureCRT to receive the strings stream....
Forum: Scripting 09-21-2005, 03:05 AM
Replies: 9
Views: 12,034
Posted By liufirst
Can this software support other language?

My script is developed for the system run in other language windows, like Chinese, but when I use inputbox function, and prompt string be written in Chinese, the window looks like...
Forum: Scripting 09-21-2005, 02:54 AM
Replies: 2
Views: 13,247
Posted By liufirst
Hello: I think you can use: for i = 1...

Hello:

I think you can use:

for i = 1 to 180
crt.sleep 10000
crt.screen.send vbcr
next

I think this code would solve your problem.
Forum: Scripting 09-21-2005, 02:49 AM
Replies: 8
Views: 9,711
Posted By liufirst
Thanks. Where can I set 'term length 0' ?...

Thanks.


Where can I set 'term length 0' ?
or if I need to set 500 col in one screen, Can I set it in the scripting?
thanks.
Forum: Scripting 09-10-2005, 08:42 AM
Replies: 5
Views: 4,720
Posted By liufirst
I think you can delete the if ... then ... else. ...

I think you can delete the if ... then ... else.
Then when the script runs to here, it will caculate the filename, and in one day, the filename would not be changed.

try.
Forum: Scripting 09-10-2005, 07:07 AM
Replies: 2
Views: 20,449
Posted By liufirst
Thanks

Thanks for your answer. It works. But who'll answer
http://forums.vandyke.com/showthread.php?t=1006
Forum: Scripting 09-10-2005, 06:54 AM
Replies: 5
Views: 4,720
Posted By liufirst
The file name should not be in Circle.

If you meet the error that you have refered. The reason should be that when the script connects to 2rd server , this sentence is performed again:

FILENAME1 = g_shell.specialFolders ("C:\") &...
Forum: Scripting 09-09-2005, 08:33 AM
Replies: 8
Views: 9,711
Posted By liufirst
Hello, thanks for your answer. My script is...

Hello, thanks for your answer.

My script is working on Windows 2000 or 98 system with secureCRT 5.02.
I'll log the session and upload it .
In my script, there are several subroutines, I'll set...
Forum: Scripting 09-09-2005, 04:18 AM
Replies: 2
Views: 20,449
Posted By liufirst
Is there any way to encode the script ?

When I finished the script, I am trying to encode it. But when I uses screnc.exe file from microsoft to encode the script, the script would not run. Is there any way to encode the script and protect...
Forum: Scripting 09-08-2005, 03:34 AM
Replies: 2
Views: 3,914
Posted By liufirst
I need follow some variable's value.

Hello. thanks for answer.


When debugging a complex scripting file, The Value of variable is difficult to get. sometimes I use “msgbox” command to trace the variable value, but when the value is...
Forum: Scripting 09-07-2005, 09:46 AM
Replies: 8
Views: 9,711
Posted By liufirst
It looks that the Program runs more and more slowly?

Because My program deal with 8000 lines strings, After a while, It looks my system echo slowly, Is there any good way to avoid it happens ?
Forum: Scripting 09-07-2005, 09:25 AM
Replies: 8
Views: 9,711
Posted By liufirst
How to make the Screen Echo faster ?

Hello.
When I use "sh ip nat tran" in my session to control my cisco Router, the router will answer almost 8000 lines echo, and stop when screen is full, if I press ENTER, the next line will appeer,...
Forum: Scripting 09-07-2005, 07:51 AM
Replies: 4
Views: 5,542
Posted By liufirst
It is a problem.

hello.



I think how to use If ... then ... else is a problem to a program man, if you want to know it , you'd better read some example from microsoft's online help. such as...
Forum: Scripting 09-06-2005, 10:31 AM
Replies: 2
Views: 3,914
Posted By liufirst
debuging tool ?

hello.
When I debug a script program, I feel it difficult. So i download the Microsoft's msscrdbg tool, but it's debug menu is grey when debuging a CRT's Scripting. Can I get a more powerful tool to...
Forum: Scripting 09-06-2005, 10:20 AM
Replies: 2
Views: 4,222
Posted By liufirst
problem solved !!

The change is real helpful.
Thanks a lot.
Forum: Scripting 09-06-2005, 07:04 AM
Replies: 4
Views: 5,542
Posted By liufirst
you can decide what program should do by IF ...

hello,
I think you should Use If ... then ... else ...end if.
look this example:

If crt.screen.WaitForString("ogin:", 10) <> True Then

MsgBox "Failed to detect login!"

Exit Sub
Forum: Scripting 09-05-2005, 07:42 AM
Replies: 2
Views: 4,222
Posted By liufirst
Question Why the circle is wrong ?

Hello.
One of My program give me wrong answer, the program is:

# $language = "VBScript"
# $interface = "1.0"


Sub Main
ReadIpTrans
End Sub
Forum: Scripting 08-29-2005, 02:20 PM
Replies: 2
Views: 3,865
Posted By liufirst
I think your answer is very userful. thanks

I think your answer is very userful. thanks
Forum: Scripting 08-29-2005, 05:12 AM
Replies: 2
Views: 3,865
Posted By liufirst
About secureCRT window's properities.

Hello.
My server's echo is so much, and if user change the SecureCRT window's properties will change some arguments of the script, so I need customize
customer secureCRT window's size, font size...
Showing results 1 to 25 of 27

 
Forum Jump

All times are GMT -6. The time now is 09:08 PM.