Hello,
I would like to know how to get a navigator’s download folder path using Applescript.
Thank you
Hello,
I would like to know how to get a navigator’s download folder path using Applescript.
Thank you
After some more research, I think the path is written in the preferences file of the browser.
As an example, the .plist of Firefox shows this :
0:HomeDirectoryPath_(AppleNavServices:ChooseFolder:0:Position_AppleRecentFoldersHo0_&file://localhost/Users/personal/Pictures/ª_file://~/Pictures/
How can I extract “&file://localhost/Users/personal/Pictures/” (put this sentence in a variable) from this .plist using AppleScript ?
Thank you.