Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Search Forums

Showing results 1 to 14 of 14
Search took 0.00 seconds.
Search: Posts Made By: Neisany
Forum: Scripting 01-23-2020, 10:41 PM
Replies: 3
Views: 699
Posted By Neisany
Sorry I forgot to ask my questions I need...

Sorry I forgot to ask my questions

I need assistance in step 3. I cant seem to pick a row and a column. I know this should be a simple task but I cant seem to make it work.

essential I need...
Forum: Scripting 01-23-2020, 03:37 AM
Replies: 3
Views: 699
Posted By Neisany
cells from csv

Main goal:
1. open CSV file <- success
2. read column 1 and 2 and place them in a prompt <-success but may not be right
3. prompt value is then used to go to the correct row and then get column 3...
Forum: Scripting 01-17-2020, 02:57 AM
Replies: 1
Views: 679
Posted By Neisany
call script.py

is there any esay way to call a python script into the script thats running

file 1
main.py

# $language = "python"
# $interface = "1.0"

crt.Screen.Synchronous = True
Forum: Scripting 11-29-2019, 08:16 PM
Replies: 10
Views: 5,250
Posted By Neisany
thanks Bagagon! I now see the CR and LF ...

thanks Bagagon!

I now see the CR and LF
example 1

[ok][2019-11-30 03:07:12][CR][CR]
FADV-ATLANTA-PRI-cli> show coredump| nomore[CR][CR]
total 0[CR][CR]
[ok][2019-11-30 03:07:12][CR][CR]...
Forum: Scripting 11-27-2019, 08:27 PM
Replies: 10
Views: 5,250
Posted By Neisany
here is my version Version 8.3.4 (x64 build...

here is my version
Version 8.3.4 (x64 build 1699) - Official Release - July 12, 2018

not sure on how to turn on hidden characters.
Forum: Scripting 11-27-2019, 04:04 AM
Replies: 10
Views: 5,250
Posted By Neisany
any update

is there any update to fixing this issue?
data=""
varCommands=[
"show system details | nomore",
"show system status| nomore | tab",
"show system package-info| nomore",""]
...
Forum: Scripting 05-21-2019, 04:12 AM
Replies: 3
Views: 1,454
Posted By Neisany
Okay the error in my way was not using the try...

Okay the error in my way was not using the try command before the with statement thanks
Forum: Scripting 05-21-2019, 02:46 AM
Replies: 3
Views: 1,454
Posted By Neisany
Error except syntax error

the file that it is trying to call does not exist.
I am looking to catch the IO error if it is present and then create the file.

def main():
with...
Forum: Scripting 05-16-2019, 01:59 AM
Replies: 4
Views: 2,391
Posted By Neisany
Awesome thank you so much here is the code...

Awesome thank you so much

here is the code as it sits now that works:
def main():
crt.Screen.Synchronous = True
crt.Screen.Send('ssh user@host -p 22' + '\r')...
Forum: Scripting 05-15-2019, 04:01 AM
Replies: 4
Views: 2,391
Posted By Neisany
Thank you for your suggestion. It never makes...

Thank you for your suggestion.
It never makes it to the if statement.
Here is where it fails:
nIndex == crt.Screen.WaitForStrings("password:", ">")

Error: an integer is required.
Forum: Scripting 05-14-2019, 01:09 AM
Replies: 4
Views: 2,391
Posted By Neisany
Python waitforstrings multiple solutions

I am looking for a python solution to wait for multiple options and pick the option that it displays.

for instance, I want to send a password and wait for either success [>] or fail [password:].
...
Forum: Scripting 03-02-2019, 09:05 PM
Replies: 4
Views: 2,568
Posted By Neisany
Thanks

Thanks for all of your help it will work for now.
Forum: Scripting 02-25-2019, 03:02 PM
Replies: 4
Views: 2,568
Posted By Neisany
Thank you

Could you please assist with the expression? That would be a good start Thank you for all of your help in advanced
Forum: Scripting 02-24-2019, 09:35 PM
Replies: 4
Views: 2,568
Posted By Neisany
keyword hightlight half words

Hi all, the output that I get for time and date on my alarms are:
2019-02-23T22:30:58-0

What I would like to do is have the keyword highlight:
22:30:58

or
T22:30:58

Any help would be...
Showing results 1 to 14 of 14

 
Forum Jump

All times are GMT -6. The time now is 12:28 AM.