Utility - Environment (start process = notepad)

Automatedwyt

New Member
Hi, id like to know if it is possible to get the data in data item and then paste it in Notepad using UTILITY - ENVIRONMENT = START PROCESS.


can i use the ARGUMENTS function here to paste the data in data item?
 

VJR

Well-Known Member
Hi Automatedwyt,

The notepad.exe does not have any switches that act as parameters to be written to the file.

Using 'Start Process' you will be able to run notepad. You will also be able to write the data item to the Clipboard (because you mentioned Paste) so that later you can retrieve from Clipboard in order to paste to Notepad. But the biggest challenge would be to write to the Notepad file from the Process because Sendkeys or Write stage is not available in the Process.

If you are using Object Studio, then you will be able to spy the notepad text area and using SendKeys (not much reliable) or Write stage (reliable) you would be able to write the data item to the notepad file.

Another (most reliable) option would be to use the 'Write Text File' action of the 'Utility - File Management' VBO.
 

Automatedwyt

New Member
Hi Automatedwyt,

The notepad.exe does not have any switches that act as parameters to be written to the file.

Using 'Start Process' you will be able to run notepad. You will also be able to write the data item to the Clipboard (because you mentioned Paste) so that later you can retrieve from Clipboard in order to paste to Notepad. But the biggest challenge would be to write to the Notepad file from the Process because Sendkeys or Write stage is not available in the Process.

If you are using Object Studio, then you will be able to spy the notepad text area and using SendKeys (not much reliable) or Write stage (reliable) you would be able to write the data item to the notepad file.

Another (most reliable) option would be to use the 'Write Text File' action of the 'Utility - File Management' VBO.

okay thanks
 
Top