#1
|
|||
|
|||
![]()
can i copy text value from crt to word file by scripting? thanks
|
#2
|
|||
|
|||
Hi tuanvu0695,
What version of SecureCRT are you using? On what platform? I assume Windows if by "word file", you mean Microsoft Word, but I want to verify that. ![]() What are you trying to accomplish (broader picture)?
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
#3
|
|||
|
|||
hi bgagnon,
im using securecrt 7.1.1, i could be able to get some text from screen, i just wonder if there is a way to open a MS word file and paste to it, its even better if i can keep that word file open and just copy output there, thanks regard, tuan vu |
#4
|
||||
|
||||
Quote:
If you can give a detailed description of what you're trying to do, including how you do it manually right now (without a script), we'll have a better understanding and be able to provide you with more information, if possible. --Jake
__________________
Jake Devenport VanDyke Software Technical Support YouTube Channel: https://www.youtube.com/vandykesoftware Email: support@vandyke.com Web: https://www.vandyke.com/support |
#5
|
|||
|
|||
Hi,
You can put whatever you want in to a word file via a script; you just need to call the correct VB word commands to manipulate it. I do exactly the same with excel by grabbing a copy of the configs and putting it in to excel, one column per router. some example Excel-based commands to get you going in the right direction: Set objExcel = CreateObject("Excel.Application") objExcel.Workbooks.Add objExcel.ActiveSheet.Cells.Font.Size = 10 objExcel.ActiveSheet.Cells.Font.Name = "Calibri" objExcel.Cells(3, 1).Value = "<" & yourVariable & ">" It's then just a matter of looking up the correct code for word. This is a good start: https://msdn.microsoft.com/en-us/lib...ffice.14).aspx |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | Rate This Thread |
|
|