![]() |
|
|
|
#1
|
|||
|
|||
|
Automate Print File Name
Secure CRT version 6.1.0.....
I use the command:- crt.screen.print which when run during a script will open the file saveas dialogue box....is it possible to automatically provide the file name so i am not prompted? something like:- crt.screen.print ("c:\test.tif") would be great but does not work! any help most appreciated. Dalien51 |
|
#2
|
||||
|
||||
|
Hello Dalien51,
It sounds like SecureCRT is trying to print to a file and you're being prompted in a "Print to File" window for the Output File Name, but you would prefer that the Output File Name entry box be filled with a name that you can set. Is this correct? The filename you list in your example is test.tif, and .tif suggests an image file. I'd like to make sure we understand your overall goal. Would you prefer to print to a printer rather a file? Can you tell us a little about your overall goal and what you're wanting to do? |
|
#3
|
|||
|
|||
|
Automate Print File Name
Yes I want to send the output to a print file.
I have a script which will loop through hundreds of addresses so want to automate the file naming. Dalien51 |
|
#4
|
||||
|
||||
|
Thanks for confirming. SecureCRT does not currently provide a mechanism for specifying the filename. However, I've added a feature request entry to our database so that this can be considered for implementation in a future release. If we add the ability to specify a filename we'll post a follow up message to this forum thread. If you'd also like e-mail notification, please let us know and refer to forum thread 5441.
|
|
#5
|
||||
|
||||
|
Quote:
Dalien51, What type of information are you trying to "print"? The results of a command? The contents of the SecureCRT screen? I'm wondering if what you're trying to do can be done without even using printing, and instead, just simply capturing the results of a specific command to a file (the name of which you can programmatically set from within a SecureCRT script). For example, does this information in the SecureCRT Scripting Manual (Chapters 4 and 7 in particular) help provide you with some ideas as to how you might be able to accomplish your goal of saving data from a remote machine to a file from within a SecureCRT script? --Jake |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|