Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Search Forums

Showing results 1 to 25 of 51
Search took 0.00 seconds.
Search: Posts Made By: BjoernH
Forum: Scripting 04-15-2021, 10:46 AM
Replies: 1
Views: 248
Posted By BjoernH
Keep getting syntax error message from new MENUITEM

Good day.

I'm baffled as to why I keep getting a syntax error from this menu item I added to the menu file.

MENUITEM "&Show IPv4 addresses (all VMs)" , "SEND" , "for i in {5,6} {8..9}; do echo...
Forum: Scripting 03-09-2021, 01:56 PM
Replies: 2
Views: 366
Posted By BjoernH
Need help using 'read -s' to prompt for password from menuitem

Good day.

I'm trying to write a menuitem which will prompt the user for a password before ssh to a server.

Here's what I tried but it won't pause to prompt for the password input:

POPUPMENU...
Forum: General 02-04-2021, 07:30 AM
Replies: 7
Views: 742
Posted By BjoernH
Hi jjh Thank you for your reply, I think...

Hi jjh


Thank you for your reply, I think my manager will be convinced to continue supporting SCRT.


Regards,
Bjoern
Forum: General 02-02-2021, 01:47 PM
Replies: 7
Views: 742
Posted By BjoernH
Hi Brenda. My manager has been asking me...

Hi Brenda.


My manager has been asking me what advantage SCRT has over putty and I've mentioned a quite a few.
Would you have a comparison chart comparing the features and advantages of...
Forum: General 02-01-2021, 08:40 AM
Replies: 7
Views: 742
Posted By BjoernH
Hello Brenda. I applied the full path in...

Hello Brenda.

I applied the full path in lieu of %APPDATA% and removed the "\n" as you directed. It works now.

Thank you,

Bjoern
Forum: General 01-29-2021, 01:08 PM
Replies: 7
Views: 742
Posted By BjoernH
Launch a script from from the menu bar

Good day.

Is it possible to launch a script from the SecureCRT menu bar?

POPUPMENU "&ConfD CLI"
MENUITEM "&Get logs", "RUN", "%APPDATA%\VanDyke\custom_config\scripts\MyAwesomeLogScript.vbs\n"...
Forum: General 09-30-2020, 07:57 AM
Replies: 7
Views: 793
Posted By BjoernH
Thank you Cameron. I would really favor "B)...

Thank you Cameron.

I would really favor "B) Export your configuration (Tools > Export Settings...) to an .XML file", however, I do not see that option under Tools or anywhere else. The only...
Forum: General 09-29-2020, 02:00 PM
Replies: 7
Views: 793
Posted By BjoernH
No, my configuration folder is user-specific. ...

No, my configuration folder is user-specific.

Bjoern
Forum: General 09-29-2020, 08:10 AM
Replies: 7
Views: 793
Posted By BjoernH
Hi Cameron. In reply to your questions: ...

Hi Cameron.

In reply to your questions:

. Windows Server 2008 R2 Enterprise
. SecureCRT Version 8.3.2 (x64 build 1584)
. This has been occurring on one button randomly for a few months now,...
Forum: General 09-28-2020, 12:23 PM
Replies: 7
Views: 793
Posted By BjoernH
Label of button keeps changing

Good day.

The labels of 3 of my buttons keep changing. The labels are then replaced by cutting the last 23 characters from the send string and those 23 characters then become the label.

Has...
Forum: Scripting 09-24-2019, 02:20 PM
Replies: 1
Views: 1,332
Posted By BjoernH
How would I send multiple spacebar strokes when doing a 'more' pipe?

Good day.

How would one send multiple spacebar strokes until the end of the file is reached from a 'more <file>' command. Please note, there is no option to cat the entire file, the only way is...
Forum: Scripting 03-06-2019, 08:16 PM
Replies: 3
Views: 2,282
Posted By BjoernH
Hi Eric. Please find attached the script and...

Hi Eric.

Please find attached the script and log as requested.



Regards,
Bjoern
Forum: Scripting 03-06-2019, 03:38 PM
Replies: 3
Views: 2,282
Posted By BjoernH
Need help with Case/Do/Loop (again)

Good day.

I always seem to run into the same problem but every time it seems to be different.

