Looping through a folder & passing filename as a variable
Posted: 17 Sep 2021, 11:46
I'm here to ask for suggestion, right now I've written a script to:
1. open an application,
2. import a file & do some manipulation on that file.
And I've a folder containing alot of files, I want to iterate through this folder and pickup 1 file at a time & send this file name to the above mentioned ahk script.
Approach 1: Write a python script looping through the folder & passing filename as a variable to that script.
Approach 2: Writing another ahk script looping through the folder & passing filename as a variable to that script.
Approach 3: Editing the present ahk script to add a loop at the top & then putting all the commands within the scope of that loop.
FYI, I'm a python developer trying my hands on ahk for the first time, please suggest something!
1. open an application,
2. import a file & do some manipulation on that file.
And I've a folder containing alot of files, I want to iterate through this folder and pickup 1 file at a time & send this file name to the above mentioned ahk script.
Approach 1: Write a python script looping through the folder & passing filename as a variable to that script.
Approach 2: Writing another ahk script looping through the folder & passing filename as a variable to that script.
Approach 3: Editing the present ahk script to add a loop at the top & then putting all the commands within the scope of that loop.
FYI, I'm a python developer trying my hands on ahk for the first time, please suggest something!