Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Search Forums

Showing results 1 to 25 of 38
Search took 0.00 seconds.
Search: Posts Made By: ecox
Forum: Scripting 06-10-2019, 09:59 AM
Replies: 14
Views: 22,711
Posted By ecox
Hi jdev, Code...

Hi jdev,

Code (https://raw.githubusercontent.com/ecox3108/readandlog/master/randl.vbs)

I've included your tips, but unfortunately it gets stuck.
He is waiting for something again? On "^ c"?
...
Forum: Scripting 06-07-2019, 04:56 PM
Replies: 14
Views: 22,711
Posted By ecox
Hi jdev, EDIT: I still have a very big...

Hi jdev,

EDIT:
I still have a very big question.
If a device is not reachable after 3-4 seconds, how can I realize it, then he quits the connection attempt with "Ctrl + C" and continues with the...
Forum: Scripting 06-07-2019, 04:16 PM
Replies: 14
Views: 22,711
Posted By ecox
Exclamation Hi jdev, I'm sorry, but I need your help one...

Hi jdev,

I'm sorry, but I need your help one more time. I'm embarrassed.

:) :)
The "Set g_objNewTab = crt.GetScriptTab()" fix the problem..

but now i get a new error...I knew it -.-

So...
Forum: Scripting 06-07-2019, 01:28 AM
Replies: 14
Views: 22,711
Posted By ecox
Hi jdev, i replace the "$" with ">" (see...

Hi jdev,

i replace the "$" with ">" (see github for acutally code), login process works fine but same error i think...
acutally code:
https://github.com/ecox3108/readandlog/blob/master/randl.vbs...
Forum: Scripting 06-06-2019, 01:09 AM
Replies: 14
Views: 22,711
Posted By ecox
Hi jdev, I had to create the variable...

Hi jdev,

I had to create the variable "strPassword" in the function. Otherwise he always sent an empty password (g_strPassword?). Ok, now he can send the command and log in to the device. When I...
Forum: Scripting 06-05-2019, 11:44 AM
Replies: 14
Views: 22,711
Posted By ecox
Hi jdev, thanks in advance for ur help...

Hi jdev,

thanks in advance for ur help :)...and sorry for my english ^^

I found the function. This is with "connectInTab" probably not quite what I need, right.

I am stuck because I do not...
Forum: Scripting 06-05-2019, 12:08 AM
Replies: 14
Views: 22,711
Posted By ecox
Hey ho

Morning Jdev,

So my plan is:
-I am already connected to a Jumpserver
-From this Jumpserver, should happen to the following:

all in only one session

ssh -l admin 1.1.1.1
*automatic login
Forum: Scripting 06-04-2019, 02:03 AM
Replies: 14
Views: 22,711
Posted By ecox
Question Questions regarding "Read Data From Separate Hosts/Commands"

Hi folks,

as mentioned in the subject, I have a question about this script "Example: Read Data From Separate Hosts/Commands File And Log To Individual Files"



I do not understand that, my...
Forum: Scripting 02-01-2019, 01:11 PM
Replies: 1
Views: 875
Posted By ecox
Question Excel FormatCondition Object in VBA

Hey folks,

Can someone tell me how to successfully program a FormatCondition object in VBA?

Every attempt has failed so far
...
Forum: Scripting 01-31-2019, 09:03 AM
Replies: 57
Views: 7,130
Posted By ecox
Talking It works!

Hey Eric,

Case 2
'crt.Dialog.MessageBox "Entered Case 2"

items = Split(strResult, vbCrLf, -1)

crt.Screen.Send chr(3)
crt.Screen.WaitForString "#"
ws.Cells(row, 1).Value =...
Forum: Scripting 01-30-2019, 03:35 PM
Replies: 57
Views: 7,130
Posted By ecox
Hey Eric, i made videos. Please click on the...

Hey Eric,

i made videos. Please click on the links "Video"

regards
ecox
Forum: Scripting 01-30-2019, 03:22 PM
Replies: 57
Views: 7,130
Posted By ecox
Hi Eric, ..... What I do not understand...

Hi Eric,

.....

What I do not understand when he's in Case 2, why is there a mistake in Case 1?

regards
ecox
Forum: Scripting 01-30-2019, 02:21 PM
Replies: 57
Views: 7,130
Posted By ecox
Unhappy To despair