My script is supposed to loop through an array of IP addresses, check for the existence of a file...
Forum: Scripting 03-01-2019, 10:09 AM
Replies: 7
Views: 2,580
Posted By BjoernH
When I said "seems to respond correctly" I meant...

When I said "seems to respond correctly" I meant that when IP 192.168.210.9 returned "No route to host", did did what I expected, select the next IP from the array, which is 192.168.210.20, and ssh...
Forum: Scripting 03-01-2019, 09:10 AM
Replies: 7
Views: 2,580
Posted By BjoernH
I thought that Case 3 was doing what it should,...

I thought that Case 3 was doing what it should, ignore the unreachable IP 192.168.210.9 and then ssh to the next IP 192.168.210.20.

Regards,
Bjoern
Forum: Scripting 03-01-2019, 09:05 AM
Replies: 7
Views: 2,580
Posted By BjoernH
Thanks for your replay Brenda. I have the...

Thanks for your replay Brenda.

I have the script and log file ready, where shall I send them?

Regards,
Bjoern
Forum: Scripting 03-01-2019, 07:40 AM
Replies: 7
Views: 2,580
Posted By BjoernH
Need advice in handling "No route to host" response using Case - Loop method

Good day.

I need some help in getting around the "No route to host" event in my Case-Loop section.

My script loops through an array op IP addresses, issues a command string (systemctl). The...
Forum: Scripting 02-12-2019, 08:51 AM
Replies: 3
Views: 2,434
Posted By BjoernH
I made some changes but it's still skipping...

I made some changes but it's still skipping ahead.

'Declare - nova stop or start
Dim doWhat
doWhat = crt.Dialog.Prompt("Enter 'stop' or 'start' :")
If doWhat = "" Then Exit Sub
MsgBox...
Forum: Scripting 02-07-2019, 10:44 AM
Replies: 3
Views: 2,434
Posted By BjoernH
VBScript does not wait for prompt and ends prematurely

Good day.

I wrote a script that's supposed to start different types of servers with a 3 minute pause between two different server types. The script, however, does not wait for the '$' prompt (line...
Forum: Scripting 01-31-2019, 07:30 AM
Replies: 11
Views: 3,603
Posted By BjoernH
Hi Eric, sorry for the delayed reply, I didn't...

Hi Eric, sorry for the delayed reply, I didn't have access to the lab due to upgrades.

I have been able to make it work using this:

'ssh to VMs
For Each strHosts In Eval(vHost)
If...
Forum: Scripting 01-24-2019, 10:48 AM
Replies: 11
Views: 3,603
Posted By BjoernH
Thanks Eric, I'll try that. In the meantime I was...

Thanks Eric, I'll try that. In the meantime I was messing with this, but it barfed.

'ssh to VMs
For Each strHosts In Eval(vHost)
If strHosts = "" Then Exit For

If doWhat = "start" Then...
Forum: Scripting 01-24-2019, 10:03 AM
Replies: 11
Views: 3,603
Posted By BjoernH
I have rearranged the hosts as they should be....

I have rearranged the hosts as they should be. The pauses are required in the start RTP arrays only, not for status or stop:

Stand-alone:
Dim arrStartStandalone(49)
arrStartStandalone(0) =...
Forum: Scripting 01-24-2019, 09:13 AM
Replies: 11
Views: 3,603
Posted By BjoernH
When starting RTP on the servers, I need a 5...

When starting RTP on the servers, I need a 5 minute pause between certain types of servers. So for instance, after starting RTP on the first three servers .141, .142, 143, I need a pause so that they...
Forum: Scripting 01-24-2019, 08:58 AM
Replies: 11
Views: 3,603
Posted By BjoernH
Thanks Eric! Working like a charm. One more...

Thanks Eric! Working like a charm.

One more question, how would you insert a pause (sleep) between two vHosts in each array, eg:

Dim arrStartStandalone(49)
arrStartStandalone(0) =...
Forum: Scripting 01-23-2019, 02:51 PM
Replies: 11
Views: 3,603
Posted By BjoernH
Getting VBScript runtime error: Object not a collection

Good day.

My vbscript is supposed to log into a number of Linux servers based the type of command(3) and type(2) of remote host. The problem comes in when the script has to choose a vHost array...
Showing results 1 to 25 of 51

 
Forum Jump

All times are GMT -6. The time now is 04:32 PM.