Certainly. See this sample macro for details, but essentially, you need to set the path of a selected file to a variable, then use that variable in the read/write/search-and-replace action you want to use.
1 Like