Hello Eric. Well, I'll try to explain it as accurately as possible. The command I set is an SNMP get command.

"snmpget-command 1 && snmpget-command && ......"
So if I have a device that can not...
Forum: Scripting 01-30-2019, 01:21 AM
Replies: 57
Views: 7,130
Posted By ecox
Hi Eric, if a device is not reachable, 6x...

Hi Eric,

if a device is not reachable, 6x timeout occurs. I do not want to wait that long. When the first timeout appears, this can be interrupted. Then continue with the next address. Until the...
Forum: Scripting 01-29-2019, 04:20 PM
Replies: 57
Views: 7,130
Posted By ecox
Hi Eric. Yes I ask 6 values from the devices....

Hi Eric. Yes I ask 6 values from the devices. There are two problems here. How do I leave the Select Case statement in Case 2?
And then jump again to the next IP to check this?
If in the Excel...
Forum: Scripting 01-29-2019, 02:13 PM
Replies: 57
Views: 7,130
Posted By ecox
Hi eric Code: ...

Hi eric

Code:
https://i.ibb.co/9h8bk1q/code2.png (https://ibb.co/JqBvwGz)
Issue:
https://i.ibb.co/gJBZPCf/fail2.png (https://imgbb.com/)


keep in mind :D Actually, the following should...
Forum: Scripting 01-29-2019, 01:13 PM
Replies: 57
Views: 7,130
Posted By ecox
Hi eric Unfortunately it does not work. He...

Hi eric

Unfortunately it does not work. He says that he is outside the index [0]? I have tried a lot but it does not work. Actually, the following should happen. If the first item is a "timeout"...
Forum: Scripting 01-29-2019, 01:38 AM
Replies: 57
Views: 7,130
Posted By ecox
Question Hi Eric, thanks for fast answer :) ...

Hi Eric,

thanks for fast answer :)

Current code

' Catch Timeout and write "not reachable in first cell of ip"
If items(3) = "Timeout: No Response from " & IP & "." Then
crt.Screen.Send...
Forum: Scripting 01-28-2019, 01:14 AM
Replies: 57
Views: 7,130
Posted By ecox
Hi Eric, it may happen that a device is not...

Hi Eric,

it may happen that a device is not accessible/reachable. How can I realize that if the first item (the first answer) contains a "timeout", which is then immediately jumped to the next IP...
Forum: Scripting 01-24-2019, 04:59 PM
Replies: 57
Views: 7,130
Posted By ecox
What a miracle! :) It works. Thank you. I hope...

What a miracle! :) It works. Thank you. I hope one or the other help our discussion here. :)

Here is the final script. Of course without error-handling and so on. Quick and dirty.


Sub Main()...
Forum: Scripting 01-24-2019, 02:43 PM
Replies: 57
Views: 7,130
Posted By ecox
hi eric, Ok thanks. Then all I can do is try...

hi eric,

Ok thanks. Then all I can do is try and error.
I tried to implement your last tips in the script, but to no success. I do not quite understand what changes I have to perform now.


#...
Forum: Scripting 01-24-2019, 01:07 PM
Replies: 57
Views: 7,130
Posted By ecox
Hi eric, can you please show me that by an...

Hi eric,

can you please show me that by an example in my code? That would be great. Unfortunately, my English is not so good that I always understand what exactly you mean.

regards
ecox
Forum: Scripting 01-24-2019, 12:33 PM
Replies: 57
Views: 7,130
Posted By ecox
Hey eric, how can fix the problem? have you...

Hey eric,

how can fix the problem? have you any ideas?

greets
Forum: Scripting 01-24-2019, 11:48 AM
Replies: 57
Views: 7,130
Posted By ecox
Hi Eric, i looked at it. I tried to...

Hi Eric,

i looked at it. I tried to implement it in my script.


Sub Main

crt.screen.synchronous = true

' Erstelle Excel-Workbook
Forum: Scripting 01-24-2019, 09:29 AM
Replies: 57
Views: 7,130
Posted By ecox
Hi Eric, thanks for the further tips. I...

Hi Eric,
thanks for the further tips.

I looked at "ExcelSpreadsheets-ReadingAndWriting.vbs"
I'm confused again!

I would put an Excel file under "MyDocuments" with the name...
Showing results 1 to 25 of 38

 
Forum Jump

All times are GMT -6. The time now is 07:09 AM.