NotePad File Spy

Sita

New Member
Hi,
I am able to launch and write to Notepad using BluePrism. I am able to spy the main notepad.
After write i would like to save the notepad.For that am not able to spy the File ,Edit etc. anything like that ?
Can anyone help me what should i do to spy the file ?
Thanks in advance.
 

VJR

Well-Known Member
Hi Sita,

You can make use of the 'Utility - File Management' VBO to work with Notepad files.
But if you still want to spy Notepad then you will need to use SendKeys to perform the desired action.
For eg; Ctrl S for opening the SaveAs dialog box to save the file.
 

Sita

New Member
Hi VJ,
I tried with Global Send keys . I am able to create and able to save. Thanks for your quick response.
I am totally unaware how can we use 'Utitlity-File Management ' to get and save the NotePad.
Can you guide me through to get that ?
Thanks in advance.
 

VJR

Well-Known Member
Hi Sita,

The 'Utility - File Management' VBO can be used to read, write, access the .txt file without having to spy the Notepad application (unless you need to really spy it for some other reason).

This VBO has several actions as below which you can make use of-
-Write Text File
-Read All Text from File
-Read Lines From File
-Delete File
-Append to Text File

Simply use an Action stage -> select Utitlity-File Management from object -> select any of the above Actions and give the Input and Output parameters it takes.
 
Top