I have 2 files (Name_1,Name_2) in a folder. I want to scrpae data from the files. So, the first stepis to open these PDF files. Ihave got the for loop working but I am not able to open these files. Please let me know how toopen files in UiPath
- First Try:
Open Application activity
- If 1 doesn’t work , try
StartProcess activity and then AttachWindow
StartProcess Works !!
Probably Open Application contains the name of the file in the selector. If you wildcard that name with * or other suitable selector it will work.
You may also iterate between the files that has been founded in the folder like the example below:
So, for each file founded you can do whatever you want with that.
Hi Could you expand on this a little please. I’m stuck and would appreciate it very much.
I’m trying to open all pdf’s in a folder with ABBYY. So I assign RelFiles = directory.GetFiles(“Path”, “*.Pdf”)
Then I use a For each block (changing the type argument to string), Foreach item in RelFiles-
The use either open application or start process into attach window.
I’m not clear on what to put into the input tab in the properties pane for open app or start process. and the activities guides haven’t helped either. at the moment they wont even open ABBYY
Anyone Plz help,
Pass forEach item.
Cheers, Got it going now, thanks!
If a folder Contain .doc,.docx,.jpeg,.png,.jpg,and .pdf file and we need to open only .pdf file then what should we do ?
Use this to get only pdf file paths
Then follow this ,Open PDF files in folder
But The Folder Contain 3 .pdf File and we want to open all 3 pdf file then ?