Feb-27-2019, 03:25 PM
(This post was last modified: Feb-27-2019, 03:25 PM by loganpmgoa.)
I need to make a python script where it'll select the next file in a currently open directory that it hasnt already selected. it needs to work with the upload window in chrome browser (the same window that opens when u press a "browse for file to upload" button on any generic website).
here are extra details:
windows 7
When it selects a file, i need to output the file name & path to a log-type csv file, where all previously selected files are collected.
When it runs the script the next time, it should then select the next file in the currently opened directory that it hasnt previously written in the log file.
The script does not need to open or upload the file, it only needs to select it.
I have searched and searched for a way to do this, and the only results are "how to list files in a directory" and similar things. could anybody help out? I'm open to other suggestions besides a csv file, i just need the script to be able to remember whats already been selected. I'm a beginner to python scripting but i have true coders helping me out, i just need ideas/help that they will be able to understand.
also posted this question here, but no replies yet:
https://stackoverflow.com/questions/5489...n-selected
here are extra details:
windows 7
When it selects a file, i need to output the file name & path to a log-type csv file, where all previously selected files are collected.
When it runs the script the next time, it should then select the next file in the currently opened directory that it hasnt previously written in the log file.
The script does not need to open or upload the file, it only needs to select it.
I have searched and searched for a way to do this, and the only results are "how to list files in a directory" and similar things. could anybody help out? I'm open to other suggestions besides a csv file, i just need the script to be able to remember whats already been selected. I'm a beginner to python scripting but i have true coders helping me out, i just need ideas/help that they will be able to understand.
also posted this question here, but no replies yet:
https://stackoverflow.com/questions/5489...n-selected