Search found 87 matches

by mfauzim
Thu Jan 11, 2007 10:41 am
Forum: Technical / Scripting
Topic: V9 Telnet
Replies: 19
Views: 24332

If it wait for space,

If it wait for a space, when will script goto next line? Wil it wait until all respond completed or when it find first 'space' character.
by mfauzim
Thu Jan 11, 2007 10:18 am
Forum: Technical / Scripting
Topic: V9 Telnet
Replies: 19
Views: 24332

Is there any solution to this?

Hi Mjtnet, appreciate if you can suggest any workaround. We are stuck with this or else we have to use telnet client which is not what we plan.
by mfauzim
Thu Jan 11, 2007 6:37 am
Forum: Technical / Scripting
Topic: V9 Telnet
Replies: 19
Views: 24332

My script do not have any user interface

My current script which use v9 telnet does not have any gui, I only use mesagemodal to show response during development.

When I use other telnet client eg: hyperterminal then the mesage shows on the screen.
by mfauzim
Thu Jan 11, 2007 3:03 am
Forum: Technical / Scripting
Topic: V9 Telnet
Replies: 19
Views: 24332

Rply come in V9 Telnet TelnetWaitFor assign variable

Hi the respond comes in TelnetWaitFor assined variable as in V9 telnet documentation
by mfauzim
Thu Jan 11, 2007 1:25 am
Forum: Technical / Scripting
Topic: V9 Telnet
Replies: 19
Views: 24332

Something not right with the logic

I think something is not right with the logic or I did not make my self clear. I explain it below: 1. Login to telnet 2. Script will issues issue activatecommand with parameter telno 3. The switch will respond differently and it depend on the status of telno send. Sometime it respond with 'command e...
by mfauzim
Wed Jan 10, 2007 9:39 am
Forum: Technical / Scripting
Topic: V9 Telnet
Replies: 19
Views: 24332

Nice trick

Nice trick I will try it. But it seems it will delay few secs due to timeout.
by mfauzim
Wed Jan 10, 2007 8:25 am
Forum: Technical / Scripting
Topic: V9 Telnet
Replies: 19
Views: 24332

V9 Telnet

I am trying to use v9 telnet. My script can logon/password etc. The issue is telnet expect to check specific keyword from the response. But timetime the respond can be different depending on the command issue thru the telnet. The last specific keywork also change. I would like to request Mjtnet to i...
by mfauzim
Wed Jan 10, 2007 7:58 am
Forum: Technical / Scripting
Topic: How to detect Connection to Db is disconnected
Replies: 3
Views: 5256

It can happen anywhere

It can happen in any part of the script which try to execute sql. Sometimes it run for days without disconnection. Ilike your idea of checking is connection is up or down. How do you this in vbscript?
by mfauzim
Tue Jan 09, 2007 10:07 am
Forum: Technical / Scripting
Topic: How to detect Connection to Db is disconnected
Replies: 3
Views: 5256

How to detect Connection to Db is disconnected

I managed to setup connection to mssql db thru odbc and able to select and update. The script is running under xp and in vmware. My issues is sometime the db connection id disconnected. and win will display some dialog box. My question is, how do I determine whether the db connection is still active...
by mfauzim
Wed Dec 13, 2006 10:45 am
Forum: Technical / Scripting
Topic: How to find Window
Replies: 1
Views: 3375

How to find Window

I have a script which control a web application with java app. The problem is sometime this applet will display a a dialog box regarding some message. And we need to press a button. It happen randomly
How do I find out whether/when the dialog box appear?

regards
by mfauzim
Sat Dec 09, 2006 3:48 am
Forum: Technical / Scripting
Topic: How to Change Title for Compiled Script
Replies: 2
Views: 4055

thanks

I didnt notice that. thanks
by mfauzim
Sat Dec 09, 2006 1:36 am
Forum: Technical / Scripting
Topic: How to Change Title for Compiled Script
Replies: 2
Views: 4055

How to Change Title for Compiled Script

I have a macro which read ini file and process accordingly. My question is how do I change my compiled script title from macro scheduler to the parameter pass from the ini file.
by mfauzim
Wed Nov 01, 2006 6:04 am
Forum: Technical / Scripting
Topic: vbscript error
Replies: 6
Views: 7073

It works

Thanks markus, yes there some hidden character which causing the problem. using you suggestion resolved it. Great man.
by mfauzim
Tue Oct 31, 2006 4:15 am
Forum: Technical / Scripting
Topic: vbscript error
Replies: 6
Views: 7073

Code

The vbscript function: Function AsasDataUpdateStatus(rtnstat,cstartdate) 'Function AsasDataUpdateStatus( rtnstat ) 'Function AsasDataUpdateStatus(rtnstat,cstartdate,switchmsg) ' this function with switchmsg is fail/not call on error goto 0 AsasDataUpdateStatus = 0 'if not pArtnGetDateData.EOF then '...
by mfauzim
Tue Oct 31, 2006 3:42 am
Forum: Technical / Scripting
Topic: vbscript error
Replies: 6
Views: 7073

It still do not work

Hi I've tried the suggestion before trying the "'" and it does not work. Somehow it is the result content. If I remove/comment the midstr line, then the functon works but the result is not that clear since it isnot formatted properly

regards
Sign up to our newsletter for free automation tips, tricks & discounts