added code to get the file path of currently selected file in win explorer. Seems very hacky tho and has the limitation of not working when ie is opened.