Upload multiple Files
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2018
12:11 PM
09-20-2018
12:11 PM
Upload multiple Files
I am testing a web application where it opens a file selector to choose files that are uploaded. I was able to use 'OpenFile' to upload a single file but I need to be able to select and upload more than one files at a time. How could I achieve this? Optionally if I can drag and drop multiple files using windows explorer that would would be helpful.
Solved! Go to Solution.
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2018
01:48 PM
09-20-2018
01:48 PM
I think you can open multiple files by using spaces in the first parameter of OpenFile. It at least works for Notepa++
function test() { let window = NameMapping.Sys.Process("notepad++").Window("#32770", "Open", 1); window.OpenFile('"C:\\New Text Document (2).txt" "C:\\New Text Document.txt"'); }
I would not reccomend dragging and dropping multiple files, that would likely prove to be very unreliable.
Thanks,
Carson
Click the Accept as Solution button if my answer has helped
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2018
01:18 PM
09-25-2018
01:18 PM
It worked. Thank you Carson.
