ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to set dynamic download location?

  • 3 ردود
  • 1 has this problem
  • 20 views
  • آخر ردّ كتبه the-edmeister

more options

I need to set default download location as x:\downloads\2012_07 if the current month is July, and x:\downloads\2012_08 if the current month is Aug but not manually ,it should be Automatically, Hence what can I do with prefs.js (i.e) user_pref("browser.download.dir",?) Your help will be highly appreciated.

I need to set default download location as x:\downloads\2012_07 if the current month is July, and x:\downloads\2012_08 if the current month is Aug but not manually ,it should be Automatically, Hence what can I do with prefs.js (i.e) user_pref("browser.download.dir",?) Your help will be highly appreciated.

الحل المُختار

prefs.js alone can't do what you want. You would need an addon that had those "date" features to actively change that pref based upon the Windows calendar. Give this addon a try and see how it works for you - don't use it myself.

https://addons.mozilla.org/en-US/firefox/addon/automatic-save-folder/

Read this answer in context 👍 1

All Replies (3)

more options

الحل المُختار

prefs.js alone can't do what you want. You would need an addon that had those "date" features to actively change that pref based upon the Windows calendar. Give this addon a try and see how it works for you - don't use it myself.

https://addons.mozilla.org/en-US/firefox/addon/automatic-save-folder/

more options

thank you. the add-on suggested by you solve my problem. again I am thanking you heartily.

more options

You're welcome!